Re: [BUGS] Nasty tsvector can make dumps unrestorable

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [BUGS] Nasty tsvector can make dumps unrestorable
Дата
Msg-id 200711100355.lAA3tF416292@momjian.us
обсуждение исходный текст
Ответ на Re: [BUGS] Nasty tsvector can make dumps unrestorable  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan wrote:
> > While the COPY will load into the table, this doesn't:
> >
> >     test=> INSERT INTO Foo(bar) VALUES (E'''''x');
> >     ERROR:  syntax error in tsvector: "''x"
> >
> > I am confused.
> >
> >   
> 
> 
> These two are not equivalent. What happens if you try this?
> 
>    INSERT INTO Foo(bar) VALUES (E'''''''x''');
test=>    INSERT INTO Foo(bar) VALUES (E'''''''x''');INSERT 0 1test=> select * from foo;  bar------- '''x'(1 row)

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://postgres.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: [BUGS] Nasty tsvector can make dumps unrestorable
Следующее
От: "rcolmegna@tiscali.it"
Дата:
Сообщение: data access automatic filter