File tree Expand file tree Collapse file tree 6 files changed +22
-4
lines changed Expand file tree Collapse file tree 6 files changed +22
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ OBJS = pg_rewrite.o concurrent.o $(WIN32RES)
4
4
PGFILEDESC = "pg_rewrite - tools for maintenance that requires table rewriting."
5
5
6
6
EXTENSION = pg_rewrite
7
- DATA = pg_rewrite--1.0.sql pg_rewrite--1.0--1.1.sql pg_rewrite--1.1--1.2.sql
7
+ DATA = pg_rewrite--1.0.sql pg_rewrite--1.0--1.1.sql pg_rewrite--1.1--1.2.sql\
8
+ pg_rewrite--1.2--2.0.sql pg_rewrite--1.3--2.0.sql
8
9
DOCS = pg_rewrite.md
9
10
10
11
REGRESS = pg_rewrite generated
Original file line number Diff line number Diff line change 1
- Release 1.2
1
+ Release 2.0
2
2
===========
3
3
4
4
1. This release makes the extension useful in more use cases.
Original file line number Diff line number Diff line change
1
+ /* pg_rewrite--1.2--2.0.sql */
2
+
3
+ -- complain if script is sourced in psql, rather than via ALTER EXTENSION
4
+ \echo Use " ALTER EXTENSION pg_rewrite UPDATE TO '2.0'" to load this file. \quit
Original file line number Diff line number Diff line change
1
+ /* pg_rewrite--1.3--2.0.sql */
2
+
3
+ -- complain if script is sourced in psql, rather than via ALTER EXTENSION
4
+ \echo Use " ALTER EXTENSION pg_rewrite UPDATE TO '2.0'" to load this file. \quit
5
+
6
+ CREATE FUNCTION rewrite_table_nowait (
7
+ src_table text ,
8
+ dst_table text ,
9
+ src_table_new text )
10
+ RETURNS void
11
+ AS ' MODULE_PATHNAME' , ' rewrite_table_nowait'
12
+ LANGUAGE C
13
+ STRICT;
Original file line number Diff line number Diff line change 77
77
#include "utils/varlena.h"
78
78
79
79
#ifdef PG_MODULE_MAGIC_EXT
80
- PG_MODULE_MAGIC_EXT (.name = "pg_rewrite" , .version = "1.2 " );
80
+ PG_MODULE_MAGIC_EXT (.name = "pg_rewrite" , .version = "2.0 " );
81
81
#else
82
82
PG_MODULE_MAGIC ;
83
83
#endif
Original file line number Diff line number Diff line change 1
1
# pg_rewrite extension
2
2
comment = 'Tool for maintenance that requires table rewriting.'
3
- default_version = '1.2 '
3
+ default_version = '2.0 '
4
4
module_pathname = '$libdir/pg_rewrite'
5
5
relocatable = true
You can’t perform that action at this time.
0 commit comments