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

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Windows psql -f load of files with tabs changing to escape sequences
Дата
Msg-id 20071113190957.GE6945@svana.org
обсуждение исходный текст
Ответ на Windows psql -f load of files with tabs changing to escape sequences  (Doug Knight <dknight@wsi.com>)
Список 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 по дате отправления:

Предыдущее
От: Doug Knight
Дата:
Сообщение: Windows psql -f load of files with tabs changing to escape sequences
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: How to keep a table in memory?