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

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Doug Knight <dknight(at)wsi(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Windows psql -f load of files with tabs changing to escape sequences
Date: 2007-11-13 19:09:57
Message-ID: 20071113190957.GE6945@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)svana(dot)org> http://svana.org/kleptog/
> Those who make peaceful revolution impossible will make violent revolution inevitable.
> -- John F Kennedy

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2007-11-13 19:13:31 Re: How to keep a table in memory?
Previous Message Doug Knight 2007-11-13 18:59:15 Windows psql -f load of files with tabs changing to escape sequences