File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 33MODULES = lo
44
55EXTENSION = lo
6- DATA = lo--1.0 .sql lo--unpackaged--1.0.sql
6+ DATA = lo--1.1.sql lo--1.0--1.1 .sql lo--unpackaged--1.0.sql
77PGFILEDESC = "lo - management for large objects"
88
99ifdef USE_PGXS
Original file line number Diff line number Diff line change 1+ /* contrib/lo/lo--1.0--1.1.sql */
2+
3+ -- complain if script is sourced in psql, rather than via ALTER EXTENSION
4+ \echo Use " ALTER EXTENSION lo UPDATE TO '1.1'" to load this file. \quit
5+
6+ ALTER FUNCTION lo_oid(lo) PARALLEL SAFE;
Original file line number Diff line number Diff line change 1- /* contrib/lo/lo--1.0 .sql */
1+ /* contrib/lo/lo--1.1 .sql */
22
33-- complain if script is sourced in psql, rather than via CREATE EXTENSION
44\echo Use " CREATE EXTENSION lo" to load this file. \quit
@@ -16,7 +16,7 @@ CREATE DOMAIN lo AS pg_catalog.oid;
1616-- the implicit casts between a domain and its underlying type handle them.
1717--
1818CREATE FUNCTION lo_oid (lo) RETURNS pg_catalog .oid AS
19- ' SELECT $1::pg_catalog.oid' LANGUAGE SQL STRICT IMMUTABLE;
19+ ' SELECT $1::pg_catalog.oid' LANGUAGE SQL STRICT IMMUTABLE PARALLEL SAFE ;
2020
2121-- This is used in triggers
2222CREATE FUNCTION lo_manage ()
Original file line number Diff line number Diff line change 11# lo extension
22comment = 'Large Object maintenance'
3- default_version = '1.0 '
3+ default_version = '1.1 '
44module_pathname = '$libdir/lo'
55relocatable = true
You can’t perform that action at this time.
0 commit comments