Supports CREATE EXTENSION.

I've changed lib/Makefile to support CREATE EXTENSION.
In order to work with previeous PostgreSQL version (i.e. < 9.1),
this implementation installs both pg_reorg--1.0.sql and pg_reorg.sql.

This patch lacks regression testcases for CREATE EXTENSION, which I will commit soon.
This commit is contained in:
Masahiko Sakamoto
2012-09-20 15:30:53 +00:00
committed by Daniele Varrazzo
parent d603c49b40
commit e9d4ef2557
4 changed files with 262 additions and 4 deletions

6
lib/pg_reorg.control Normal file
View File

@ -0,0 +1,6 @@
# pg_reorg extension
comment = 're-organizes a PostgreSQL database'
default_version = '1.0'
module_pathname = '$libdir/pg_reorg'
relocatable = false
schema = reorg