Tom Lane <t...@sss.pgh.pa.us> writes: > I see no advantage of this over a script per version combination, so > long as you allow scripts to \include each other.
I guess the following should do: SELECT pg_execute_sql_file('upgrade-1.sql'); But I rather prefer the 2-liner control file, myself: upgrade-1.* = 'upgrade-1.sql' upgrade-2.* = 'upgrade-2.sql' Regards, -- Dimitri Fontaine http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers