Skip to content

Commit 4670862

Browse files
authored
Bump version to 1.3.4 (#261)
1 parent d5e99e3 commit 4670862

File tree

4 files changed

+24
-3
lines changed

4 files changed

+24
-3
lines changed

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
EXTENSION = pg_tle
2-
EXTVERSION = 1.3.3
2+
EXTVERSION = 1.3.4
33

44
SCHEMA = pgtle
55
MODULE_big = $(EXTENSION)
66

77
OBJS = src/tleextension.o src/guc-file.o src/feature.o src/passcheck.o src/uni_api.o src/datatype.o src/clientauth.o
88

99
EXTRA_CLEAN = src/guc-file.c pg_tle.control pg_tle--$(EXTVERSION).sql
10-
DATA = pg_tle.control pg_tle--1.0.0.sql pg_tle--1.0.0--1.0.1.sql pg_tle--1.0.1--1.0.4.sql pg_tle--1.0.4.sql pg_tle--1.0.4--1.1.1.sql pg_tle--1.1.0--1.1.1.sql pg_tle--1.1.1.sql pg_tle--1.1.1--1.2.0.sql pg_tle--1.2.0--1.3.0.sql pg_tle--1.3.0--1.3.3.sql
10+
DATA = pg_tle.control pg_tle--1.0.0.sql pg_tle--1.0.0--1.0.1.sql pg_tle--1.0.1--1.0.4.sql pg_tle--1.0.4.sql pg_tle--1.0.4--1.1.1.sql pg_tle--1.1.0--1.1.1.sql pg_tle--1.1.1.sql pg_tle--1.1.1--1.2.0.sql pg_tle--1.2.0--1.3.0.sql pg_tle--1.3.0--1.3.3.sql pg_tle--1.3.3--1.3.4.sql
1111

12-
REGRESS = pg_tle_api pg_tle_api_clusterwide pg_tle_management pg_tle_injection pg_tle_perms pg_tle_requires pg_tle_datatype pg_tle_versions
12+
TESTS = $(wildcard test/sql/*.sql)
13+
REGRESS = $(patsubst test/sql/%.sql,%,$(TESTS))
1314

1415
REGRESS_OPTS = --inputdir=test --temp-config ./regress.conf
1516

pg_tle--1.3.3--1.3.4.sql

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License").
5+
* You may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
18+
\echo Use "CREATE EXTENSION pg_tle" to load this file. \quit

test/expected/pg_tle_datatype.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ CREATE ROLE dbuser1;
1717
CREATE ROLE dbuser2;
1818
GRANT pgtle_admin TO dbuser1;
1919
GRANT pgtle_admin TO dbuser2;
20+
REVOKE CREATE ON SCHEMA public FROM PUBLIC;
2021
GRANT CREATE, USAGE ON SCHEMA PUBLIC TO dbadmin;
2122
GRANT CREATE, USAGE ON SCHEMA PUBLIC TO dbstaff;
2223
GRANT USAGE ON SCHEMA PUBLIC TO dbuser1;

test/sql/pg_tle_datatype.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ CREATE ROLE dbuser2;
2222
GRANT pgtle_admin TO dbuser1;
2323
GRANT pgtle_admin TO dbuser2;
2424

25+
REVOKE CREATE ON SCHEMA public FROM PUBLIC;
2526
GRANT CREATE, USAGE ON SCHEMA PUBLIC TO dbadmin;
2627
GRANT CREATE, USAGE ON SCHEMA PUBLIC TO dbstaff;
2728
GRANT USAGE ON SCHEMA PUBLIC TO dbuser1;

0 commit comments

Comments
 (0)