Re: Dumping an Extension's Script
Dimitri Fontaine <dimitri@2ndquadrant.fr>
From: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>, Andres Freund <andres@2ndquadrant.com>, Heikki Linnakangas <hlinnakangas@vmware.com>, Simon Riggs <simon@2ndquadrant.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2012-12-05T22:08:06Z
Lists: pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes: > Yeah, DROP will work. But what about ALTER .. UPDATE? What about it? > Well, there's certainly a point, because IIUC Dimitri's patch dumps > the file into the pg_dump output no matter whether the file originally > came from an SQL command or the filesystem. IMHO, anyone who thinks > that isn't going to break things rather badly isn't thinking hard > enough. Only if you ask for it using --extension-script. The default behaviour didn't change, whether you decide to install your extension from the file system or the PostgreSQL port. Regards, -- Dimitri Fontaine http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support