Re: pg_restore recognizing $-quotes

Поиск
Список
Период
Сортировка
От Philip Warner
Тема Re: pg_restore recognizing $-quotes
Дата
Msg-id 6.1.1.1.0.20040819081726.0562c5c0@203.8.195.10
обсуждение исходный текст
Ответ на Re: pg_restore recognizing $-quotes  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
At 01:22 AM 19/08/2004, Tom Lane wrote:
>Philip Warner <pjw@rhyme.com.au> writes:
> > If the patch is not kosher, then I'd vote for adding a "do not parse" flag
> > on the TOC entries when dumping them. Or a statement count.
>
>Unless you plan to abandon compatibility with existing dump files,
>this doesn't seem like much of a solution

Not really; pg_restore is able to read all old formats; in the case of old
dump files it would behave as though statement count > 1. In the case of
new dump files, it would use the statement count. It's only new dump files
that exhibit the problem, so this will work.





----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 03 5330 3172          |                 ___________ |
Http://www.rhyme.com.au          |                /           \|
                                  |    --________--
PGP key available upon request,  |  /
and from pgp.mit.edu:11371       |/


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

Предыдущее
От: Philip Warner
Дата:
Сообщение: Re: pg_restore recognizing $-quotes
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] 8.0 libpq: missing get_home_path()