copy from ... with delimiter '\n'

Поиск
Список
Период
Сортировка
От Larry Riedel
Тема copy from ... with delimiter '\n'
Дата
Msg-id 20021030024057.8166.qmail@home18.riedel.org
обсуждение исходный текст
Список pgsql-hackers
May I be allowed to use '\n' as a delimiter for "copy from"?

I was able to use it to "copy to" a file, and it worked as
expected, but when I tried to "copy from" the file, I got an
error because it treated the end of line as the end of the
tuple (which I recognize is documented behavior).  If the
copy command expected a 1:1 relationship between the fields
in the "copy from" file and the fields in the target table,
then it seemed to me it could read the file correctly?
I can see that it might be considered too dicey to allow.


Larry



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: 7.3b3 passes on MacOSX 10.2.1
Следующее
От: Peter Bierman
Дата:
Сообщение: Re: 7.3b3 passes on MacOSX 10.2.1