File tree Expand file tree Collapse file tree 4 files changed +11
-2
lines changed Expand file tree Collapse file tree 4 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 33MODULES = lo
44
55EXTENSION = lo
6- DATA = lo--1.1.sql lo--1.0--1.1.sql
6+ DATA = lo--1.1.sql lo--1.0--1.1.sql lo--1.1--1.2.sql
77PGFILEDESC = "lo - management for large objects"
88
99REGRESS = lo
Original file line number Diff line number Diff line change 1+ /* contrib/lo/lo--1.1--1.2.sql */
2+
3+ -- complain if script is sourced in psql, rather than via ALTER EXTENSION
4+ \echo Use " ALTER EXTENSION lo UPDATE TO '1.2'" to load this file. \quit
5+
6+ CREATE OR REPLACE FUNCTION lo_oid (lo) RETURNS pg_catalog .oid
7+ LANGUAGE SQL STRICT IMMUTABLE PARALLEL SAFE
8+ RETURN (SELECT $1 ::pg_catalog .oid );
Original file line number Diff line number Diff line change 11# lo extension
22comment = 'Large Object maintenance'
3- default_version = '1.1 '
3+ default_version = '1.2 '
44module_pathname = '$libdir/lo'
55relocatable = true
66trusted = true
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ install_data(
2020 ' lo.control' ,
2121 ' lo--1.0--1.1.sql' ,
2222 ' lo--1.1.sql' ,
23+ ' lo--1.1--1.2.sql' ,
2324 kwargs : contrib_data_args,
2425)
2526
You can’t perform that action at this time.
0 commit comments