Re: [HACKERS] (Mis?)Behavior of \copy with -f and \i

2004-01-04 Thread Mark Feit
Peter Eisentraut writes: [Patch to make psql's \copy read from the current input, not just the standard input or a file.] I'm not sure about the proposed syntax, but the feature sounds quite reasonable. I have a patch written for this that uses the - syntax: \copy junk

[HACKERS] (Mis?)Behavior of \copy with -f and \i

2003-12-24 Thread Mark Feit
Greetings... I've run into a problem with the way \copy behaves when psql is reading its input from a file using either the -f command line option or the \i command. (Not that it matters in this case, but this is PostgreSQL 7.4 on i686-pc-linux-gnu, compiled with gcc.) The following...

[HACKERS] (Mis?)Behavior of \copy with -f and \i

2003-12-23 Thread Mark Feit
Greetings... I've run into a problem with the way \copy behaves when psql is reading its input from a file using either the -f command line option or the \i command. (Not that it matters in this case, but this is PostgreSQL 7.4 on i686-pc-linux-gnu, compiled with gcc.) The following...