Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e016b72

Browse files
Add pageinspect--1.0--1.sql for checksum changes
1 parent ef04cb7 commit e016b72

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/* contrib/pageinspect/pageinspect--1.0--1.1.sql */
2+
3+
-- complain if script is sourced in psql, rather than via ALTER EXTENSION UPDATE
4+
\echo Use "ALTER EXTENSION pageinspect UPDATE TO 1.1" to load this file. \quit
5+
6+
DROP FUNCTION page_header(bytea);
7+
CREATE FUNCTION page_header(IN page bytea,
8+
OUT lsn text,
9+
OUT checksum smallint,
10+
OUT flags smallint,
11+
OUT lower smallint,
12+
OUT upper smallint,
13+
OUT special smallint,
14+
OUT pagesize smallint,
15+
OUT version smallint,
16+
OUT prune_xid xid)
17+
AS 'MODULE_PATHNAME', 'page_header'
18+
LANGUAGE C STRICT;

0 commit comments

Comments
 (0)