Trouble with COPY and NULL

Поиск
Список
Период
Сортировка
От Thomas T. Thai
Тема Trouble with COPY and NULL
Дата
Msg-id Pine.NEB.4.44.0303200145580.12905-100000@ns01.minnesota.com
обсуждение исходный текст
Ответы Re: Trouble with COPY and NULL  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
PostgreSQL 7.3.2

tsearch=# COPY articles
tsearch-# FROM stdin WITH DELIMITERS '|' NULL AS '\null'
tsearch-# 3|Has Null in txtidx|\null|Michelle Morgan|'morgan':2B
'michell':1B|This row has a NULL in the title_fts column so we can test
concatenation.|'a':4C 'in':6C 'so':11C 'we':12C 'can':13C 'fts':9C
'has':3C 'row':2C 'the':7C 'null':5C 'test':14C 'this':1C 'titl':8C
'column':10C 'concaten':15C
Invalid command \null|Michelle. Try \? for help.

--

It seems to think that \null in the data is a command because of the
backslash. Am I missign something?

--
Thomas T. Thai




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

Предыдущее
От: "Shridhar Daithankar"
Дата:
Сообщение: Re: Very stupid backup I made
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Trouble with COPY and NULL