mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-23 14:57:03 +08:00
9 lines
323 B
SQL
9 lines
323 B
SQL
/* contrib/lo/lo--1.1--1.2.sql */
|
|
|
|
-- complain if script is sourced in psql, rather than via ALTER EXTENSION
|
|
\echo Use "ALTER EXTENSION lo UPDATE TO '1.2'" to load this file. \quit
|
|
|
|
CREATE OR REPLACE FUNCTION lo_oid(lo) RETURNS pg_catalog.oid
|
|
LANGUAGE SQL STRICT IMMUTABLE PARALLEL SAFE
|
|
RETURN (SELECT $1::pg_catalog.oid);
|