Re: pg_dump and alter database - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: pg_dump and alter database
Date
Msg-id Pine.LNX.4.44.0308221922130.9019-100000@peter.localdomain
Whole thread Raw
In response to Re: pg_dump and alter database  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane writes:

> Also, a pg_dump script doesn't (and shouldn't, IMHO) assume it knows the
> name of the database it's being restored into.

That is pretty much it; pg_dump doesn't record any information about the
database, no matter whether that information happens to be represented in
the command CREATE DATABASE or ALTER DATABASE.  But if you use pg_dump -C,
then ALTER DATABASE ought to be dumped.

--
Peter Eisentraut   peter_e@gmx.net


pgsql-general by date:

Previous
From: "Johnson, Shaunn"
Date:
Subject: convert interval info into days
Next
From: Jan Wieck
Date:
Subject: Re: [HACKERS] Buglist