Ask a Question related to PostgreSQL / PGSQL, Design and Development.
-
Michael Fuhr #1
Re: Index scan vs. Seq scan on timestamps
On Tue, Dec 07, 2004 at 09:25:20AM +0100, Per Jensen wrote:
CURRENT_TIMESTAMP is fixed to the time of transaction start, not> Den Tue, Dec 07, 2004 at 03:13:04AM -0000 eller der omkring skrev Andrew - Supernews:>> > On 2004-12-07, Stephen Frost <sfrost@snowman.net> wrote:> >> > > Is there a way to say "just take the value of this function at the start
> > > of the transaction and then have it be constant" in a query?
> > Why not use CURRENT_TIMESTAMP, etc., which do exactly that?
> Because when using transactions, CURRENT_TIMESTAMP does not advance, but is fixed
> to time of session start
session start; this is documented and observable behavior. Can you
demonstrate otherwise? If so, on what version of PostgreSQL?
--
Michael Fuhr
[url]http://www.fuhr.org/~mfuhr/[/url]
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend
Michael Fuhr Guest
-
Acro Scan v. Photoshop Scan (CS3)
Peter, Acrobat is taking whatever is sent to it via the twain driver and wrapping the result in a pdf file. The twain driver could be sending a... -
Error Selecting Timestamps - String Index out of Range
We are running CFMX 6.1 on Linux Connecting to a PostgreSQL 7.X database cluster. When we try to perform a query that selects a timestamp from... -
Scan 4 at a time
I want to speed up my scanning process of my entire photo album. Doing the photos one by one, on a flatbed scanner, is deadly. Is there any way I can... -
scan my computer
i want to upgrade to xp but i'm not sure my computer. Can Microsoft scan my computer -
Index Partition Rebuild is using Full Table Scan
I am rebuilding multiple UNUSABLE index partitions on Oracle HP/UX ... Oracle8i Enterprise Edition Release 8.1.7.4.0 - 64bit Production With the...



Reply With Quote

