Re: [BUGS] Date 1973/06/03 Conversion Problem in 7.3.4 and 7.3.2.

2003-09-10 Thread Tom Lane
Jord Tanner <[EMAIL PROTECTED]> writes: > This is not a bug, but simply due to postgres date formatting. Yes, it's a bug, but it's specific to the Europe/Rome timezone setting. I've not yet had a chance to figure out the details. regards, tom lane

Re: [BUGS] Date 1973/06/03 Conversion Problem in 7.3.4 and 7.3.2.

2003-09-10 Thread Jord Tanner
This is not a bug, but simply due to postgres date formatting. Observe thus: gbi=# set datestyle to 'iso'; SET gbi=# select to_date('03/06/1973','dd/mm/'); to_date 1973-06-03 (1 row) gbi=# set datestyle to 'us'; SET gbi=# select to_date('03/06/1973','dd/mm/'); to_

[BUGS] the OS X december update saga....

2003-09-10 Thread Theodore Petrosky
If anyone is interested, the only solution I have found is not use it. I refer to the december 2002 update to OS X developers tools which includes the gcc 3.3 compiler. the solution if you have installed it is to set your mac back to 3.1. su gcc_select 3.1 su postgres ./configure (with what y

Re: [BUGS] Date 1973/06/03 Conversion Problem in 7.3.4 and 7.3.2.

2003-09-10 Thread Theodore Petrosky
I think this is what you wanted. select to_char('03/06/1973'::date,'dd/mm/'); you were casting the string to a date and returning a date. so it would return it in a format that your system is set to return. agencysacks=# select to_char('03/06/1973'::date,'dd/mm/'); to_char

Re: [BUGS] Foreign key constraint still active after table row removed

2003-09-10 Thread Tom Lane
"Christoph Jaeger" <[EMAIL PROTECTED]> writes: > PostgreSQL version (example: PostgreSQL-7.3.4): postgresql 7.1.3 7.1.3 is ancient history, and no it doesn't have defenses against you changing a column definition that a foreign key linkage refers to. I'd recommend updating to 7.3.4. > The tab

Re: [BUGS] help with mac osx 10.2.6

2003-09-10 Thread Theodore Petrosky
Tom, I got a reply back from someone on the apple developers list. > gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes ^^^ This is wrong. You need to use -no-cpp-precomp. It says this in the release notes for the December tools updater, as well as a number of other thin

Re: [BUGS] Date 1973/06/03 Conversion Problem in 7.3.4 and 7.3.2.

2003-09-10 Thread Tom Lane
Torello Querci <[EMAIL PROTECTED]> writes: > If I send this statement > select to_date('03/06/1973','dd/mm/'); > in the psql interface I obtain > to_date > > 1973-06-02 What timezone are you in? What do you get from select to_timestamp('03/06/1973','dd/mm/');

Re: [BUGS] Date 1973/06/03 Conversion Problem in 7.3.4 and 7.3.2.

2003-09-10 Thread Daniel Schreiber
Am Mittwoch, 10. September 2003 12:52 schrieb Torello Querci: > Hi to all, > > I have a problem storing 1973/06/03 date. > > If I send this statement > > select to_date('03/06/1973','dd/mm/'); > > in the psql interface I obtain > > to_date > > 1973-06-02 > > I test this state

[BUGS] Foreign key constraint still active after table row removed

2003-09-10 Thread Christoph Jaeger
POSTGRESQL BUG REPORT TEMPLATE Your name : Christoph Jäger Your email address : christoph.jaeger ( at ) dhl

Re: [BUGS] Date 1973/06/03 Conversion Problem in 7.3.4 and 7.3.2.

2003-09-10 Thread Karel Zak
On Wed, Sep 10, 2003 at 12:52:22PM +0200, Torello Querci wrote: > Hi to all, > > I have a problem storing 1973/06/03 date. > > If I send this statement > > select to_date('03/06/1973','dd/mm/'); > > in the psql interface I obtain > > to_date > > 1973-06-02 > > I test t

Re: [BUGS] Date 1973/06/03 Conversion Problem in 7.3.4 and 7.3.2.

2003-09-10 Thread Pavel Stehule
On my 7.4 this select works fine testdb011=> select to_date('03/06/1973','dd/mm/'); to_date 1973-06-03 Pavel On Wed, 10 Sep 2003, Torello Querci wrote: > Hi to all, > > I have a problem storing 1973/06/03 date. > > If I send this statement > > select to_date('03/06/

[BUGS] Date 1973/06/03 Conversion Problem in 7.3.4 and 7.3.2.

2003-09-10 Thread Torello Querci
Hi to all, I have a problem storing 1973/06/03 date. If I send this statement select to_date('03/06/1973','dd/mm/'); in the psql interface I obtain to_date 1973-06-02 I test this statement with Postgres 7.3.2 and 7.3.4 packaged withMandrake 9.1 and Mandrake 9.2RC1 and