1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Assorted fixups for "unpackaged" conversion scripts.

From first pass of testing.  Notably, there seems to be no need for
adminpack--unpackaged--1.0.sql because none of the objects that the
old module creates would ever be dumped by pg_dump anyway (they are
all in pg_catalog).
This commit is contained in:
Tom Lane
2011-02-13 22:53:00 -05:00
parent 029fac2264
commit 3b61e57f3c
5 changed files with 28 additions and 16 deletions

View File

@ -5,7 +5,7 @@ OBJS = adminpack.o
PG_CPPFLAGS = -I$(libpq_srcdir)
EXTENSION = adminpack
DATA = adminpack--1.0.sql adminpack--unpackaged--1.0.sql
DATA = adminpack--1.0.sql
ifdef USE_PGXS
PG_CONFIG = pg_config

View File

@ -1,10 +0,0 @@
/* contrib/adminpack/adminpack--unpackaged--1.0.sql */
ALTER EXTENSION adminpack ADD function pg_catalog.pg_file_write(text,text,boolean);
ALTER EXTENSION adminpack ADD function pg_catalog.pg_file_rename(text,text,text);
ALTER EXTENSION adminpack ADD function pg_catalog.pg_file_rename(text,text);
ALTER EXTENSION adminpack ADD function pg_catalog.pg_file_unlink(text);
ALTER EXTENSION adminpack ADD function pg_catalog.pg_logdir_ls();
ALTER EXTENSION adminpack ADD function pg_catalog.pg_file_read(text,bigint,bigint);
ALTER EXTENSION adminpack ADD function pg_catalog.pg_file_length(text);
ALTER EXTENSION adminpack ADD function pg_catalog.pg_logfile_rotate();