pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: Alan Gutierrez <ajglist@izzy.net>
Cc: pgsql-sql@postgresql.org, PostgreSQL-general <pgsql-general@postgresql.org>
Subject: Re: [SQL] is current_timestamp unique for a transaction?
Date: Sat, 15 Feb 2003 22:28:51 -0600
Message-ID: <20030216042851.GA2273@wolff.to> (raw)
In-Reply-To: <Pine.WNT.4.53.0302152148200.984@CX1198465-B>
References: <Pine.WNT.4.53.0302152148200.984@CX1198465-B>

On Sat, Feb 15, 2003 at 21:49:34 -0600,
  Alan Gutierrez <ajglist@izzy.net> wrote:
> 
> Is current_timestamp(6) garunteed to be unique for each transaction?

No.

If you want guarenteed uniqueness use a sequence.



view thread (4+ messages)  latest in thread

Message-ID: <20030216042851.GA2273@wolff.to>
Permalink:  ../20030216042851.GA2273@wolff.to/
Also on:    postgresql.org/message-id/20030216042851.GA2273@wolff.to

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: bruno@wolff.to, ajglist@izzy.net, pgsql-general@postgresql.org
  Subject: Re: [SQL] is current_timestamp unique for a transaction?
  In-Reply-To: <20030216042851.GA2273@wolff.to>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox