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

From: Abelard Hoffman <abelardhoffman(at)gmail(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: pg_dump does not include database-level user-defined GUC variables?
Date: 2014-09-16 08:43:26
Message-ID: CACEJHMjW1Zb_aO_3vUUpo=Hcwz1TxjQ0LRJkTbJgSEcPtakfqQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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?

Thanks.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pete Hollobon 2014-09-16 09:22:11 Re: Feature request: temporary schemas
Previous Message Pete Hollobon 2014-09-16 08:27:36 Re: Feature request: temporary schemas