<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="cs">
	<id>http://postgres.cz/index.php?action=history&amp;feed=atom&amp;title=Diskuse%3APostgreSQL_SQL_Tricks_IV</id>
	<title>Diskuse:PostgreSQL SQL Tricks IV - Historie editací</title>
	<link rel="self" type="application/atom+xml" href="http://postgres.cz/index.php?action=history&amp;feed=atom&amp;title=Diskuse%3APostgreSQL_SQL_Tricks_IV"/>
	<link rel="alternate" type="text/html" href="http://postgres.cz/index.php?title=Diskuse:PostgreSQL_SQL_Tricks_IV&amp;action=history"/>
	<updated>2026-05-13T22:00:25Z</updated>
	<subtitle>Historie editací této stránky</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>http://postgres.cz/index.php?title=Diskuse:PostgreSQL_SQL_Tricks_IV&amp;diff=409&amp;oldid=prev</id>
		<title>imported&gt;Pavel: Pavel přesunul stránku Diskuse:PostgreSQL SQL Tricks na Diskuse:PostgreSQL SQL Tricks IV</title>
		<link rel="alternate" type="text/html" href="http://postgres.cz/index.php?title=Diskuse:PostgreSQL_SQL_Tricks_IV&amp;diff=409&amp;oldid=prev"/>
		<updated>2013-09-15T05:38:49Z</updated>

		<summary type="html">&lt;p&gt;Pavel přesunul stránku &lt;a href=&quot;/wiki/Diskuse:PostgreSQL_SQL_Tricks&quot; class=&quot;mw-redirect&quot; title=&quot;Diskuse:PostgreSQL SQL Tricks&quot;&gt;Diskuse:PostgreSQL SQL Tricks&lt;/a&gt; na &lt;a href=&quot;/wiki/Diskuse:PostgreSQL_SQL_Tricks_IV&quot; title=&quot;Diskuse:PostgreSQL SQL Tricks IV&quot;&gt;Diskuse:PostgreSQL SQL Tricks IV&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nová stránka&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== moved from main page ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
select version(); -- &amp;quot;PostgreSQL 8.4.1 on x86_64-pc-linux-gnu, compiled by GCC gcc-4.3.real (Debian 4.3.4-2) 4.3.4, 64-bit&amp;quot;&lt;br /&gt;
&lt;br /&gt;
explain analyze SELECT EXTRACT(EPOCH FROM now())::integer  FROM generate_series(1, 10000000); -- &amp;quot;Total runtime: 9842.774 ms&amp;quot;&lt;br /&gt;
explain analyze SELECT now()::abstime::integer             FROM generate_series(1, 10000000); -- &amp;quot;Total runtime: 8025.998 ms&amp;quot; (! -18%)&lt;br /&gt;
&lt;br /&gt;
explain analyze SELECT to_timestamp(1260348132)::timestamp FROM generate_series(1, 10000000); -- &amp;quot;Total runtime: 8926.712 ms&amp;quot;&lt;br /&gt;
explain analyze SELECT 1260348132::abstime::timestamp      FROM generate_series(1, 10000000); -- &amp;quot;Total runtime: 8667.587 ms&amp;quot; (-3%)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Using a depracated feature is wrong in any case and it is a potential risk. What more both variants are very fast - the difference for ten milions calling is 2 seconds (for you). Really it isn&amp;#039;t reason for using a depracated feature.  If you want discus about this topic, please - mail me - pavel.stehule at gmail.com. I&amp;#039;ll move this discus to discus place tomorrow.&lt;/div&gt;</summary>
		<author><name>imported&gt;Pavel</name></author>
	</entry>
</feed>