mirror of
https://github.com/postgres/postgres.git
synced 2026-03-23 19:04:11 -04:00
8 lines
323 B
SQL
8 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);
|