Skip to content

Commit

Permalink
Update ChangeLog and version to 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
darold committed Sep 22, 2021
1 parent 66d47df commit 69779ba
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 4 deletions.
8 changes: 8 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
Version 2.6 - Sep 22 2021

This is a maintenance release to add support for upcomming PostgreSQL 14.

- Add support to PostgreSQL 14. Thanks to Devrim Gunduz for the report
and MigOps Inc for the patch.


Version 2.5 - Jun 08 2021

This is a maintenance release to hotfix port on PostgreSQL 9.6.
Expand Down
6 changes: 3 additions & 3 deletions META.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "pgtt",
"abstract": "Extension to add Global Temporary Tables feature to PostgreSQL.",
"version": "2.5.0",
"version": "2.6.0",
"maintainer": "Gilles Darold <[email protected]>",
"license": "postgresql",
"release_status": "stable",
"provides": {
"pgtt": {
"abstract": "Extension to manage Global Temporary Tables",
"file": "sql/pgtt--2.5.0.sql",
"file": "sql/pgtt--2.6.0.sql",
"docfile": "doc/pgtt.md",
"version": "2.5.0"
"version": "2.6.0"
}
},
"resources": {
Expand Down
2 changes: 1 addition & 1 deletion pgtt.control
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
default_version = '2.5.0'
default_version = '2.6.0'
comment = 'Extension to add Global Temporary Tables feature to PostgreSQL'
module_pathname = '$libdir/pgtt'
schema = 'pgtt_schema'
Expand Down
27 changes: 27 additions & 0 deletions sql/pgtt--2.6.0.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
\echo Use "CREATE EXTENSION pgtt" to load this file. \quit

----
-- Create schema dedicated to the global temporary table
----
CREATE SCHEMA IF NOT EXISTS @extschema@;
REVOKE ALL ON SCHEMA @extschema@ FROM PUBLIC;
GRANT USAGE ON SCHEMA @extschema@ TO PUBLIC;

----
-- Table used to store information about Global Temporary Tables.
-- Content will be loaded in memory by the pgtt extension.
----
CREATE TABLE @[email protected]_global_temp_tables (
relid integer NOT NULL,
nspname name NOT NULL,
relname name NOT NULL,
preserved boolean,
code text,
UNIQUE (nspname, relname)
);
GRANT ALL ON TABLE @[email protected]_global_temp_tables TO PUBLIC;

-- Include tables into pg_dump
SELECT pg_catalog.pg_extension_config_dump('pg_global_temp_tables', '');

9 changes: 9 additions & 0 deletions updates/pgtt--2.4.0--2.5.0.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
\echo Use "CREATE EXTENSION pgtt" to load this file. \quit

-- check the functions bodies as creation time, enabled by default
SET LOCAL check_function_bodies = on ;

-- make sure of client encoding
SET LOCAL client_encoding = 'UTF8';

9 changes: 9 additions & 0 deletions updates/pgtt--2.5.0--2.6.0.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
\echo Use "CREATE EXTENSION pgtt" to load this file. \quit

-- check the functions bodies as creation time, enabled by default
SET LOCAL check_function_bodies = on ;

-- make sure of client encoding
SET LOCAL client_encoding = 'UTF8';

0 comments on commit 69779ba

Please sign in to comment.