]> granicus.if.org Git - postgresql/commit
Convert contrib modules to use the extension facility.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 14 Feb 2011 01:06:41 +0000 (20:06 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 14 Feb 2011 03:54:49 +0000 (22:54 -0500)
commit629b3af27d5c2bc9d6e16b22b943ad651d4ecb56
treeeae9ef9a69ae6ad7aacb2428e3cf15ec77873ac5
parente693e97d754ed6812ea115170afeae4bf8797d3f
Convert contrib modules to use the extension facility.

This isn't fully tested as yet, in particular I'm not sure that the
"foo--unpackaged--1.0.sql" scripts are OK.  But it's time to get some
buildfarm cycles on it.

sepgsql is not converted to an extension, mainly because it seems to
require a very nonstandard installation process.

Dimitri Fontaine and Tom Lane
264 files changed:
contrib/adminpack/.gitignore [deleted file]
contrib/adminpack/Makefile
contrib/adminpack/adminpack--1.0.sql [moved from contrib/adminpack/adminpack.sql.in with 97% similarity]
contrib/adminpack/adminpack--unpackaged--1.0.sql [new file with mode: 0644]
contrib/adminpack/adminpack.control [new file with mode: 0644]
contrib/adminpack/uninstall_adminpack.sql [deleted file]
contrib/btree_gin/.gitignore
contrib/btree_gin/Makefile
contrib/btree_gin/btree_gin--1.0.sql [moved from contrib/btree_gin/btree_gin.sql.in with 99% similarity]
contrib/btree_gin/btree_gin--unpackaged--1.0.sql [new file with mode: 0644]
contrib/btree_gin/btree_gin.control [new file with mode: 0644]
contrib/btree_gin/expected/install_btree_gin.out
contrib/btree_gin/sql/install_btree_gin.sql
contrib/btree_gin/uninstall_btree_gin.sql [deleted file]
contrib/btree_gist/.gitignore
contrib/btree_gist/Makefile
contrib/btree_gist/btree_gist--1.0.sql [moved from contrib/btree_gist/btree_gist.sql.in with 99% similarity]
contrib/btree_gist/btree_gist--unpackaged--1.0.sql [new file with mode: 0644]
contrib/btree_gist/btree_gist.control [new file with mode: 0644]
contrib/btree_gist/expected/init.out
contrib/btree_gist/sql/init.sql
contrib/btree_gist/uninstall_btree_gist.sql [deleted file]
contrib/chkpass/.gitignore [deleted file]
contrib/chkpass/Makefile
contrib/chkpass/chkpass--1.0.sql [moved from contrib/chkpass/chkpass.sql.in with 88% similarity]
contrib/chkpass/chkpass--unpackaged--1.0.sql [new file with mode: 0644]
contrib/chkpass/chkpass.control [new file with mode: 0644]
contrib/chkpass/uninstall_chkpass.sql [deleted file]
contrib/citext/.gitignore
contrib/citext/Makefile
contrib/citext/citext--1.0.sql [moved from contrib/citext/citext.sql.in with 99% similarity]
contrib/citext/citext--unpackaged--1.0.sql [new file with mode: 0644]
contrib/citext/citext.control [new file with mode: 0644]
contrib/citext/expected/citext.out
contrib/citext/expected/citext_1.out
contrib/citext/sql/citext.sql
contrib/citext/uninstall_citext.sql [deleted file]
contrib/cube/.gitignore
contrib/cube/Makefile
contrib/cube/cube--1.0.sql [moved from contrib/cube/cube.sql.in with 98% similarity]
contrib/cube/cube--unpackaged--1.0.sql [new file with mode: 0644]
contrib/cube/cube.control [new file with mode: 0644]
contrib/cube/expected/cube.out
contrib/cube/expected/cube_1.out
contrib/cube/expected/cube_2.out
contrib/cube/sql/cube.sql
contrib/cube/uninstall_cube.sql [deleted file]
contrib/dblink/.gitignore
contrib/dblink/Makefile
contrib/dblink/dblink--1.0.sql [moved from contrib/dblink/dblink.sql.in with 97% similarity]
contrib/dblink/dblink--unpackaged--1.0.sql [new file with mode: 0644]
contrib/dblink/dblink.control [new file with mode: 0644]
contrib/dblink/expected/dblink.out
contrib/dblink/sql/dblink.sql
contrib/dblink/uninstall_dblink.sql [deleted file]
contrib/dict_int/.gitignore
contrib/dict_int/Makefile
contrib/dict_int/dict_int--1.0.sql [moved from contrib/dict_int/dict_int.sql.in with 80% similarity]
contrib/dict_int/dict_int--unpackaged--1.0.sql [new file with mode: 0644]
contrib/dict_int/dict_int.control [new file with mode: 0644]
contrib/dict_int/expected/dict_int.out
contrib/dict_int/sql/dict_int.sql
contrib/dict_int/uninstall_dict_int.sql [deleted file]
contrib/dict_xsyn/.gitignore
contrib/dict_xsyn/Makefile
contrib/dict_xsyn/dict_xsyn--1.0.sql [moved from contrib/dict_xsyn/dict_xsyn.sql.in with 80% similarity]
contrib/dict_xsyn/dict_xsyn--unpackaged--1.0.sql [new file with mode: 0644]
contrib/dict_xsyn/dict_xsyn.control [new file with mode: 0644]
contrib/dict_xsyn/expected/dict_xsyn.out
contrib/dict_xsyn/sql/dict_xsyn.sql
contrib/dict_xsyn/uninstall_dict_xsyn.sql [deleted file]
contrib/earthdistance/.gitignore
contrib/earthdistance/Makefile
contrib/earthdistance/earthdistance--1.0.sql [moved from contrib/earthdistance/earthdistance.sql.in with 93% similarity]
contrib/earthdistance/earthdistance--unpackaged--1.0.sql [new file with mode: 0644]
contrib/earthdistance/earthdistance.control [new file with mode: 0644]
contrib/earthdistance/expected/earthdistance.out
contrib/earthdistance/sql/earthdistance.sql
contrib/earthdistance/uninstall_earthdistance.sql [deleted file]
contrib/fuzzystrmatch/.gitignore [deleted file]
contrib/fuzzystrmatch/Makefile
contrib/fuzzystrmatch/fuzzystrmatch--1.0.sql [moved from contrib/fuzzystrmatch/fuzzystrmatch.sql.in with 90% similarity]
contrib/fuzzystrmatch/fuzzystrmatch--unpackaged--1.0.sql [new file with mode: 0644]
contrib/fuzzystrmatch/fuzzystrmatch.control [new file with mode: 0644]
contrib/fuzzystrmatch/uninstall_fuzzystrmatch.sql [deleted file]
contrib/hstore/.gitignore
contrib/hstore/Makefile
contrib/hstore/expected/hstore.out
contrib/hstore/hstore--1.0.sql [moved from contrib/hstore/hstore.sql.in with 99% similarity]
contrib/hstore/hstore--unpackaged--1.0.sql [new file with mode: 0644]
contrib/hstore/hstore.control [new file with mode: 0644]
contrib/hstore/sql/hstore.sql
contrib/hstore/uninstall_hstore.sql [deleted file]
contrib/intagg/Makefile
contrib/intagg/int_aggregate--1.0.sql [moved from contrib/intagg/int_aggregate.sql with 87% similarity]
contrib/intagg/int_aggregate--unpackaged--1.0.sql [new file with mode: 0644]
contrib/intagg/int_aggregate.control [new file with mode: 0644]
contrib/intagg/uninstall_int_aggregate.sql [deleted file]
contrib/intarray/.gitignore
contrib/intarray/Makefile
contrib/intarray/expected/_int.out
contrib/intarray/intarray--1.0.sql [moved from contrib/intarray/_int.sql.in with 98% similarity]
contrib/intarray/intarray--unpackaged--1.0.sql [new file with mode: 0644]
contrib/intarray/intarray.control [new file with mode: 0644]
contrib/intarray/sql/_int.sql
contrib/intarray/uninstall__int.sql [deleted file]
contrib/isn/.gitignore [deleted file]
contrib/isn/Makefile
contrib/isn/isn--1.0.sql [moved from contrib/isn/isn.sql.in with 99% similarity]
contrib/isn/isn--unpackaged--1.0.sql [new file with mode: 0644]
contrib/isn/isn.control [new file with mode: 0644]
contrib/isn/uninstall_isn.sql [deleted file]
contrib/lo/.gitignore [deleted file]
contrib/lo/Makefile
contrib/lo/lo--1.0.sql [moved from contrib/lo/lo.sql.in with 82% similarity]
contrib/lo/lo--unpackaged--1.0.sql [new file with mode: 0644]
contrib/lo/lo.control [new file with mode: 0644]
contrib/lo/uninstall_lo.sql [deleted file]
contrib/ltree/.gitignore
contrib/ltree/Makefile
contrib/ltree/expected/ltree.out
contrib/ltree/ltree--1.0.sql [moved from contrib/ltree/ltree.sql.in with 99% similarity]
contrib/ltree/ltree--unpackaged--1.0.sql [new file with mode: 0644]
contrib/ltree/ltree.control [new file with mode: 0644]
contrib/ltree/sql/ltree.sql
contrib/ltree/uninstall_ltree.sql [deleted file]
contrib/pageinspect/.gitignore [deleted file]
contrib/pageinspect/Makefile
contrib/pageinspect/pageinspect--1.0.sql [moved from contrib/pageinspect/pageinspect.sql.in with 94% similarity]
contrib/pageinspect/pageinspect--unpackaged--1.0.sql [new file with mode: 0644]
contrib/pageinspect/pageinspect.control [new file with mode: 0644]
contrib/pageinspect/uninstall_pageinspect.sql [deleted file]
contrib/pg_buffercache/.gitignore [deleted file]
contrib/pg_buffercache/Makefile
contrib/pg_buffercache/pg_buffercache--1.0.sql [moved from contrib/pg_buffercache/pg_buffercache.sql.in with 73% similarity]
contrib/pg_buffercache/pg_buffercache--unpackaged--1.0.sql [new file with mode: 0644]
contrib/pg_buffercache/pg_buffercache.control [new file with mode: 0644]
contrib/pg_buffercache/uninstall_pg_buffercache.sql [deleted file]
contrib/pg_freespacemap/.gitignore [deleted file]
contrib/pg_freespacemap/Makefile
contrib/pg_freespacemap/pg_freespacemap--1.0.sql [moved from contrib/pg_freespacemap/pg_freespacemap.sql.in with 82% similarity]
contrib/pg_freespacemap/pg_freespacemap--unpackaged--1.0.sql [new file with mode: 0644]
contrib/pg_freespacemap/pg_freespacemap.control [new file with mode: 0644]
contrib/pg_freespacemap/uninstall_pg_freespacemap.sql [deleted file]
contrib/pg_stat_statements/.gitignore [deleted file]
contrib/pg_stat_statements/Makefile
contrib/pg_stat_statements/pg_stat_statements--1.0.sql [moved from contrib/pg_stat_statements/pg_stat_statements.sql.in with 85% similarity]
contrib/pg_stat_statements/pg_stat_statements--unpackaged--1.0.sql [new file with mode: 0644]
contrib/pg_stat_statements/pg_stat_statements.control [new file with mode: 0644]
contrib/pg_stat_statements/uninstall_pg_stat_statements.sql [deleted file]
contrib/pg_test_fsync/Makefile
contrib/pg_trgm/.gitignore
contrib/pg_trgm/Makefile
contrib/pg_trgm/expected/pg_trgm.out
contrib/pg_trgm/pg_trgm--1.0.sql [moved from contrib/pg_trgm/pg_trgm.sql.in with 97% similarity]
contrib/pg_trgm/pg_trgm--unpackaged--1.0.sql [new file with mode: 0644]
contrib/pg_trgm/pg_trgm.control [new file with mode: 0644]
contrib/pg_trgm/sql/pg_trgm.sql
contrib/pg_trgm/uninstall_pg_trgm.sql [deleted file]
contrib/pg_upgrade/Makefile
contrib/pg_upgrade_support/Makefile
contrib/pgcrypto/.gitignore
contrib/pgcrypto/Makefile
contrib/pgcrypto/expected/init.out
contrib/pgcrypto/pgcrypto--1.0.sql [moved from contrib/pgcrypto/pgcrypto.sql.in with 97% similarity]
contrib/pgcrypto/pgcrypto--unpackaged--1.0.sql [new file with mode: 0644]
contrib/pgcrypto/pgcrypto.control [new file with mode: 0644]
contrib/pgcrypto/sql/init.sql
contrib/pgcrypto/uninstall_pgcrypto.sql [deleted file]
contrib/pgrowlocks/.gitignore [deleted file]
contrib/pgrowlocks/Makefile
contrib/pgrowlocks/pgrowlocks--1.0.sql [moved from contrib/pgrowlocks/pgrowlocks.sql.in with 72% similarity]
contrib/pgrowlocks/pgrowlocks--unpackaged--1.0.sql [new file with mode: 0644]
contrib/pgrowlocks/pgrowlocks.control [new file with mode: 0644]
contrib/pgrowlocks/uninstall_pgrowlocks.sql [deleted file]
contrib/pgstattuple/.gitignore [deleted file]
contrib/pgstattuple/Makefile
contrib/pgstattuple/pgstattuple--1.0.sql [moved from contrib/pgstattuple/pgstattuple.sql.in with 92% similarity]
contrib/pgstattuple/pgstattuple--unpackaged--1.0.sql [new file with mode: 0644]
contrib/pgstattuple/pgstattuple.control [new file with mode: 0644]
contrib/pgstattuple/uninstall_pgstattuple.sql [deleted file]
contrib/seg/.gitignore
contrib/seg/Makefile
contrib/seg/expected/seg.out
contrib/seg/expected/seg_1.out
contrib/seg/seg--1.0.sql [moved from contrib/seg/seg.sql.in with 98% similarity]
contrib/seg/seg--unpackaged--1.0.sql [new file with mode: 0644]
contrib/seg/seg.control [new file with mode: 0644]
contrib/seg/sql/seg.sql
contrib/seg/uninstall_seg.sql [deleted file]
contrib/spi/.gitignore [deleted file]
contrib/spi/Makefile
contrib/spi/autoinc--1.0.sql [new file with mode: 0644]
contrib/spi/autoinc--unpackaged--1.0.sql [new file with mode: 0644]
contrib/spi/autoinc.control [new file with mode: 0644]
contrib/spi/autoinc.sql.in [deleted file]
contrib/spi/insert_username--1.0.sql [new file with mode: 0644]
contrib/spi/insert_username--unpackaged--1.0.sql [new file with mode: 0644]
contrib/spi/insert_username.control [new file with mode: 0644]
contrib/spi/insert_username.sql.in [deleted file]
contrib/spi/moddatetime--1.0.sql [new file with mode: 0644]
contrib/spi/moddatetime--unpackaged--1.0.sql [new file with mode: 0644]
contrib/spi/moddatetime.control [new file with mode: 0644]
contrib/spi/moddatetime.sql.in [deleted file]
contrib/spi/refint--1.0.sql [moved from contrib/spi/refint.sql.in with 61% similarity]
contrib/spi/refint--unpackaged--1.0.sql [new file with mode: 0644]
contrib/spi/refint.control [new file with mode: 0644]
contrib/spi/timetravel--1.0.sql [moved from contrib/spi/timetravel.sql.in with 72% similarity]
contrib/spi/timetravel--unpackaged--1.0.sql [new file with mode: 0644]
contrib/spi/timetravel.control [new file with mode: 0644]
contrib/sslinfo/.gitignore [deleted file]
contrib/sslinfo/Makefile
contrib/sslinfo/sslinfo--1.0.sql [moved from contrib/sslinfo/sslinfo.sql.in with 89% similarity]
contrib/sslinfo/sslinfo--unpackaged--1.0.sql [new file with mode: 0644]
contrib/sslinfo/sslinfo.control [new file with mode: 0644]
contrib/sslinfo/uninstall_sslinfo.sql [deleted file]
contrib/tablefunc/.gitignore
contrib/tablefunc/Makefile
contrib/tablefunc/expected/tablefunc.out
contrib/tablefunc/sql/tablefunc.sql
contrib/tablefunc/tablefunc--1.0.sql [moved from contrib/tablefunc/tablefunc.sql.in with 94% similarity]
contrib/tablefunc/tablefunc--unpackaged--1.0.sql [new file with mode: 0644]
contrib/tablefunc/tablefunc.control [new file with mode: 0644]
contrib/tablefunc/uninstall_tablefunc.sql [deleted file]
contrib/test_parser/.gitignore
contrib/test_parser/Makefile
contrib/test_parser/expected/test_parser.out
contrib/test_parser/sql/test_parser.sql
contrib/test_parser/test_parser--1.0.sql [moved from contrib/test_parser/test_parser.sql.in with 83% similarity]
contrib/test_parser/test_parser--unpackaged--1.0.sql [new file with mode: 0644]
contrib/test_parser/test_parser.control [new file with mode: 0644]
contrib/test_parser/uninstall_test_parser.sql [deleted file]
contrib/tsearch2/.gitignore
contrib/tsearch2/Makefile
contrib/tsearch2/expected/tsearch2.out
contrib/tsearch2/expected/tsearch2_1.out
contrib/tsearch2/sql/tsearch2.sql
contrib/tsearch2/tsearch2--1.0.sql [moved from contrib/tsearch2/tsearch2.sql.in with 99% similarity]
contrib/tsearch2/tsearch2--unpackaged--1.0.sql [new file with mode: 0644]
contrib/tsearch2/tsearch2.control [new file with mode: 0644]
contrib/tsearch2/uninstall_tsearch2.sql [deleted file]
contrib/unaccent/.gitignore
contrib/unaccent/Makefile
contrib/unaccent/expected/unaccent.out
contrib/unaccent/sql/unaccent.sql
contrib/unaccent/unaccent--1.0.sql [moved from contrib/unaccent/unaccent.sql.in with 84% similarity]
contrib/unaccent/unaccent--unpackaged--1.0.sql [new file with mode: 0644]
contrib/unaccent/unaccent.control [new file with mode: 0644]
contrib/unaccent/uninstall_unaccent.sql [deleted file]
contrib/uuid-ossp/.gitignore [deleted file]
contrib/uuid-ossp/Makefile
contrib/uuid-ossp/uninstall_uuid-ossp.sql [deleted file]
contrib/uuid-ossp/uuid-ossp--1.0.sql [moved from contrib/uuid-ossp/uuid-ossp.sql.in with 90% similarity]
contrib/uuid-ossp/uuid-ossp--unpackaged--1.0.sql [new file with mode: 0644]
contrib/uuid-ossp/uuid-ossp.control [new file with mode: 0644]
contrib/xml2/.gitignore
contrib/xml2/Makefile
contrib/xml2/expected/xml2.out
contrib/xml2/expected/xml2_1.out
contrib/xml2/sql/xml2.sql
contrib/xml2/uninstall_pgxml.sql [deleted file]
contrib/xml2/xml2--1.0.sql [moved from contrib/xml2/pgxml.sql.in with 93% similarity]
contrib/xml2/xml2--unpackaged--1.0.sql [new file with mode: 0644]
contrib/xml2/xml2.control [new file with mode: 0644]