Program metadata version moved to 1.2dev0
This commit is contained in:
parent
41f3c5c0f3
commit
bd06ec0091
@ -2,7 +2,7 @@
|
|||||||
"name": "pg_reorg",
|
"name": "pg_reorg",
|
||||||
"abstract": "PostgreSQL module for data reorganization",
|
"abstract": "PostgreSQL module for data reorganization",
|
||||||
"description": "pg_reorg is a PostgreSQL module allowing to reorganize a table without any locks.",
|
"description": "pg_reorg is a PostgreSQL module allowing to reorganize a table without any locks.",
|
||||||
"version": "1.1.7",
|
"version": "1.2dev0",
|
||||||
"maintainer": "Takahiro Itagaki",
|
"maintainer": "Takahiro Itagaki",
|
||||||
"tags": [ "bloat", "maintenance", "vacuum", "cluster" ],
|
"tags": [ "bloat", "maintenance", "vacuum", "cluster" ],
|
||||||
"release_status": "stable",
|
"release_status": "stable",
|
||||||
@ -10,7 +10,7 @@
|
|||||||
"provides": {
|
"provides": {
|
||||||
"pg_reorg": {
|
"pg_reorg": {
|
||||||
"file": "lib/pg_reorg.sql",
|
"file": "lib/pg_reorg.sql",
|
||||||
"version": "1.1.7",
|
"version": "1.2dev0",
|
||||||
"abstract": "PostgreSQL module for data reorganization"
|
"abstract": "PostgreSQL module for data reorganization"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
3
lib/.gitignore
vendored
3
lib/.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
/.deps/
|
/.deps/
|
||||||
/pg_reorg.sql
|
/pg_reorg.sql
|
||||||
/pg_reorg--1.0.sql
|
/pg_reorg--[0-9.]*.sql
|
||||||
|
/pg_reorg--unpackaged--[0-9.]*.sql
|
||||||
|
13
lib/Makefile
13
lib/Makefile
@ -9,9 +9,16 @@ OBJS = reorg.o pgut/pgut-be.o pgut/pgut-spi.o
|
|||||||
|
|
||||||
EXTENSION = pg_reorg
|
EXTENSION = pg_reorg
|
||||||
|
|
||||||
|
# The version of the extension, read from the .control file.
|
||||||
|
# Note that it doesn't need to be the same of the library version: it should
|
||||||
|
# be increased only when the sql changes.
|
||||||
|
EXTVER = $(shell grep -e '^default_version' $(EXTENSION).control \
|
||||||
|
| sed -e "s/[^']*'\([^']*\)'.*/\1/")
|
||||||
|
|
||||||
#supports both EXTENSION (for >=9.1) and without_EXTENSION (for <PG 9.1)
|
#supports both EXTENSION (for >=9.1) and without_EXTENSION (for <PG 9.1)
|
||||||
DATA_built = pg_reorg.sql pg_reorg--1.0.sql
|
DATA_built = pg_reorg.sql pg_reorg--$(EXTVER).sql
|
||||||
DATA = pg_reorg--unpackaged--1.0.sql uninstall_pg_reorg.sql
|
DATA = pg_reorg--unpackaged--1.1.8.sql uninstall_pg_reorg.sql
|
||||||
|
|
||||||
ifndef USE_PGXS
|
ifndef USE_PGXS
|
||||||
top_builddir = ../../..
|
top_builddir = ../../..
|
||||||
makefile_global = $(top_builddir)/src/Makefile.global
|
makefile_global = $(top_builddir)/src/Makefile.global
|
||||||
@ -40,6 +47,6 @@ pg_reorg.sql: pg_reorg.sql.in
|
|||||||
sed 's,MODULE_PATHNAME,$$libdir/$(MODULE_big),g' $< >> $@; \
|
sed 's,MODULE_PATHNAME,$$libdir/$(MODULE_big),g' $< >> $@; \
|
||||||
echo "\nCOMMIT;" >> $@;
|
echo "\nCOMMIT;" >> $@;
|
||||||
|
|
||||||
pg_reorg--1.0.sql: pg_reorg.sql.in
|
pg_reorg--$(EXTVER).sql: pg_reorg.sql.in
|
||||||
echo '\echo Use "CREATE EXTENSION pg_reorg" to load this file. \quit' > $@; \
|
echo '\echo Use "CREATE EXTENSION pg_reorg" to load this file. \quit' > $@; \
|
||||||
cat $< >> $@;
|
cat $< >> $@;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* pg_reorg/pg_reorg--unpackaged--1.0.sql */
|
/* pg_reorg/pg_reorg--unpackaged--1.1.8.sql */
|
||||||
|
|
||||||
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
|
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
|
||||||
\echo Use "CREATE EXTENSION pg_reorg FROM unpackaged" to load this file. \quit
|
\echo Use "CREATE EXTENSION pg_reorg FROM unpackaged" to load this file. \quit
|
@ -1,6 +1,6 @@
|
|||||||
# pg_reorg extension
|
# pg_reorg extension
|
||||||
comment = 're-organizes a PostgreSQL database'
|
comment = 're-organizes a PostgreSQL database'
|
||||||
default_version = '1.0'
|
default_version = '1.2dev0'
|
||||||
module_pathname = '$libdir/pg_reorg'
|
module_pathname = '$libdir/pg_reorg'
|
||||||
relocatable = false
|
relocatable = false
|
||||||
schema = reorg
|
schema = reorg
|
||||||
|
Loading…
x
Reference in New Issue
Block a user