mirror of
https://github.com/hanzoai/postgres.git
synced 2026-10-30 18:33:07 +00:00
Author: Ronan Dunklau Discussion: https://postgr.es/m/3316564.aeNJFYEL58@aivenlaptop
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);
|