Re: BUG #14315: pg_dump --no-tablespaces doesn't do it's job when --create specified

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #14315: pg_dump --no-tablespaces doesn't do it's job when --create specified
Дата
Msg-id 17757.1473343528@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #14315: pg_dump --no-tablespaces doesn't do it's job when --create specified  (abcz2.uprola@gmail.com)
Список pgsql-bugs
abcz2.uprola@gmail.com writes:
> But I noticed that --no-tablespaces doesn't change --create option to not
> include tablespaces:

>  $ pg_dump -C --schema-only -U postgres -h test --no-tablespaces -d
> wp_analytics | grep "CREATE DATABASE"
> CREATE DATABASE wp_analytics WITH TEMPLATE = template0 ENCODING = 'UTF8'
> LC_COLLATE = 'en_US.UTF-8' LC_CTYPE = 'en_US.UTF-8' TABLESPACE =
> wp_tblspc;

> I think that it is a bug.

Yeah, I think you're right, especially since the corresponding code in
pg_dumpall does suppress the TABLESPACE clause with --no-tablespaces.

            regards, tom lane

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

Предыдущее
От: Vitaly Burovoy
Дата:
Сообщение: Re: BUG #14316: union all with order by "missing from-clause"
Следующее
От: lucian.ciufudean@gmail.com
Дата:
Сообщение: BUG #14317: psql \dt not working as expected