mirror of https://github.com/postgres/postgres
Some of the many error messages introduced inREL9_1_STABLE458857ccmissed 'FROM unpackaged'. Alsoe016b724and45ffeb7eforgot to quote extension version numbers. Backpatch to 9.1, just like458857ccwhich introduced the messages. Do so because the error messages thrown when the wrong command is copy & pasted aren't easy to understand.
parent
ba72fc0545
commit
0aa09c9cf3
@ -1,7 +1,7 @@ |
||||
/* contrib/pg_buffercache/pg_buffercache--unpackaged--1.0.sql */ |
||||
|
||||
-- complain if script is sourced in psql, rather than via CREATE EXTENSION |
||||
\echo Use "CREATE EXTENSION pg_buffercache" to load this file. \quit |
||||
\echo Use "CREATE EXTENSION pg_buffercache FROM unpackaged" to load this file. \quit |
||||
|
||||
ALTER EXTENSION pg_buffercache ADD function pg_buffercache_pages(); |
||||
ALTER EXTENSION pg_buffercache ADD view pg_buffercache; |
||||
|
||||
@ -1,7 +1,7 @@ |
||||
/* contrib/pg_freespacemap/pg_freespacemap--unpackaged--1.0.sql */ |
||||
|
||||
-- complain if script is sourced in psql, rather than via CREATE EXTENSION |
||||
\echo Use "CREATE EXTENSION pg_freespacemap" to load this file. \quit |
||||
\echo Use "CREATE EXTENSION pg_freespacemap FROM unpackaged" to load this file. \quit |
||||
|
||||
ALTER EXTENSION pg_freespacemap ADD function pg_freespace(regclass,bigint); |
||||
ALTER EXTENSION pg_freespacemap ADD function pg_freespace(regclass); |
||||
|
||||
@ -1,6 +1,6 @@ |
||||
/* contrib/pgrowlocks/pgrowlocks--unpackaged--1.0.sql */ |
||||
|
||||
-- complain if script is sourced in psql, rather than via CREATE EXTENSION |
||||
\echo Use "CREATE EXTENSION pgrowlocks" to load this file. \quit |
||||
\echo Use "CREATE EXTENSION pgrowlocks FROM unpackaged" to load this file. \quit |
||||
|
||||
ALTER EXTENSION pgrowlocks ADD function pgrowlocks(text); |
||||
|
||||
@ -1,6 +1,6 @@ |
||||
/* contrib/spi/autoinc--unpackaged--1.0.sql */ |
||||
|
||||
-- complain if script is sourced in psql, rather than via CREATE EXTENSION |
||||
\echo Use "CREATE EXTENSION autoinc" to load this file. \quit |
||||
\echo Use "CREATE EXTENSION autoinc FROM unpackaged" to load this file. \quit |
||||
|
||||
ALTER EXTENSION autoinc ADD function autoinc(); |
||||
|
||||
@ -1,6 +1,6 @@ |
||||
/* contrib/spi/insert_username--unpackaged--1.0.sql */ |
||||
|
||||
-- complain if script is sourced in psql, rather than via CREATE EXTENSION |
||||
\echo Use "CREATE EXTENSION insert_username" to load this file. \quit |
||||
\echo Use "CREATE EXTENSION insert_username FROM unpackaged" to load this file. \quit |
||||
|
||||
ALTER EXTENSION insert_username ADD function insert_username(); |
||||
|
||||
@ -1,6 +1,6 @@ |
||||
/* contrib/spi/moddatetime--unpackaged--1.0.sql */ |
||||
|
||||
-- complain if script is sourced in psql, rather than via CREATE EXTENSION |
||||
\echo Use "CREATE EXTENSION moddatetime" to load this file. \quit |
||||
\echo Use "CREATE EXTENSION moddatetime FROM unpackaged" to load this file. \quit |
||||
|
||||
ALTER EXTENSION moddatetime ADD function moddatetime(); |
||||
|
||||
@ -1,7 +1,7 @@ |
||||
/* contrib/spi/refint--unpackaged--1.0.sql */ |
||||
|
||||
-- complain if script is sourced in psql, rather than via CREATE EXTENSION |
||||
\echo Use "CREATE EXTENSION refint" to load this file. \quit |
||||
\echo Use "CREATE EXTENSION refint FROM unpackaged" to load this file. \quit |
||||
|
||||
ALTER EXTENSION refint ADD function check_primary_key(); |
||||
ALTER EXTENSION refint ADD function check_foreign_key(); |
||||
|
||||
Loading…
Reference in new issue