Skip to content

Commit 1e49c6f

Browse files
committed
Update Changelog and version to 2.8
1 parent f29135f commit 1e49c6f

File tree

8 files changed

+52
-7
lines changed

8 files changed

+52
-7
lines changed

COPYING

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2018-2021 Gilles Darold
1+
Copyright (c) 2018-2022 Gilles Darold
22

33
Permission to use, copy, modify, and distribute this software for any
44
purpose with or without fee is hereby granted, provided that the above

ChangeLog

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
Version 2.8 - Jun 02 2022
2+
3+
This is a maintenance release to add support to PostgreSQL 15
4+
and fix an error when trying to drop a regular table.
5+
6+
- Add support to PostgreSQL 15.
7+
- Fix impossibility to drop a regular table when the extension is loaded.
8+
Thanks to basildba for the report.
9+
110
Version 2.7 - Nov 23 2021
211

312
This is a maintenance release to fix an issue with parallelism

META.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"name": "pgtt",
33
"abstract": "Extension to add Global Temporary Tables feature to PostgreSQL.",
4-
"version": "2.7.0",
4+
"version": "2.8.0",
55
"maintainer": "Gilles Darold <gilles@darold.net>",
66
"license": "postgresql",
77
"release_status": "stable",
88
"provides": {
99
"pgtt": {
1010
"abstract": "Extension to manage Global Temporary Tables",
11-
"file": "sql/pgtt--2.7.0.sql",
11+
"file": "sql/pgtt--2.8.0.sql",
1212
"docfile": "doc/pgtt.md",
13-
"version": "2.7.0"
13+
"version": "2.8.0"
1414
}
1515
},
1616
"resources": {

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,5 +555,5 @@ gilles@darold.net
555555
This extension is free software distributed under the PostgreSQL
556556
Licence.
557557

558-
Copyright (c) 2018-2021, Gilles Darold
558+
Copyright (c) 2018-2022, Gilles Darold
559559

pgtt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Author: Gilles Darold <gilles@darold.net>
77
* Licence: PostgreSQL
8-
* Copyright (c) 2018-2021, Gilles Darold,
8+
* Copyright (c) 2018-2022, Gilles Darold,
99
*
1010
*-------------------------------------------------------------------------
1111
*/

pgtt.control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
default_version = '2.7.0'
1+
default_version = '2.8.0'
22
comment = 'Extension to add Global Temporary Tables feature to PostgreSQL'
33
module_pathname = '$libdir/pgtt'
44
schema = 'pgtt_schema'

sql/pgtt--2.8.0.sql

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
2+
\echo Use "CREATE EXTENSION pgtt" to load this file. \quit
3+
4+
----
5+
-- Create schema dedicated to the global temporary table
6+
----
7+
CREATE SCHEMA IF NOT EXISTS @extschema@;
8+
REVOKE ALL ON SCHEMA @extschema@ FROM PUBLIC;
9+
GRANT USAGE ON SCHEMA @extschema@ TO PUBLIC;
10+
11+
----
12+
-- Table used to store information about Global Temporary Tables.
13+
-- Content will be loaded in memory by the pgtt extension.
14+
----
15+
CREATE TABLE @extschema@.pg_global_temp_tables (
16+
relid integer NOT NULL,
17+
nspname name NOT NULL,
18+
relname name NOT NULL,
19+
preserved boolean,
20+
code text,
21+
UNIQUE (nspname, relname)
22+
);
23+
GRANT ALL ON TABLE @extschema@.pg_global_temp_tables TO PUBLIC;
24+
25+
-- Include tables into pg_dump
26+
SELECT pg_catalog.pg_extension_config_dump('pg_global_temp_tables', '');
27+

updates/pgtt--2.7.0--2.8.0.sql

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
2+
\echo Use "CREATE EXTENSION pgtt" to load this file. \quit
3+
4+
-- check the functions bodies as creation time, enabled by default
5+
SET LOCAL check_function_bodies = on ;
6+
7+
-- make sure of client encoding
8+
SET LOCAL client_encoding = 'UTF8';
9+

0 commit comments

Comments
 (0)