Re: Windows psql -f load of files with tabs changing to escape sequences - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: Windows psql -f load of files with tabs changing to escape sequences
Date
Msg-id 20071113190957.GE6945@svana.org
Whole thread Raw
In response to Windows psql -f load of files with tabs changing to escape sequences  (Doug Knight <dknight@wsi.com>)
List pgsql-hackers
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 executed.

What kind of problems? The encoding is done by psql, just before
display. They're not stored like that in the DB. Can you be more
specific as to the problems?

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Those who make peaceful revolution impossible will make violent revolution inevitable.
>  -- John F Kennedy

pgsql-hackers by date:

Previous
From: Doug Knight
Date:
Subject: Windows psql -f load of files with tabs changing to escape sequences
Next
From: Josh Berkus
Date:
Subject: Re: How to keep a table in memory?