| From: | Manfred Koizar <mkoi-pg(at)aon(dot)at> |
|---|---|
| To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
| Cc: | Roland Roberts <roland(at)astrofoto(dot)org>, pgsql-sql(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: [SQL] CURRENT_TIMESTAMP |
| Date: | 2002-09-25 06:54:56 |
| Message-ID: | cum2puo8d0clhbc5mvs6ju22bai3h2tood@4ax.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-hackers pgsql-sql |
On Tue, 24 Sep 2002 17:56:51 -0400 (EDT), Bruce Momjian
<pgman(at)candle(dot)pha(dot)pa(dot)us> wrote:
>Can you run a test:
>
> BEGIN;
> SELECT CURRENT_TIMESTAMP;
> wait 5 seconds
> SELECT CURRENT_TIMESTAMP;
>
>Are the two times the same?
MS SQL 7:
begin transaction
insert into tst values (CURRENT_TIMESTAMP)
-- wait
insert into tst values (CURRENT_TIMESTAMP)
commit
select * from tst
t
---------------------------
2002-09-24 09:49:58.777
2002-09-24 09:50:14.100
Interbase 6:
SQL> select current_timestamp from rdb$database;
=========================
2002-09-24 22:30:13.0000
SQL> select current_timestamp from rdb$database;
=========================
2002-09-24 22:30:18.0000
SQL> commit;
Servus
Manfred
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Murali Mohan Kasetty | 2002-09-25 07:03:17 | Re: Administrator issue |
| Previous Message | Adrian von Bidder | 2002-09-25 06:48:13 | Re: OID order = INSERT order? |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Meskes | 2002-09-25 08:38:10 | Re: ECPG |
| Previous Message | Nigel J. Andrews | 2002-09-25 06:35:49 | Re: pltcl.so patch |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jeroen Olthof | 2002-09-25 07:17:02 | function return multiply rows |
| Previous Message | Kevin Houle | 2002-09-25 01:10:03 | Re: Dublicates pairs in a table. |