--
-- PostgreSQL database dump
--

SET client_encoding = 'SQL_ASCII';
SET standard_conforming_strings = off;
SET check_function_bodies = false;
SET client_min_messages = warning;
SET escape_string_warning = off;

SET search_path = public, pg_catalog;

--
-- Name: bigint_unsigned; Type: DOMAIN; Schema: public; Owner: evaleo_3
--

CREATE DOMAIN bigint_unsigned AS bigint
    CONSTRAINT bigint_unsigned_check CHECK ((VALUE >= 0));


ALTER DOMAIN public.bigint_unsigned OWNER TO evaleo_3;

--
-- Name: int_unsigned; Type: DOMAIN; Schema: public; Owner: evaleo_3
--

CREATE DOMAIN int_unsigned AS integer
    CONSTRAINT int_unsigned_check CHECK ((VALUE >= 0));


ALTER DOMAIN public.int_unsigned OWNER TO evaleo_3;

--
-- Name: smallint_unsigned; Type: DOMAIN; Schema: public; Owner: evaleo_3
--

CREATE DOMAIN smallint_unsigned AS smallint
    CONSTRAINT smallint_unsigned_check CHECK ((VALUE >= 0));


ALTER DOMAIN public.smallint_unsigned OWNER TO evaleo_3;

--
-- Name: concat(text, text); Type: FUNCTION; Schema: public; Owner: evaleo_3
--

CREATE FUNCTION concat(text, text) RETURNS text
    AS $_$SELECT $1 || $2;$_$
    LANGUAGE sql;


ALTER FUNCTION public.concat(text, text) OWNER TO evaleo_3;

--
-- Name: first(anyelement, anyelement); Type: FUNCTION; Schema: public; Owner: evaleo_3
--

CREATE FUNCTION first(anyelement, anyelement) RETURNS anyelement
    AS $_$SELECT COALESCE($1, $2);$_$
    LANGUAGE sql;
