From: | Unprivileged user <nobody> |
---|---|
To: | pgsql-ports(at)postgresql(dot)org |
Subject: | Port Bug Report: 'today'::datetime <> datetime('today'::date) |
Date: | 1999-01-07 06:13:22 |
Message-ID: | 199901070613.BAA01412@hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-ports |
============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================
Your name : Anto Prijosoesilo
Your email address : antop(at)netscape(dot)net
Category : runtime: back-end: SQL
Severity : serious
Summary: 'today'::datetime <> datetime('today'::date)
System Configuration
--------------------
Operating System : FreeBSD 2.2.8-RELEASE
PostgreSQL version : 6.4
Compiler used : gcc 2.7.2.1
Hardware:
---------
FreeBSD test.inet.co.th 2.2.8-RELEASE FreeBSD 2.2.8-RELEASE #0: Wed Dec 9 12:25:50 ICT 1998 root(at)test(dot)inet(dot)co(dot)th:/usr/src/sys/compile/TEST i386
Versions of other tools:
------------------------
gmake 3.77
--------------------------------------------------------------------------
Problem Description:
--------------------
The output of select 'today'::datetime does not match
the output of datetime('today'::date) except when
the backend is run with TZ=GMT
--------------------------------------------------------------------------
Test Case:
----------
Start postmaster with TZ != GMT
psql -c "select 'today'::datetime,datetime('today'::date)" template1
--------------------------------------------------------------------------
Solution:
---------
--------------------------------------------------------------------------
From | Date | Subject | |
---|---|---|---|
Next Message | Unprivileged user | 1999-01-07 12:14:14 | Port Bug Report: in esqlc 'fetch cursor' isn't accepted |
Previous Message | The Hermit Hacker | 1999-01-07 04:38:18 | Re: [HACKERS] Re: [PORTS] vacuum takes too long |