Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit13e3796

Browse files
committed
contrib/lo: Use SQL-standard function bodies
Author: Ronan DunklauDiscussion:https://postgr.es/m/3316564.aeNJFYEL58@aivenlaptop
1 parent93f9b4a commit13e3796

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

‎contrib/lo/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
MODULES = lo
44

55
EXTENSION = 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
77
PGFILEDESC = "lo - management for large objects"
88

99
REGRESS = lo

‎contrib/lo/lo--1.1--1.2.sql

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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 REPLACEFUNCTIONlo_oid(lo) RETURNSpg_catalog.oid
7+
LANGUAGE SQL STRICT IMMUTABLE PARALLEL SAFE
8+
RETURN (SELECT $1::pg_catalog.oid);

‎contrib/lo/lo.control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# lo extension
22
comment = 'Large Object maintenance'
3-
default_version = '1.1'
3+
default_version = '1.2'
44
module_pathname = '$libdir/lo'
55
relocatable = true
66
trusted = true

‎contrib/lo/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp