Re: pg_dump file question

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: pg_dump file question
Дата
Msg-id 878z18q3jt.fsf@mailbox.samurai.com
обсуждение исходный текст
Ответ на pg_dump file question  (Robert Partyka <bobson@ares.fils.us.edu.pl>)
Список pgsql-hackers
Robert Partyka <bobson@ares.fils.us.edu.pl> writes:
> \connect template1
> .....
> CREATE USER "foo" WITH SYSID 32 PASSWORD 'bar' NOCREATEDB NOCREATEUSER;
> .....
> \connect template1 "foo"
> CREATE DATABASE "foodb" WITH TEMPLATE = template0 ENCODING = 'LATIN2';
> \connect "foodb" "foo"
> 
> I think evryone see why it dont work.

Yes -- it's a known problem with 7.2 that pg_dump can create
self-inconsistent dumps. In 7.3, this specific case has been fixed:
databases are now created using CREATE DATABASE ... WITH
OWNER. However, I'm not sure if there are other, similar problems that
haven't been fixed yet.

Cheers,

Neil

-- 
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC



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

Предыдущее
От: Hans-Jürgen Schönig
Дата:
Сообщение: Re: Table spaces again [was Re: Threaded Sorting]
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Where to call SetQuerySnapshot