Re: ALTER EXTENSION UPGRADE, v3
От | Dimitri Fontaine |
---|---|
Тема | Re: ALTER EXTENSION UPGRADE, v3 |
Дата | |
Msg-id | m239o6b8k6.fsf@2ndQuadrant.fr обсуждение исходный текст |
Ответ на | Re: ALTER EXTENSION UPGRADE, v3 ("David E. Wheeler" <david@kineticode.com>) |
Ответы |
Re: ALTER EXTENSION UPGRADE, v3
Re: ALTER EXTENSION UPGRADE, v3 |
Список | pgsql-hackers |
"David E. Wheeler" <david@kineticode.com> writes: >> upgrade.null-v15.sql: upgrade.v14.sql upgrade.v15.sql >> cat upgrade.v14.sql upgrade.v15.sql > $@ > > Sure, if you know Make really well. But then I need to add a line to > the Makefile for every bloody upgrade script. Gross. Either one line in the Makefile or a new file with the \i equivalent lines, that would maybe look like: SELECT pg_execute_sql_file('upgrade.v14.sql'); SELECT pg_execute_sql_file('upgrade.v15.sql'); So well… I don't see how you've made it less gross here. -- Dimitri Fontaine http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support
В списке pgsql-hackers по дате отправления: