Re: [HACKERS] Windows psql -f load of files with tabs changing to escape sequences

2007-11-13 Thread Martijn van Oosterhout
On Tue, Nov 13, 2007 at 01:59:15PM -0500, Doug Knight wrote: > All, > I am having a problem loading functions from a text file into postgres > on the Windows platform. If the source code stored in the file contains > tabs, they get changed to \x09, which causes problems when the function > is execu

[HACKERS] Windows psql -f load of files with tabs changing to escape sequences

2007-11-13 Thread Doug Knight
All, I am having a problem loading functions from a text file into postgres on the Windows platform. If the source code stored in the file contains tabs, they get changed to \x09, which causes problems when the function is executed. As an example see attached, which preserves the tabs in the origin