Re: merging 2 dumps
| От | Tom Lane |
|---|---|
| Тема | Re: merging 2 dumps |
| Дата | |
| Msg-id | 8103.1059750095@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | merging 2 dumps (Nabil Sayegh <postgresql@e-trolley.de>) |
| Ответы |
Re: merging 2 dumps
Re: merging 2 dumps |
| Список | pgsql-novice |
Nabil Sayegh <postgresql@e-trolley.de> writes:
> I need to merge 2 versions of a database manually via pg_dump.
> I'd like to diff them to see the changes.
> Unfortunately the data contain newlines.
> Is it possible to quote them, so that each row will be only 1 row in the
> dumps ?
> \n or something like that
What PG version are you using?? All recent releases *do* dump newline
as \n, for example
COPY fooey (f1) FROM stdin;
hi
hi\nthere
ho
\.
regards, tom lane
В списке pgsql-novice по дате отправления: