Re: [GENERAL] Restore from dump file: parse error
От | darold |
---|---|
Тема | Re: [GENERAL] Restore from dump file: parse error |
Дата | |
Msg-id | 37368CBD.9871B199@neptune.fr обсуждение исходный текст |
Ответ на | Re: [GENERAL] Restore from dump file: parse error (S P Arif Sahari Wibowo <arifsaha-lists@parokinet.org>) |
Ответы |
Re: [GENERAL] Restore from dump file: parse error
|
Список | pgsql-general |
Hi, Well to quote that single quote, you have to quote that single quote :-) ex : s_field='suivre l'actualite' => s_field='suivre l''actualite' pg_dump -D mydatabase > recover.sql or other options will never solve this pg_dump feature. You can make a little program with perl to process your entire file by search single quote not after an = and not before a , and space and ) and (. Regards, Gilles Darold S P Arif Sahari Wibowo wrote: > On Fri, 7 May 1999, darold wrote: > > >To get the database creation you must use the -s option with pg_dump. > >(Dump out only the schema, no data) > > Well, I like to have both. > > >The parse error is probably due to a single quote somewhere in you text > >data... > > Well, you are correct! Is there anyway to quote that single quote? > > >I use : pg_dump -D mydatabase > recover.sql > > Should it solve the single quote problem? > > Thanks! > > Arif
В списке pgsql-general по дате отправления: