[BUGS] Windows command line utilities problems

2004-12-02 Thread Paul Buder
I am using postgresql 8.0 beta 4 on win2000. psql operates strangely within a cmd.exe window. It is somewhat like if you backgrounded the command in unix. with psql in interactive mode (no -f switch) whatever line you type is alternately processed by cmd.exe and psql. So you get the following (

[BUGS] copy works, \copy doesn't

2002-11-15 Thread Paul Buder
It seems the psql \copy command doesn't work properly when dealing with certain non-ascii characters (which ones I don't know). At any rate I took some binary data and escaped it like so with perl. $text=~s/\\//g; $text=~s/\n/\\\n/g; $text=~s/\t/\\\t/g; In other words I escaped escape chara

[BUGS] I was wrong about Re: copy works, \copy doesn't (fwd)

2002-11-09 Thread Paul Buder
I wrote: > It seems the psql \copy command doesn't work properly when dealing > with certain non-ascii characters (which ones I don't know). At any rate > I took some binary data and escaped it like so with perl. I was wrong. I wasn't escaping things properly; in particular, ascii 0 needed to be

[BUGS] copy works, \copy doesn't

2002-11-09 Thread Paul Buder
Sorry for the duplicate post. I forgot to mention this is with Postgresql 7.2.2. It seems the psql \copy command doesn't work properly when dealing with certain non-ascii characters (which ones I don't know). At any rate I took some binary data and escaped it like so with perl. $text=~s/\\/