Search Postgresql Archives

Re: pg_dump does not include database-level user-defined GUC variables?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Abelard Hoffman <abelardhoffman@xxxxxxxxx> wrote:

> I have a user-defined GUC variable that was set at the db level. e.g.,
>
>   ALTER DATABASE mydb SET myapp.user_id TO '1'
>
> Works fine. When I do a pg_dump, however, that variable isn't included.
> Is that expected? It's not really an attribute of the database?

That sort of information *about the database* is stored at the 
cluster level, not in the database itself.  Take a look at 
pg_dumpall.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux