Skip site navigation (1) Skip section navigation (2)

Re: COPY when 'filename' is a directory

From: Brent Verner <brent(at)rcfile(dot)org>
To: Douglas Trainor <trainor(at)uic(dot)edu>
Cc: pgsql-bugs(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: Re: COPY when 'filename' is a directory
Date: 2002-01-17 12:28:45
Message-ID: 20020117072845.A39681@rcfile.org (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-patches
[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 some fuzz) to 7.1.x.
| 
| files:
|   src/backend/commands/copy.c
|   src/bin/psql/copy.c
| 
| note:
|   Add fstat / S_ISDIR checks to make sure we're not trying to use a directory
|   for COPY TO/FROM.

...too early in the AM.  The proper/complete patch is attached this
time.

  b

-- 
"Develop your talent, man, and leave the world something. Records are 
really gifts from people. To think that an artist would love you enough
to share his music with anyone is a beautiful thing."  -- Duane Allman

In response to

Responses

pgsql-bugs by date

Next:From: Tom LaneDate: 2002-01-17 14:41:21
Subject: Re: Postmaster crash
Previous:From: Brent VernerDate: 2002-01-17 12:08:10
Subject: Re: COPY when 'filename' is a directory

pgsql-patches by date

Next:From: Liam StewartDate: 2002-01-17 21:54:34
Subject: guc
Previous:From: Brent VernerDate: 2002-01-17 12:08:10
Subject: Re: COPY when 'filename' is a directory

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group