mirror of https://github.com/postgres/postgres
Some of the many error messages introduced inpull/14/head458857cc
missed 'FROM unpackaged'. Alsoe016b724
and45ffeb7e
forgot to quote extension version numbers. Backpatch to 9.1, just like458857cc
which introduced the messages. Do so because the error messages thrown when the wrong command is copy & pasted aren't easy to understand.
parent
3cd934f635
commit
d153b80161
@ -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