Skip to content

Commit 9b73f40

Browse files
Version 1.1
1 parent c436d7f commit 9b73f40

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

Makefile

+6-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
MODULE_big = pg_query_state
44
OBJS = pg_query_state.o signal_handler.o $(WIN32RES)
55
EXTENSION = pg_query_state
6-
EXTVERSION = 1.0
7-
DATA = $(EXTENSION)--$(EXTVERSION).sql
6+
EXTVERSION = 1.1
7+
DATA = pg_query_state--1.0--1.1.sql
8+
DATA_built = $(EXTENSION)--$(EXTVERSION).sql
89
PGFILEDESC = "pg_query_state - facility to track progress of plan execution"
910

1011
EXTRA_CLEAN = ./isolation_output
@@ -20,6 +21,9 @@ include $(top_builddir)/src/Makefile.global
2021
include $(top_srcdir)/contrib/contrib-global.mk
2122
endif
2223

24+
$(EXTENSION)--$(EXTVERSION).sql: init.sql
25+
cat $^ > $@
26+
2327
check: isolationcheck
2428

2529
ISOLATIONCHECKS=corner_cases
File renamed without changes.

pg_query_state--1.0--1.1.sql

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
2+
\echo Use "ALTER EXTENSION pg_query_state UPDATE TO '1.1'" to load this file. \quit
3+
4+
DROP FUNCTION IF EXISTS executor_step(pid integer);
5+
DROP FUNCTION IF EXISTS executor_continue(pid integer);

pg_query_state.control

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# pg_query_state extension
22
comment = 'tool for inspection query progress'
3-
default_version = '1.0'
3+
default_version = '1.1'
44
module_pathname = '$libdir/pg_query_state'
55
relocatable = true

0 commit comments

Comments
 (0)