Re: \copy command: how to define a tab character as the delimiter

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: \copy command: how to define a tab character as the delimiter
Дата
Msg-id hn60j7$4cn$1@dough.gmane.org
обсуждение исходный текст
Ответ на Re: \copy command: how to define a tab character as the delimiter  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: \copy command: how to define a tab character as the delimiter  (Raymond O'Donnell <rod@iol.ie>)
Список pgsql-general
Tom Lane wrote on 09.03.2010 18:21:
> Thomas Kellerer<spam_eater@gmx.net>  writes:
>> \copy foo (foo, bar) from foobar.txt delimiter as '\t' csv header
>
>> So how can I specify a tab character if I also need to specify that my file has a header line?
>
> Type an actual tab.
>

Blush....

That easy?


Thanks
Thomas

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: DROP column: documentation unclear
Следующее
От: Tom Lane
Дата:
Сообщение: Re: question on 8.4.2 build postgres C functions