[BUGS] Re: [PATCHES] Error in the date field (with NULL value...).Thanks!

2001-03-29 Thread Thomas Lockhart
> How can I "binds" PostgreSQL to consider '' as null ? You can modify src/backend/utils/{datetime,date,timestamp}.c to accept an empty string as a null value. But imho it is better to fix this in your input file, perhaps using sed: sed "s/''/NULL/g" < informix.dump > pg.dump

[BUGS] Re: date_part bug

2001-03-29 Thread Thomas Lockhart
> I'm using postgres 7.0.2. When I use date_part('day', date) sometimes I > get wrong values. Ie: > and date_part('day', '1999-3-28')=27 > and date_part('day', '2000-3-26')=25 > Is it a bug? It is a problem evaluating day numbers around daylight savings time transitions. Fixed (I believe) in the

[BUGS] date_part bug

2001-03-29 Thread Salvador Mainé
Hello: I'm using postgres 7.0.2. When I use date_part('day', date) sometimes I get wrong values. Ie: and date_part('day', '1999-3-28')=27 and date_part('day', '2000-3-26')=25 Is it a bug? -- Salvador Mainé ---(end of broadcast)--- TIP 1: subsc

[BUGS] Problem with character results

2001-03-29 Thread Jim Ballard
I have a table with a char(20) column called 'name'.  This SELECT returns the proper records:   SELECT * FROM table WHERE name = 'John';   But this one does not return the same records:   SELECT * FROM table WHERE UPPER(name) = 'JOHN';   I believe this is contrary to the SQL standard, which (a

Re: [BUGS] Please, fix!!! The backend can crash on your system!

2001-03-29 Thread Bruce Momjian
In the current sources, I see: for (lineoff = FirstOffsetNumber; lineoff <= max; lineoff++) so it looks like we have this fixed. You can check the 7.1RC1. > > If PostgreSQL failed to compile on your computer or you found a bug that > is likely to be specific to one platform then plea

[BUGS] Please, fix!!! The backend can crash on your system!

2001-03-29 Thread Alexis Wilke
If PostgreSQL failed to compile on your computer or you found a bug that is likely to be specific to one platform then please fill out this form and e-mail it to [EMAIL PROTECTED] To report any other bug, fill out the form below and e-mail it to [EMAIL PROTECTED] If you not only found the probl

Re: [BUGS] INSERT/SELECT with ORDER BY

2001-03-29 Thread Dirk Lutzebaeck
Stephan Szabo writes: > > Unless I'm horribly misreading the spec, this is correct. > ORDER BY is used in reference to cursor definitions and > direct select statements, but is not part of query expressions > which is what the INSERT INTO references. > > ::= > I