--
-- pgdist project-version
-- name: lbuid
--
-- version: 0.1.0
--
-- part: 1
-- single_transaction
--
-- end header_data
--

--
-- sqldist file public/types/lbuid_shell.sql
--

CREATE TYPE public.lbuid;

;-- end sqldist file public/types/lbuid_shell.sql


--
-- sqldist file public/functions/lbuid_in.sql
--

CREATE OR REPLACE FUNCTION public.lbuid_in(cstring)
RETURNS public.lbuid
LANGUAGE internal
IMMUTABLE
PARALLEL SAFE
STRICT AS $function$int8in$function$;

;-- end sqldist file public/functions/lbuid_in.sql


--
-- sqldist file public/functions/lbuid_out.sql
--

CREATE OR REPLACE FUNCTION public.lbuid_out(public.lbuid)
RETURNS cstring
LANGUAGE internal
IMMUTABLE PARALLEL SAFE
STRICT AS $function$int8out$function$;

;-- end sqldist file public/functions/lbuid_out.sql


--
-- sqldist file public/types/lbuid.sql
--

CREATE TYPE public.lbuid(INPUT=lbuid_in, OUTPUT=lbuid_out, LIKE=bigint);

CREATE CAST (bigint AS public.lbuid) WITHOUT FUNCTION AS IMPLICIT;
CREATE CAST (public.lbuid AS bigint) WITHOUT FUNCTION AS IMPLICIT;

CREATE CAST (int AS public.lbuid) WITH FUNCTION int8(int) AS IMPLICIT;

;-- end sqldist file public/types/lbuid.sql


--
-- end sqldist project
--
