Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U5nl6-0007Th-V1 for pgsql-bugs@arkaria.postgresql.org; Thu, 14 Feb 2013 01:37:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U5nl6-0001M9-9E for pgsql-bugs@arkaria.postgresql.org; Thu, 14 Feb 2013 01:37:08 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U5nl5-0001L6-HR for pgsql-bugs@postgresql.org; Thu, 14 Feb 2013 01:37:07 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U5nl4-0000Ot-8l for pgsql-bugs@postgresql.org; Thu, 14 Feb 2013 01:37:06 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U5nl3-0002pV-8Q for pgsql-bugs@postgresql.org; Thu, 14 Feb 2013 01:37:05 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1U5nl2-0001mw-Fe for pgsql-bugs@postgresql.org; Thu, 14 Feb 2013 01:37:04 +0000 Date: Thu, 14 Feb 2013 01:37:04 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #7874: GUC's not in database dumps To: pgsql-bugs@postgresql.org From: joe@tanga.com X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 7874 Logged by: Joe Van Dyk Email address: joe@tanga.com PostgreSQL version: 9.2.1 Operating system: OSX, Linux Description:=20=20=20=20=20=20=20=20 If I run: alter database foo set my.name =3D 'joe'; that GUC isn't available inside backups of that database. It does show up when doing "pg_dumpall -s".=20 It does *not* show up when doing "pg_dumpall -g" $ createdb foo $ psql foo psql (9.2.1) foo=3D# alter database foo set my.name =3D 'joe'; ALTER DATABASE foo=3D# \q $ pg_dump foo > foo.sql $ cat foo.sql -- -- PostgreSQL database dump -- SET statement_timeout =3D 0; SET client_encoding =3D 'UTF8'; SET standard_conforming_strings =3D on; SET check_function_bodies =3D false; SET client_min_messages =3D warning; -- -- Name: plpgsql; Type: EXTENSION; Schema: -; Owner:=20 -- CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog; -- -- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner:=20 -- COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language'; -- -- Name: public; Type: ACL; Schema: -; Owner: joe -- REVOKE ALL ON SCHEMA public FROM PUBLIC; REVOKE ALL ON SCHEMA public FROM joe; GRANT ALL ON SCHEMA public TO joe; GRANT ALL ON SCHEMA public TO PUBLIC; -- -- PostgreSQL database dump complete -- --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs