Re: pg_dump incorrect output in plaintext mode

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pg_dump incorrect output in plaintext mode
Дата
Msg-id 1346166424-sup-6923@alvh.no-ip.org
обсуждение исходный текст
Ответ на pg_dump incorrect output in plaintext mode  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Excerpts from Magnus Hagander's message of mar ago 28 08:08:24 -0400 2012:

> In particular, the "restoring data" is obviously completely wrong. But
> AFAICT, the "creating table" and "setting owner" etc are also wrong...
>
> This is because pg_dump calls RestoreArchive(fout).
>
> Do we need to pass down a parameter all the way down the functions to
> tell them if they're restoring or not?

Hmm, but the info is already there, is it not?  Isn't AH->ropt->useDB
what you want?

As a translator, I'm not sure that I'm too happy with the idea of having
to translate double the number of strings in pg_dump ...

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: [v9.3] writable foreign tables
Следующее
От: Kohei KaiGai
Дата:
Сообщение: Re: [v9.3] writable foreign tables