Re: [BUGS] COPY when 'filename' is a directory

2002-02-23 Thread Brent Verner
[2002-02-23 20:27] Tom Lane said: | Bruce Momjian <[EMAIL PROTECTED]> writes: | > { | > + struct stat st; | > fp = AllocateFile(filename, PG_BINARY_R); | > + fclose(fp); | | This coding is WRONG. You do not use fclose() to release a file | opened wi

Re: [BUGS] COPY when 'filename' is a directory

2002-02-23 Thread Brent Verner
[2002-02-23 20:27] Tom Lane said: | Bruce Momjian <[EMAIL PROTECTED]> writes: | > { | > + struct stat st; | > fp = AllocateFile(filename, PG_BINARY_R); | > + fclose(fp); | | This coding is WRONG. You do not use fclose() to release a file | opened wi

Re: [BUGS] Bug #564: CREATE TABLE with long table name and long serial column name can cause conflicting sequence naming

2002-01-22 Thread Brent Verner
[2002-01-20 23:49] [EMAIL PROTECTED] said: | Jeff Synnestvedt ([EMAIL PROTECTED]) reports a bug with a severity of 3 | The lower the number the more severe it is. | | Short Description | CREATE TABLE with long table name and long serial column name can | cause conflicting sequence naming This i

Re: [BUGS] COPY when 'filename' is a directory

2002-01-17 Thread Brent Verner
[2002-01-17 07:08] Brent Verner said: | [2002-01-16 17:47] Douglas Trainor said: | | I'd like to report a bug in 7.1.3 psql (at least on a 64-bit Alpha Linux box). | | Maybe someone can confirm this or maybe it's fixed in 7.2 | | The attached patch is for 7.2, but might apply (with som

Re: [BUGS] COPY when 'filename' is a directory

2002-01-17 Thread Brent Verner
[2002-01-16 17:47] Douglas Trainor said: | I'd like to report a bug in 7.1.3 psql (at least on a 64-bit Alpha Linux box). | Maybe someone can confirm this or maybe it's fixed in 7.2 The attached patch is for 7.2, but might apply (with some fuzz) to 7.1.x. files: src/backend/commands/copy.c s

[BUGS] bug in pg_dump -- missing CREATE SEQUENCE statements

2001-12-10 Thread Brent Verner
Hey all, pg_dump fails to output necessary CREATE SEQUENCE statements unless the SERIAL column is named "id" when called with the '-t tablename' switch. When '-t' is not specified, the CREATE SEQUENCE statements do get output. wishing-I'd-noticed-this-Friday-nite-ly y'rs, brent Observerat