Skip to content

Commit

Permalink
Update ChangeLog and version to 2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
darold committed Jun 8, 2021
1 parent cb55983 commit 8172f35
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 4 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
Version 2.5 - Jun 08 2021

This is a maintenance release to hotfix port on PostgreSQL 9.6.

- Fix port to PostgreSQL 9.6. Thanks to Devrim Gunduz for the report.


Version 2.4 - Jun 04 2021

This version allow use of the extension by non superuser and especially
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.4.0",
"version": "2.5.0",
"maintainer": "Gilles Darold <[email protected]>",
"license": "postgresql",
"release_status": "stable",
"provides": {
"pgtt": {
"abstract": "Extension to manage Global Temporary Tables",
"file": "sql/pgtt--2.4.0.sql",
"file": "sql/pgtt--2.5.0.sql",
"docfile": "doc/pgtt.md",
"version": "2.4.0"
"version": "2.5.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.4.0'
default_version = '2.5.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.5.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', '');

0 comments on commit 8172f35

Please sign in to comment.