<?xml version="1.0" encoding="UTF-8"?>
<!--
CAUTION: Do not modify this file unless you know what you are doing.
         Unexpected results may occur if the code is changed deliberately.
-->
<dbmodel pgmodeler-ver="0.9.3-beta" last-position="122,103" last-zoom="0.55" max-obj-count="174">
<database name="pagila" encoding="UTF8" is-template="false" allow-conns="true">
	<role name="postgres"/>
	<tablespace name="pg_default"/>
</database>

<schema name="public" layers="0" protected="true" fill-color="#e1e1e1" sql-disabled="true">
</schema>

<sequence name="actor_actor_id_seq" cycle="false" start="1" increment="1" min-value="1" max-value="9223372036854775807" cache="1">
	<schema name="public"/>
	<role name="postgres"/>
</sequence>

<table name="actor" layers="0" collapse-mode="2" max-obj-count="4" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="4480" y="1460"/>
	<column name="actor_id" not-null="true" default-value="nextval('actor_actor_id_seq'::regclass)">
		<type name="integer" length="1"/>
	</column>
	<column name="first_name" not-null="true">
		<type name="character varying" length="45"/>
	</column>
	<column name="last_name" not-null="true">
		<type name="character varying" length="45"/>
	</column>
	<column name="last_update" not-null="true" default-value="now()">
		<type name="timestamp" length="1"/>
	</column>
	<constraint name="actor_pkey" type="pk-constr" factor="100" table="public.actor">
		<columns names="actor_id" ref-type="src-columns"/>
	</constraint>
</table>

<usertype name="mpaa_rating" configuration="enumeration">
	<schema name="public"/>
	<role name="postgres"/>
	<enumeration label="G"/>
	<enumeration label="PG"/>
	<enumeration label="PG-13"/>
	<enumeration label="R"/>
	<enumeration label="NC-17"/>
</usertype>

<domain name="year" not-null="false">
	<schema name="public"/>
	<role name="postgres"/>
	<type name="integer" length="2" precision="0"/>
	<constraint name="year_check" type="check">
		<expression><![CDATA[((VALUE >= 1901) AND (VALUE <= 2155))]]></expression>
	</constraint>
</domain>

<function name="_group_concat"
		window-func="false"
		returns-setof="false"
		behavior-type="CALLED ON NULL INPUT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="100"
		row-amount="0">
	<schema name="public"/>
	<role name="postgres"/>
	<language name="sql" sql-disabled="true"/>
	<return-type>
	<type name="text" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="text" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="text" length="1"/>
	</parameter>
	<definition><![CDATA[
SELECT CASE
  WHEN $2 IS NULL THEN $1
  WHEN $1 IS NULL THEN $2
  ELSE $1 || ', ' || $2
END
]]></definition>
</function>

<aggregate name="group_concat">
	<schema name="public"/>
	<role name="postgres"/>
	<type name="text" length="1"/>
	<type name="text" length="1" ref-type="state-type"/>
	<function ref-type="transition" signature="public._group_concat(text,text)"/>
</aggregate>

<sequence name="category_category_id_seq" cycle="false" start="1" increment="1" min-value="1" max-value="9223372036854775807" cache="1">
	<schema name="public"/>
	<role name="postgres"/>
</sequence>

<table name="category" layers="0" collapse-mode="2" max-obj-count="3" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="4220" y="880"/>
	<column name="category_id" not-null="true" default-value="nextval('category_category_id_seq'::regclass)">
		<type name="integer" length="1"/>
	</column>
	<column name="name" not-null="true">
		<type name="character varying" length="25"/>
	</column>
	<column name="last_update" not-null="true" default-value="now()">
		<type name="timestamp" length="1"/>
	</column>
	<constraint name="category_pkey" type="pk-constr" factor="100" table="public.category">
		<columns names="category_id" ref-type="src-columns"/>
	</constraint>
</table>

<sequence name="film_film_id_seq" cycle="false" start="1" increment="1" min-value="1" max-value="9223372036854775807" cache="1">
	<schema name="public"/>
	<role name="postgres"/>
</sequence>

<table name="film" layers="0" collapse-mode="2" max-obj-count="16" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="3580" y="1180"/>
	<column name="film_id" not-null="true" default-value="nextval('film_film_id_seq'::regclass)">
		<type name="integer" length="1"/>
	</column>
	<column name="title" not-null="true">
		<type name="character varying" length="255"/>
	</column>
	<column name="description">
		<type name="text" length="1"/>
	</column>
	<column name="release_year">
		<type name="public.year" length="1"/>
	</column>
	<column name="language_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="original_language_id">
		<type name="smallint" length="1"/>
	</column>
	<column name="rental_duration" not-null="true" default-value="3">
		<type name="smallint" length="1"/>
	</column>
	<column name="rental_rate" not-null="true" default-value="4.99">
		<type name="numeric" length="4" precision="2"/>
	</column>
	<column name="length">
		<type name="smallint" length="1"/>
	</column>
	<column name="replacement_cost" not-null="true" default-value="19.99">
		<type name="numeric" length="5" precision="2"/>
	</column>
	<column name="rating" default-value="'G'::mpaa_rating">
		<type name="public.mpaa_rating" length="1"/>
	</column>
	<column name="last_update" not-null="true" default-value="now()">
		<type name="timestamp" length="1"/>
	</column>
	<column name="special_features">
		<type name="text" length="1" dimension="1"/>
	</column>
	<column name="fulltext" not-null="true">
		<type name="tsvector" length="1"/>
	</column>
	<constraint name="film_pkey" type="pk-constr" factor="100" table="public.film">
		<columns names="film_id" ref-type="src-columns"/>
	</constraint>
</table>

<table name="film_actor" layers="0" collapse-mode="2" max-obj-count="3" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="4220" y="1120"/>
	<column name="actor_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="film_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="last_update" not-null="true" default-value="now()">
		<type name="timestamp" length="1"/>
	</column>
	<constraint name="film_actor_pkey" type="pk-constr" factor="100" table="public.film_actor">
		<columns names="actor_id,film_id" ref-type="src-columns"/>
	</constraint>
</table>

<table name="film_category" layers="0" collapse-mode="2" max-obj-count="3" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="3660" y="700"/>
	<column name="film_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="category_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="last_update" not-null="true" default-value="now()">
		<type name="timestamp" length="1"/>
	</column>
	<constraint name="film_category_pkey" type="pk-constr" factor="100" table="public.film_category">
		<columns names="film_id,category_id" ref-type="src-columns"/>
	</constraint>
</table>

<view name="actor_info" layers="0" collapse-mode="2" max-obj-count="1" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="3140" y="1700"/>
	<reference>
		<expression><![CDATA[ SELECT a.actor_id,
    a.first_name,
    a.last_name,
    group_concat(DISTINCT (((c.name)::text || ': '::text) || ( SELECT group_concat((f.title)::text) AS group_concat
           FROM ((film f
             JOIN film_category fc_1 ON ((f.film_id = fc_1.film_id)))
             JOIN film_actor fa_1 ON ((f.film_id = fa_1.film_id)))
          WHERE ((fc_1.category_id = c.category_id) AND (fa_1.actor_id = a.actor_id))
          GROUP BY fa_1.actor_id))) AS film_info
   FROM (((actor a
     LEFT JOIN film_actor fa ON ((a.actor_id = fa.actor_id)))
     LEFT JOIN film_category fc ON ((fa.film_id = fc.film_id)))
     LEFT JOIN category c ON ((fc.category_id = c.category_id)))
  GROUP BY a.actor_id, a.first_name, a.last_name;]]></expression>
	</reference>
</view>

<sequence name="address_address_id_seq" cycle="false" start="1" increment="1" min-value="1" max-value="9223372036854775807" cache="1">
	<schema name="public"/>
	<role name="postgres"/>
</sequence>

<table name="address" layers="0" collapse-mode="2" max-obj-count="9" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="1860" y="400"/>
	<column name="address_id" not-null="true" default-value="nextval('address_address_id_seq'::regclass)">
		<type name="integer" length="1"/>
	</column>
	<column name="address" not-null="true">
		<type name="character varying" length="50"/>
	</column>
	<column name="address2">
		<type name="character varying" length="50"/>
	</column>
	<column name="district" not-null="true">
		<type name="character varying" length="20"/>
	</column>
	<column name="city_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="postal_code">
		<type name="character varying" length="10"/>
	</column>
	<column name="phone" not-null="true">
		<type name="character varying" length="20"/>
	</column>
	<column name="last_update" not-null="true" default-value="now()">
		<type name="timestamp" length="1"/>
	</column>
	<constraint name="address_pkey" type="pk-constr" factor="100" table="public.address">
		<columns names="address_id" ref-type="src-columns"/>
	</constraint>
</table>

<sequence name="city_city_id_seq" cycle="false" start="1" increment="1" min-value="1" max-value="9223372036854775807" cache="1">
	<schema name="public"/>
	<role name="postgres"/>
</sequence>

<table name="city" layers="0" collapse-mode="2" max-obj-count="4" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="2600" y="260"/>
	<column name="city_id" not-null="true" default-value="nextval('city_city_id_seq'::regclass)">
		<type name="integer" length="1"/>
	</column>
	<column name="city" not-null="true">
		<type name="character varying" length="50"/>
	</column>
	<column name="country_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="last_update" not-null="true" default-value="now()">
		<type name="timestamp" length="1"/>
	</column>
	<constraint name="city_pkey" type="pk-constr" factor="100" table="public.city">
		<columns names="city_id" ref-type="src-columns"/>
	</constraint>
</table>

<sequence name="country_country_id_seq" cycle="false" start="1" increment="1" min-value="1" max-value="9223372036854775807" cache="1">
	<schema name="public"/>
	<role name="postgres"/>
</sequence>

<table name="country" layers="0" collapse-mode="2" max-obj-count="3" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="2220" y="540"/>
	<column name="country_id" not-null="true" default-value="nextval('country_country_id_seq'::regclass)">
		<type name="integer" length="1"/>
	</column>
	<column name="country" not-null="true">
		<type name="character varying" length="50"/>
	</column>
	<column name="last_update" not-null="true" default-value="now()">
		<type name="timestamp" length="1"/>
	</column>
	<constraint name="country_pkey" type="pk-constr" factor="100" table="public.country">
		<columns names="country_id" ref-type="src-columns"/>
	</constraint>
</table>

<sequence name="customer_customer_id_seq" cycle="false" start="1" increment="1" min-value="1" max-value="9223372036854775807" cache="1">
	<schema name="public"/>
	<role name="postgres"/>
</sequence>

<table name="customer" layers="0" collapse-mode="2" max-obj-count="12" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="1100" y="1120"/>
	<column name="customer_id" not-null="true" default-value="nextval('customer_customer_id_seq'::regclass)">
		<type name="integer" length="1"/>
	</column>
	<column name="store_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="first_name" not-null="true">
		<type name="character varying" length="45"/>
	</column>
	<column name="last_name" not-null="true">
		<type name="character varying" length="45"/>
	</column>
	<column name="email">
		<type name="character varying" length="50"/>
	</column>
	<column name="address_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="activebool" not-null="true" default-value="true">
		<type name="boolean" length="1"/>
	</column>
	<column name="create_date" not-null="true" default-value="('now'::text)::date">
		<type name="date" length="1"/>
	</column>
	<column name="last_update" default-value="now()">
		<type name="timestamp" length="1"/>
	</column>
	<column name="active">
		<type name="integer" length="1"/>
	</column>
	<constraint name="customer_pkey" type="pk-constr" factor="100" table="public.customer">
		<columns names="customer_id" ref-type="src-columns"/>
	</constraint>
</table>

<view name="customer_list" layers="0" collapse-mode="2" max-obj-count="1" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="3480" y="1860"/>
	<reference>
		<expression><![CDATA[ SELECT cu.customer_id AS id,
    (((cu.first_name)::text || ' '::text) || (cu.last_name)::text) AS name,
    a.address,
    a.postal_code AS "zip code",
    a.phone,
    city.city,
    country.country,
        CASE
            WHEN cu.activebool THEN 'active'::text
            ELSE ''::text
        END AS notes,
    cu.store_id AS sid
   FROM (((customer cu
     JOIN address a ON ((cu.address_id = a.address_id)))
     JOIN city ON ((a.city_id = city.city_id)))
     JOIN country ON ((city.country_id = country.country_id)));]]></expression>
	</reference>
</view>

<view name="film_list" layers="0" collapse-mode="2" max-obj-count="1" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="3160" y="1840"/>
	<reference>
		<expression><![CDATA[ SELECT film.film_id AS fid,
    film.title,
    film.description,
    category.name AS category,
    film.rental_rate AS price,
    film.length,
    film.rating,
    group_concat((((actor.first_name)::text || ' '::text) || (actor.last_name)::text)) AS actors
   FROM ((((category
     LEFT JOIN film_category ON ((category.category_id = film_category.category_id)))
     LEFT JOIN film ON ((film_category.film_id = film.film_id)))
     JOIN film_actor ON ((film.film_id = film_actor.film_id)))
     JOIN actor ON ((film_actor.actor_id = actor.actor_id)))
  GROUP BY film.film_id, film.title, film.description, category.name, film.rental_rate, film.length, film.rating;]]></expression>
	</reference>
</view>

<sequence name="inventory_inventory_id_seq" cycle="false" start="1" increment="1" min-value="1" max-value="9223372036854775807" cache="1">
	<schema name="public"/>
	<role name="postgres"/>
</sequence>

<table name="inventory" layers="0" collapse-mode="2" max-obj-count="4" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="3140" y="840"/>
	<column name="inventory_id" not-null="true" default-value="nextval('inventory_inventory_id_seq'::regclass)">
		<type name="integer" length="1"/>
	</column>
	<column name="film_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="store_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="last_update" not-null="true" default-value="now()">
		<type name="timestamp" length="1"/>
	</column>
	<constraint name="inventory_pkey" type="pk-constr" factor="100" table="public.inventory">
		<columns names="inventory_id" ref-type="src-columns"/>
	</constraint>
</table>

<sequence name="language_language_id_seq" cycle="false" start="1" increment="1" min-value="1" max-value="9223372036854775807" cache="1">
	<schema name="public"/>
	<role name="postgres"/>
</sequence>

<table name="language" layers="0" collapse-mode="2" max-obj-count="4" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="4100" y="1660"/>
	<column name="language_id" not-null="true" default-value="nextval('language_language_id_seq'::regclass)">
		<type name="integer" length="1"/>
	</column>
	<column name="name" not-null="true">
		<type name="character" length="20"/>
	</column>
	<column name="last_update" not-null="true" default-value="now()">
		<type name="timestamp" length="1"/>
	</column>
	<column name="asdf">
		<type name="smallint" length="1"/>
	</column>
	<constraint name="language_pkey" type="pk-constr" factor="100" table="public.language">
		<columns names="language_id" ref-type="src-columns"/>
	</constraint>
</table>

<view name="nicer_but_slower_film_list" layers="0" collapse-mode="2" max-obj-count="1" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="3480" y="1960"/>
	<reference>
		<expression><![CDATA[ SELECT film.film_id AS fid,
    film.title,
    film.description,
    category.name AS category,
    film.rental_rate AS price,
    film.length,
    film.rating,
    group_concat((((upper("substring"((actor.first_name)::text, 1, 1)) || lower("substring"((actor.first_name)::text, 2))) || upper("substring"((actor.last_name)::text, 1, 1))) || lower("substring"((actor.last_name)::text, 2)))) AS actors
   FROM ((((category
     LEFT JOIN film_category ON ((category.category_id = film_category.category_id)))
     LEFT JOIN film ON ((film_category.film_id = film.film_id)))
     JOIN film_actor ON ((film.film_id = film_actor.film_id)))
     JOIN actor ON ((film_actor.actor_id = actor.actor_id)))
  GROUP BY film.film_id, film.title, film.description, category.name, film.rental_rate, film.length, film.rating;]]></expression>
	</reference>
</view>

<sequence name="payment_payment_id_seq" cycle="false" start="1" increment="1" min-value="1" max-value="9223372036854775807" cache="1">
	<schema name="public"/>
	<role name="postgres"/>
</sequence>

<table name="payment" layers="0" collapse-mode="2" max-obj-count="7" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="340" y="1360"/>
	<column name="payment_id" not-null="true" default-value="nextval('payment_payment_id_seq'::regclass)">
		<type name="integer" length="1"/>
	</column>
	<column name="customer_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="staff_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="rental_id" not-null="true">
		<type name="integer" length="1"/>
	</column>
	<column name="amount" not-null="true">
		<type name="numeric" length="5" precision="2"/>
	</column>
	<column name="payment_date" not-null="true">
		<type name="timestamp" length="1"/>
	</column>
	<constraint name="payment_pkey" type="pk-constr" factor="100" table="public.payment">
		<columns names="payment_id" ref-type="src-columns"/>
	</constraint>
</table>

<table name="payment_p2007_01" layers="0" collapse-mode="2" max-obj-count="7" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="340" y="1980"/>
	<column name="payment_id" not-null="true" default-value="nextval('payment_payment_id_seq'::regclass)">
		<type name="integer" length="1"/>
	</column>
	<column name="customer_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="staff_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="rental_id" not-null="true">
		<type name="integer" length="1"/>
	</column>
	<column name="amount" not-null="true">
		<type name="numeric" length="5" precision="2"/>
	</column>
	<column name="payment_date" not-null="true">
		<type name="timestamp" length="1"/>
	</column>
	<constraint name="payment_p2007_01_payment_date_check" type="ck-constr" table="public.payment_p2007_01">
			<expression><![CDATA[((payment_date >= '2007-01-01 00:00:00'::timestamp without time zone) AND (payment_date < '2007-02-01 00:00:00'::timestamp without time zone))]]></expression>
	</constraint>
</table>

<table name="payment_p2007_02" layers="0" collapse-mode="2" max-obj-count="7" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="360" y="700"/>
	<column name="payment_id" not-null="true" default-value="nextval('payment_payment_id_seq'::regclass)">
		<type name="integer" length="1"/>
	</column>
	<column name="customer_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="staff_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="rental_id" not-null="true">
		<type name="integer" length="1"/>
	</column>
	<column name="amount" not-null="true">
		<type name="numeric" length="5" precision="2"/>
	</column>
	<column name="payment_date" not-null="true">
		<type name="timestamp" length="1"/>
	</column>
	<constraint name="payment_p2007_02_payment_date_check" type="ck-constr" table="public.payment_p2007_02">
			<expression><![CDATA[((payment_date >= '2007-02-01 00:00:00'::timestamp without time zone) AND (payment_date < '2007-03-01 00:00:00'::timestamp without time zone))]]></expression>
	</constraint>
</table>

<table name="payment_p2007_03" layers="0" collapse-mode="2" max-obj-count="7" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="2420" y="1240"/>
	<column name="payment_id" not-null="true" default-value="nextval('payment_payment_id_seq'::regclass)">
		<type name="integer" length="1"/>
	</column>
	<column name="customer_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="staff_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="rental_id" not-null="true">
		<type name="integer" length="1"/>
	</column>
	<column name="amount" not-null="true">
		<type name="numeric" length="5" precision="2"/>
	</column>
	<column name="payment_date" not-null="true">
		<type name="timestamp" length="1"/>
	</column>
	<constraint name="payment_p2007_03_payment_date_check" type="ck-constr" table="public.payment_p2007_03">
			<expression><![CDATA[((payment_date >= '2007-03-01 00:00:00'::timestamp without time zone) AND (payment_date < '2007-04-01 00:00:00'::timestamp without time zone))]]></expression>
	</constraint>
</table>

<table name="payment_p2007_04" layers="0" collapse-mode="2" max-obj-count="7" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="2980" y="1240"/>
	<column name="payment_id" not-null="true" default-value="nextval('payment_payment_id_seq'::regclass)">
		<type name="integer" length="1"/>
	</column>
	<column name="customer_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="staff_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="rental_id" not-null="true">
		<type name="integer" length="1"/>
	</column>
	<column name="amount" not-null="true">
		<type name="numeric" length="5" precision="2"/>
	</column>
	<column name="payment_date" not-null="true">
		<type name="timestamp" length="1"/>
	</column>
	<constraint name="payment_p2007_04_payment_date_check" type="ck-constr" table="public.payment_p2007_04">
			<expression><![CDATA[((payment_date >= '2007-04-01 00:00:00'::timestamp without time zone) AND (payment_date < '2007-05-01 00:00:00'::timestamp without time zone))]]></expression>
	</constraint>
</table>

<table name="payment_p2007_05" layers="0" collapse-mode="2" max-obj-count="7" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="2640" y="1960"/>
	<column name="payment_id" not-null="true" default-value="nextval('payment_payment_id_seq'::regclass)">
		<type name="integer" length="1"/>
	</column>
	<column name="customer_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="staff_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="rental_id" not-null="true">
		<type name="integer" length="1"/>
	</column>
	<column name="amount" not-null="true">
		<type name="numeric" length="5" precision="2"/>
	</column>
	<column name="payment_date" not-null="true">
		<type name="timestamp" length="1"/>
	</column>
	<constraint name="payment_p2007_05_payment_date_check" type="ck-constr" table="public.payment_p2007_05">
			<expression><![CDATA[((payment_date >= '2007-05-01 00:00:00'::timestamp without time zone) AND (payment_date < '2007-06-01 00:00:00'::timestamp without time zone))]]></expression>
	</constraint>
</table>

<table name="payment_p2007_06" layers="0" collapse-mode="2" max-obj-count="7" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="2060" y="2120"/>
	<column name="payment_id" not-null="true" default-value="nextval('payment_payment_id_seq'::regclass)">
		<type name="integer" length="1"/>
	</column>
	<column name="customer_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="staff_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="rental_id" not-null="true">
		<type name="integer" length="1"/>
	</column>
	<column name="amount" not-null="true">
		<type name="numeric" length="5" precision="2"/>
	</column>
	<column name="payment_date" not-null="true">
		<type name="timestamp" length="1"/>
	</column>
	<constraint name="payment_p2007_06_payment_date_check" type="ck-constr" table="public.payment_p2007_06">
			<expression><![CDATA[((payment_date >= '2007-06-01 00:00:00'::timestamp without time zone) AND (payment_date < '2007-07-01 00:00:00'::timestamp without time zone))]]></expression>
	</constraint>
</table>

<sequence name="rental_rental_id_seq" cycle="false" start="1" increment="1" min-value="1" max-value="9223372036854775807" cache="1">
	<schema name="public"/>
	<role name="postgres"/>
</sequence>

<table name="rental" layers="0" collapse-mode="2" max-obj-count="8" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="1100" y="580"/>
	<column name="rental_id" not-null="true" default-value="nextval('rental_rental_id_seq'::regclass)">
		<type name="integer" length="1"/>
	</column>
	<column name="rental_date" not-null="true">
		<type name="timestamp" length="1"/>
	</column>
	<column name="inventory_id" not-null="true">
		<type name="integer" length="1"/>
	</column>
	<column name="customer_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="return_date">
		<type name="timestamp" length="1"/>
	</column>
	<column name="staff_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="last_update" not-null="true" default-value="now()">
		<type name="timestamp" length="1"/>
	</column>
	<constraint name="rental_pkey" type="pk-constr" factor="100" table="public.rental">
		<columns names="rental_id" ref-type="src-columns"/>
	</constraint>
</table>

<view name="sales_by_film_category" layers="0" collapse-mode="2" max-obj-count="1" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="3480" y="2100"/>
	<reference>
		<expression><![CDATA[ SELECT c.name AS category,
    sum(p.amount) AS total_sales
   FROM (((((payment p
     JOIN rental r ON ((p.rental_id = r.rental_id)))
     JOIN inventory i ON ((r.inventory_id = i.inventory_id)))
     JOIN film f ON ((i.film_id = f.film_id)))
     JOIN film_category fc ON ((f.film_id = fc.film_id)))
     JOIN category c ON ((fc.category_id = c.category_id)))
  GROUP BY c.name
  ORDER BY sum(p.amount) DESC;]]></expression>
	</reference>
</view>

<sequence name="staff_staff_id_seq" cycle="false" start="1" increment="1" min-value="1" max-value="9223372036854775807" cache="1">
	<schema name="public"/>
	<role name="postgres"/>
</sequence>

<table name="staff" layers="0" collapse-mode="2" max-obj-count="13" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="1020" y="2020"/>
	<column name="staff_id" not-null="true" default-value="nextval('staff_staff_id_seq'::regclass)">
		<type name="integer" length="1"/>
	</column>
	<column name="first_name" not-null="true">
		<type name="character varying" length="45"/>
	</column>
	<column name="last_name" not-null="true">
		<type name="character varying" length="45"/>
	</column>
	<column name="address_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="email">
		<type name="character varying" length="50"/>
	</column>
	<column name="store_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="active" not-null="true" default-value="true">
		<type name="boolean" length="1"/>
	</column>
	<column name="username" not-null="true">
		<type name="character varying" length="16"/>
	</column>
	<column name="password">
		<type name="character varying" length="40"/>
	</column>
	<column name="last_update" not-null="true" default-value="now()">
		<type name="timestamp" length="1"/>
	</column>
	<column name="picture">
		<type name="bytea" length="1"/>
	</column>
	<constraint name="staff_pkey" type="pk-constr" factor="100" table="public.staff">
		<columns names="staff_id" ref-type="src-columns"/>
	</constraint>
</table>

<sequence name="store_store_id_seq" cycle="false" start="1" increment="1" min-value="1" max-value="9223372036854775807" cache="1">
	<schema name="public"/>
	<role name="postgres"/>
</sequence>

<table name="store" layers="0" collapse-mode="2" max-obj-count="4" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="3040" y="480"/>
	<column name="store_id" not-null="true" default-value="nextval('store_store_id_seq'::regclass)">
		<type name="integer" length="1"/>
	</column>
	<column name="manager_staff_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="address_id" not-null="true">
		<type name="smallint" length="1"/>
	</column>
	<column name="last_update" not-null="true" default-value="now()">
		<type name="timestamp" length="1"/>
	</column>
	<constraint name="store_pkey" type="pk-constr" factor="100" table="public.store">
		<columns names="store_id" ref-type="src-columns"/>
	</constraint>
</table>

<view name="sales_by_store" layers="0" collapse-mode="2" max-obj-count="1" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="3160" y="1960"/>
	<reference>
		<expression><![CDATA[ SELECT (((c.city)::text || ','::text) || (cy.country)::text) AS store,
    (((m.first_name)::text || ' '::text) || (m.last_name)::text) AS manager,
    sum(p.amount) AS total_sales
   FROM (((((((payment p
     JOIN rental r ON ((p.rental_id = r.rental_id)))
     JOIN inventory i ON ((r.inventory_id = i.inventory_id)))
     JOIN store s ON ((i.store_id = s.store_id)))
     JOIN address a ON ((s.address_id = a.address_id)))
     JOIN city c ON ((a.city_id = c.city_id)))
     JOIN country cy ON ((c.country_id = cy.country_id)))
     JOIN staff m ON ((s.manager_staff_id = m.staff_id)))
  GROUP BY cy.country, c.city, s.store_id, m.first_name, m.last_name
  ORDER BY cy.country, c.city;]]></expression>
	</reference>
</view>

<view name="staff_list" layers="0" collapse-mode="2" max-obj-count="1" z-value="0">
	<schema name="public"/>
	<role name="postgres"/>
	<position x="3160" y="2100"/>
	<reference>
		<expression><![CDATA[ SELECT s.staff_id AS id,
    (((s.first_name)::text || ' '::text) || (s.last_name)::text) AS name,
    a.address,
    a.postal_code AS "zip code",
    a.phone,
    city.city,
    country.country,
    s.store_id AS sid
   FROM (((staff s
     JOIN address a ON ((s.address_id = a.address_id)))
     JOIN city ON ((a.city_id = city.city_id)))
     JOIN country ON ((city.country_id = country.country_id)));]]></expression>
	</reference>
</view>

<function name="film_in_stock"
		window-func="false"
		returns-setof="true"
		behavior-type="CALLED ON NULL INPUT"
		function-type="VOLATILE"
		security-type="SECURITY INVOKER"
		execution-cost="100"
		row-amount="1000">
	<schema name="public"/>
	<role name="postgres"/>
	<language name="sql" sql-disabled="true"/>
	<return-type>
	<type name="integer" length="1"/>
	</return-type>
	<parameter name="p_film_id" in="true">
		<type name="integer" length="1"/>
	</parameter>
	<parameter name="p_store_id" in="true">
		<type name="integer" length="1"/>
	</parameter>
	<parameter name="p_film_count" out="true">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[
     SELECT inventory_id
     FROM inventory
     WHERE film_id = $1
     AND store_id = $2
     --AND inventory_in_stock(inventory_id);
]]></definition>
</function>

<function name="film_not_in_stock"
		window-func="false"
		returns-setof="true"
		behavior-type="CALLED ON NULL INPUT"
		function-type="VOLATILE"
		security-type="SECURITY INVOKER"
		execution-cost="100"
		row-amount="1000">
	<schema name="public"/>
	<role name="postgres"/>
	<language name="sql" sql-disabled="true"/>
	<return-type>
	<type name="integer" length="1"/>
	</return-type>
	<parameter name="p_film_id" in="true">
		<type name="integer" length="1"/>
	</parameter>
	<parameter name="p_store_id" in="true">
		<type name="integer" length="1"/>
	</parameter>
	<parameter name="p_film_count" out="true">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[
    SELECT inventory_id
    FROM inventory
    WHERE film_id = $1
    AND store_id = $2
    --AND NOT inventory_in_stock(inventory_id);
]]></definition>
</function>

<function name="get_customer_balance"
		window-func="false"
		returns-setof="false"
		behavior-type="CALLED ON NULL INPUT"
		function-type="VOLATILE"
		security-type="SECURITY INVOKER"
		execution-cost="100"
		row-amount="0">
	<schema name="public"/>
	<role name="postgres"/>
	<language name="plpgsql" sql-disabled="true"/>
	<return-type>
	<type name="numeric" length="1"/>
	</return-type>
	<parameter name="p_customer_id">
		<type name="integer" length="1"/>
	</parameter>
	<parameter name="p_effective_date">
		<type name="timestamp" length="1"/>
	</parameter>
	<definition><![CDATA[
       --#OK, WE NEED TO CALCULATE THE CURRENT BALANCE GIVEN A CUSTOMER_ID AND A DATE
       --#THAT WE WANT THE BALANCE TO BE EFFECTIVE FOR. THE BALANCE IS:
       --#   1) RENTAL FEES FOR ALL PREVIOUS RENTALS
       --#   2) ONE DOLLAR FOR EVERY DAY THE PREVIOUS RENTALS ARE OVERDUE
       --#   3) IF A FILM IS MORE THAN RENTAL_DURATION * 2 OVERDUE, CHARGE THE REPLACEMENT_COST
       --#   4) SUBTRACT ALL PAYMENTS MADE BEFORE THE DATE SPECIFIED
DECLARE
    v_rentfees DECIMAL(5,2); --#FEES PAID TO RENT THE VIDEOS INITIALLY
    v_overfees INTEGER;      --#LATE FEES FOR PRIOR RENTALS
    v_payments DECIMAL(5,2); --#SUM OF PAYMENTS MADE PREVIOUSLY
BEGIN
    SELECT COALESCE(SUM(film.rental_rate),0) INTO v_rentfees
    FROM film, inventory, rental
    WHERE film.film_id = inventory.film_id
      AND inventory.inventory_id = rental.inventory_id
      AND rental.rental_date <= p_effective_date
      AND rental.customer_id = p_customer_id;

    SELECT COALESCE(SUM(IF((rental.return_date - rental.rental_date) > (film.rental_duration * '1 day'::interval),
        ((rental.return_date - rental.rental_date) - (film.rental_duration * '1 day'::interval)),0)),0) INTO v_overfees
    FROM rental, inventory, film
    WHERE film.film_id = inventory.film_id
      AND inventory.inventory_id = rental.inventory_id
      AND rental.rental_date <= p_effective_date
      AND rental.customer_id = p_customer_id;

    SELECT COALESCE(SUM(payment.amount),0) INTO v_payments
    FROM payment
    WHERE payment.payment_date <= p_effective_date
    AND payment.customer_id = p_customer_id;

    RETURN v_rentfees + v_overfees - v_payments;
END
]]></definition>
</function>

<function name="inventory_held_by_customer"
		window-func="false"
		returns-setof="false"
		behavior-type="CALLED ON NULL INPUT"
		function-type="VOLATILE"
		security-type="SECURITY INVOKER"
		execution-cost="100"
		row-amount="0">
	<schema name="public"/>
	<role name="postgres"/>
	<language name="plpgsql" sql-disabled="true"/>
	<return-type>
	<type name="integer" length="1"/>
	</return-type>
	<parameter name="p_inventory_id">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[
DECLARE
    v_customer_id INTEGER;
BEGIN

  SELECT customer_id INTO v_customer_id
  FROM rental
  WHERE return_date IS NULL
  AND inventory_id = p_inventory_id;

  RETURN v_customer_id;
END ]]></definition>
</function>

<function name="inventory_in_stock"
		window-func="false"
		returns-setof="false"
		behavior-type="CALLED ON NULL INPUT"
		function-type="VOLATILE"
		security-type="SECURITY INVOKER"
		execution-cost="100"
		row-amount="0">
	<schema name="public"/>
	<role name="postgres"/>
	<language name="plpgsql" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="p_inventory_id">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[
DECLARE
    v_rentals INTEGER;
    v_out     INTEGER;
BEGIN
    -- AN ITEM IS IN-STOCK IF THERE ARE EITHER NO ROWS IN THE rental TABLE
    -- FOR THE ITEM OR ALL ROWS HAVE return_date POPULATED

    SELECT count(*) INTO v_rentals
    FROM rental
    WHERE inventory_id = p_inventory_id;

    IF v_rentals = 0 THEN
      RETURN TRUE;
    END IF;

    SELECT COUNT(rental_id) INTO v_out
    FROM inventory LEFT JOIN rental USING(inventory_id)
    WHERE inventory.inventory_id = p_inventory_id
    AND rental.return_date IS NULL;

    IF v_out > 0 THEN
      RETURN FALSE;
    ELSE
      RETURN TRUE;
    END IF;
END ]]></definition>
</function>

<function name="last_day"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="100"
		row-amount="0">
	<schema name="public"/>
	<role name="postgres"/>
	<language name="sql" sql-disabled="true"/>
	<return-type>
	<type name="date" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp" length="1"/>
	</parameter>
	<definition><![CDATA[
  SELECT CASE
    WHEN EXTRACT(MONTH FROM $1) = 12 THEN
      (((EXTRACT(YEAR FROM $1) + 1) operator(pg_catalog.||) '-01-01')::date - INTERVAL '1 day')::date
    ELSE
      ((EXTRACT(YEAR FROM $1) operator(pg_catalog.||) '-' operator(pg_catalog.||) (EXTRACT(MONTH FROM $1) + 1) operator(pg_catalog.||) '-01')::date - INTERVAL '1 day')::date
    END
]]></definition>
</function>

<function name="last_updated"
		window-func="false"
		returns-setof="false"
		behavior-type="CALLED ON NULL INPUT"
		function-type="VOLATILE"
		security-type="SECURITY INVOKER"
		execution-cost="100"
		row-amount="0">
	<schema name="public"/>
	<role name="postgres"/>
	<language name="plpgsql" sql-disabled="true"/>
	<return-type>
	<type name="trigger" length="1"/>
	</return-type>
	<definition><![CDATA[
BEGIN
    NEW.last_update = CURRENT_TIMESTAMP;
    RETURN NEW;
END ]]></definition>
</function>

<function name="rewards_report"
		window-func="false"
		returns-setof="true"
		behavior-type="CALLED ON NULL INPUT"
		function-type="VOLATILE"
		security-type="SECURITY DEFINER"
		execution-cost="100"
		row-amount="1000">
	<schema name="public"/>
	<role name="postgres"/>
	<language name="plpgsql" sql-disabled="true"/>
	<return-type>
	<type name="public.customer" length="1"/>
	</return-type>
	<parameter name="min_monthly_purchases">
		<type name="integer" length="1"/>
	</parameter>
	<parameter name="min_dollar_amount_purchased">
		<type name="numeric" length="1"/>
	</parameter>
	<definition><![CDATA[
DECLARE
    last_month_start DATE;
    last_month_end DATE;
rr RECORD;
tmpSQL TEXT;
BEGIN

    /* Some sanity checks... */
    IF min_monthly_purchases = 0 THEN
        RAISE EXCEPTION 'Minimum monthly purchases parameter must be > 0';
    END IF;
    IF min_dollar_amount_purchased = 0.00 THEN
        RAISE EXCEPTION 'Minimum monthly dollar amount purchased parameter must be > $0.00';
    END IF;

    last_month_start := CURRENT_DATE - '3 month'::interval;
    last_month_start := to_date((extract(YEAR FROM last_month_start) || '-' || extract(MONTH FROM last_month_start) || '-01'),'YYYY-MM-DD');
    last_month_end := LAST_DAY(last_month_start);

    /*
    Create a temporary storage area for Customer IDs.
    */
    CREATE TEMPORARY TABLE tmpCustomer (customer_id INTEGER NOT NULL PRIMARY KEY);

    /*
    Find all customers meeting the monthly purchase requirements
    */

    tmpSQL := 'INSERT INTO tmpCustomer (customer_id)
        SELECT p.customer_id
        FROM payment AS p
        WHERE DATE(p.payment_date) BETWEEN '||quote_literal(last_month_start) ||' AND '|| quote_literal(last_month_end) || '
        GROUP BY customer_id
        HAVING SUM(p.amount) > '|| min_dollar_amount_purchased || '
        AND COUNT(customer_id) > ' ||min_monthly_purchases ;

    EXECUTE tmpSQL;

    /*
    Output ALL customer information of matching rewardees.
    Customize output as needed.
    */
    FOR rr IN EXECUTE 'SELECT c.* FROM tmpCustomer AS t INNER JOIN customer AS c ON t.customer_id = c.customer_id' LOOP
        RETURN NEXT rr;
    END LOOP;

    /* Clean up */
    tmpSQL := 'DROP TABLE tmpCustomer';
    EXECUTE tmpSQL;

RETURN;
END
]]></definition>
</function>

<function name="gtsvector_consistent" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[GiST tsvector support]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="internal" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="gtsvector" length="1"/>
	</parameter>
	<parameter name="_param3">
		<type name="integer" length="1"/>
	</parameter>
	<parameter name="_param4">
		<type name="oid" length="1"/>
	</parameter>
	<parameter name="_param5">
		<type name="internal" length="1"/>
	</parameter>
	<definition><![CDATA[gtsvector_consistent]]></definition>
</function>

<function name="gtsvector_union" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[GiST tsvector support]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="internal" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="internal" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="internal" length="1"/>
	</parameter>
	<definition><![CDATA[gtsvector_union]]></definition>
</function>

<function name="gtsvector_compress" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[GiST tsvector support]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="internal" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="internal" length="1"/>
	</parameter>
	<definition><![CDATA[gtsvector_compress]]></definition>
</function>

<function name="gtsvector_decompress" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[GiST tsvector support]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="internal" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="internal" length="1"/>
	</parameter>
	<definition><![CDATA[gtsvector_decompress]]></definition>
</function>

<function name="gtsvector_penalty" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[GiST tsvector support]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="internal" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="internal" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="internal" length="1"/>
	</parameter>
	<parameter name="_param3">
		<type name="internal" length="1"/>
	</parameter>
	<definition><![CDATA[gtsvector_penalty]]></definition>
</function>

<function name="gtsvector_picksplit" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[GiST tsvector support]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="internal" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="internal" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="internal" length="1"/>
	</parameter>
	<definition><![CDATA[gtsvector_picksplit]]></definition>
</function>

<function name="gtsvector_same" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[GiST tsvector support]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="internal" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="gtsvector" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="gtsvector" length="1"/>
	</parameter>
	<parameter name="_param3">
		<type name="internal" length="1"/>
	</parameter>
	<definition><![CDATA[gtsvector_same]]></definition>
</function>

<function name="ts_match_vq" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of @@ operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="tsvector" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="tsquery" length="1"/>
	</parameter>
	<definition><![CDATA[ts_match_vq]]></definition>
</function>

<function name="tsmatchsel" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[restriction selectivity of tsvector @@ tsquery]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="double precision" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="internal" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="oid" length="1"/>
	</parameter>
	<parameter name="_param3">
		<type name="internal" length="1"/>
	</parameter>
	<parameter name="_param4">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[tsmatchsel]]></definition>
</function>

<function name="tsmatchjoinsel" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[join selectivity of tsvector @@ tsquery]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="double precision" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="internal" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="oid" length="1"/>
	</parameter>
	<parameter name="_param3">
		<type name="internal" length="1"/>
	</parameter>
	<parameter name="_param4">
		<type name="smallint" length="1"/>
	</parameter>
	<parameter name="_param5">
		<type name="internal" length="1"/>
	</parameter>
	<definition><![CDATA[tsmatchjoinsel]]></definition>
</function>

<operator name="@@" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[text search match]]></comment>
	<type name="tsvector" length="1" ref-type="left-type"/>
	<type name="tsquery" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.ts_match_vq(tsvector,tsquery)"/>
	<function ref-type="join" signature="pg_catalog.tsmatchjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.tsmatchsel(internal,oid,internal,integer)"/>
</operator>

<opclass  name="tsvector_ops" index-type="gist" default="true" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<type name="tsvector" length="1"/>
	<element type="storage">
		<type name="gtsvector" length="1"/>
	</element>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.gtsvector_consistent(internal,gtsvector,integer,oid,internal)"/>
	</element>
	<element type="function" stg-number="2">
		<function signature="pg_catalog.gtsvector_union(internal,internal)"/>
	</element>
	<element type="function" stg-number="3">
		<function signature="pg_catalog.gtsvector_compress(internal)"/>
	</element>
	<element type="function" stg-number="4">
		<function signature="pg_catalog.gtsvector_decompress(internal)"/>
	</element>
	<element type="function" stg-number="5">
		<function signature="pg_catalog.gtsvector_penalty(internal,internal,internal)"/>
	</element>
	<element type="function" stg-number="6">
		<function signature="pg_catalog.gtsvector_picksplit(internal,internal)"/>
	</element>
	<element type="function" stg-number="7">
		<function signature="pg_catalog.gtsvector_same(gtsvector,gtsvector,internal)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.@@(tsvector,tsquery)"/>
	</element>
</opclass>

<index name="film_fulltext_idx" table="public.film"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="gist" factor="0">
		<idxelement use-sorting="false">
			<column name="fulltext"/>
			<opclass  signature="pg_catalog.tsvector_ops USING gist"/>
		</idxelement>
</index>

<function name="bttextcmp" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less-equal-greater]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="integer" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="text" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="text" length="1"/>
	</parameter>
	<definition><![CDATA[bttextcmp]]></definition>
</function>

<function name="text_lt" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of < operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="text" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="text" length="1"/>
	</parameter>
	<definition><![CDATA[text_lt]]></definition>
</function>

<function name="scalarltsel" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[restriction selectivity of < and related operators on scalar datatypes]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="double precision" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="internal" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="oid" length="1"/>
	</parameter>
	<parameter name="_param3">
		<type name="internal" length="1"/>
	</parameter>
	<parameter name="_param4">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[scalarltsel]]></definition>
</function>

<function name="scalarltjoinsel" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[join selectivity of < and related operators on scalar datatypes]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="double precision" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="internal" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="oid" length="1"/>
	</parameter>
	<parameter name="_param3">
		<type name="internal" length="1"/>
	</parameter>
	<parameter name="_param4">
		<type name="smallint" length="1"/>
	</parameter>
	<parameter name="_param5">
		<type name="internal" length="1"/>
	</parameter>
	<definition><![CDATA[scalarltjoinsel]]></definition>
</function>

<operator name="&lt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than]]></comment>
	<type name="text" length="1" ref-type="left-type"/>
	<type name="text" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.text_lt(text,text)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="text_le" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of <= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="text" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="text" length="1"/>
	</parameter>
	<definition><![CDATA[text_le]]></definition>
</function>

<operator name="&lt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than or equal]]></comment>
	<type name="text" length="1" ref-type="left-type"/>
	<type name="text" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.text_le(text,text)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="texteq" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of = operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="text" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="text" length="1"/>
	</parameter>
	<definition><![CDATA[texteq]]></definition>
</function>

<function name="eqsel" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[restriction selectivity of = and related operators]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="double precision" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="internal" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="oid" length="1"/>
	</parameter>
	<parameter name="_param3">
		<type name="internal" length="1"/>
	</parameter>
	<parameter name="_param4">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[eqsel]]></definition>
</function>

<function name="eqjoinsel" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[join selectivity of = and related operators]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="double precision" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="internal" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="oid" length="1"/>
	</parameter>
	<parameter name="_param3">
		<type name="internal" length="1"/>
	</parameter>
	<parameter name="_param4">
		<type name="smallint" length="1"/>
	</parameter>
	<parameter name="_param5">
		<type name="internal" length="1"/>
	</parameter>
	<definition><![CDATA[eqjoinsel]]></definition>
</function>

<operator name="=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[equal]]></comment>
	<type name="text" length="1" ref-type="left-type"/>
	<type name="text" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.texteq(text,text)"/>
	<function ref-type="join" signature="pg_catalog.eqjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.eqsel(internal,oid,internal,integer)"/>
</operator>

<function name="text_ge" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of >= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="text" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="text" length="1"/>
	</parameter>
	<definition><![CDATA[text_ge]]></definition>
</function>

<function name="scalargtsel" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[restriction selectivity of > and related operators on scalar datatypes]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="double precision" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="internal" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="oid" length="1"/>
	</parameter>
	<parameter name="_param3">
		<type name="internal" length="1"/>
	</parameter>
	<parameter name="_param4">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[scalargtsel]]></definition>
</function>

<function name="scalargtjoinsel" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[join selectivity of > and related operators on scalar datatypes]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="double precision" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="internal" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="oid" length="1"/>
	</parameter>
	<parameter name="_param3">
		<type name="internal" length="1"/>
	</parameter>
	<parameter name="_param4">
		<type name="smallint" length="1"/>
	</parameter>
	<parameter name="_param5">
		<type name="internal" length="1"/>
	</parameter>
	<definition><![CDATA[scalargtjoinsel]]></definition>
</function>

<operator name="&gt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than or equal]]></comment>
	<type name="text" length="1" ref-type="left-type"/>
	<type name="text" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.text_ge(text,text)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="text_gt" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of > operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="text" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="text" length="1"/>
	</parameter>
	<definition><![CDATA[text_gt]]></definition>
</function>

<operator name="&gt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than]]></comment>
	<type name="text" length="1" ref-type="left-type"/>
	<type name="text" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.text_gt(text,text)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<opclass  name="text_ops" index-type="btree" default="true" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<type name="text" length="1"/>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.bttextcmp(text,text)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(text,text)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(text,text)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(text,text)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(text,text)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(text,text)"/>
	</element>
</opclass>

<index name="idx_actor_last_name" table="public.actor"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="last_name"/>
			<collation name="pg_catalog.&quot;default&quot;"/>
			<opclass  signature="pg_catalog.text_ops USING btree"/>
		</idxelement>
</index>

<function name="btint2cmp" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less-equal-greater]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="integer" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="smallint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="smallint" length="1"/>
	</parameter>
	<definition><![CDATA[btint2cmp]]></definition>
</function>

<function name="btint2sortsupport" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[sort support]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="void" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="internal" length="1"/>
	</parameter>
	<definition><![CDATA[btint2sortsupport]]></definition>
</function>

<function name="btint24cmp" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less-equal-greater]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="integer" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="smallint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[btint24cmp]]></definition>
</function>

<function name="btint28cmp" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less-equal-greater]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="integer" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="smallint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="bigint" length="1"/>
	</parameter>
	<definition><![CDATA[btint28cmp]]></definition>
</function>

<function name="btint4cmp" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less-equal-greater]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="integer" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="integer" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[btint4cmp]]></definition>
</function>

<function name="btint4sortsupport" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[sort support]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="void" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="internal" length="1"/>
	</parameter>
	<definition><![CDATA[btint4sortsupport]]></definition>
</function>

<function name="btint48cmp" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less-equal-greater]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="integer" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="integer" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="bigint" length="1"/>
	</parameter>
	<definition><![CDATA[btint48cmp]]></definition>
</function>

<function name="btint42cmp" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less-equal-greater]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="integer" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="integer" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="smallint" length="1"/>
	</parameter>
	<definition><![CDATA[btint42cmp]]></definition>
</function>

<function name="btint8cmp" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less-equal-greater]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="integer" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="bigint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="bigint" length="1"/>
	</parameter>
	<definition><![CDATA[btint8cmp]]></definition>
</function>

<function name="btint8sortsupport" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[sort support]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="void" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="internal" length="1"/>
	</parameter>
	<definition><![CDATA[btint8sortsupport]]></definition>
</function>

<function name="btint84cmp" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less-equal-greater]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="integer" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="bigint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[btint84cmp]]></definition>
</function>

<function name="btint82cmp" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less-equal-greater]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="integer" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="bigint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="smallint" length="1"/>
	</parameter>
	<definition><![CDATA[btint82cmp]]></definition>
</function>

<function name="int2lt" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of < operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="smallint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="smallint" length="1"/>
	</parameter>
	<definition><![CDATA[int2lt]]></definition>
</function>

<operator name="&lt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than]]></comment>
	<type name="smallint" length="1" ref-type="left-type"/>
	<type name="smallint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int2lt(smallint,smallint)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="int2le" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of <= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="smallint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="smallint" length="1"/>
	</parameter>
	<definition><![CDATA[int2le]]></definition>
</function>

<operator name="&lt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than or equal]]></comment>
	<type name="smallint" length="1" ref-type="left-type"/>
	<type name="smallint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int2le(smallint,smallint)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="int2eq" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of = operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="smallint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="smallint" length="1"/>
	</parameter>
	<definition><![CDATA[int2eq]]></definition>
</function>

<operator name="=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[equal]]></comment>
	<type name="smallint" length="1" ref-type="left-type"/>
	<type name="smallint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int2eq(smallint,smallint)"/>
	<function ref-type="join" signature="pg_catalog.eqjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.eqsel(internal,oid,internal,integer)"/>
</operator>

<function name="int2ge" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of >= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="smallint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="smallint" length="1"/>
	</parameter>
	<definition><![CDATA[int2ge]]></definition>
</function>

<operator name="&gt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than or equal]]></comment>
	<type name="smallint" length="1" ref-type="left-type"/>
	<type name="smallint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int2ge(smallint,smallint)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="int2gt" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of > operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="smallint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="smallint" length="1"/>
	</parameter>
	<definition><![CDATA[int2gt]]></definition>
</function>

<operator name="&gt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than]]></comment>
	<type name="smallint" length="1" ref-type="left-type"/>
	<type name="smallint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int2gt(smallint,smallint)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="int24lt" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of < operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="smallint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[int24lt]]></definition>
</function>

<operator name="&lt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than]]></comment>
	<type name="smallint" length="1" ref-type="left-type"/>
	<type name="integer" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int24lt(smallint,integer)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="int24le" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of <= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="smallint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[int24le]]></definition>
</function>

<operator name="&lt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than or equal]]></comment>
	<type name="smallint" length="1" ref-type="left-type"/>
	<type name="integer" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int24le(smallint,integer)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="int24eq" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of = operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="smallint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[int24eq]]></definition>
</function>

<operator name="=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[equal]]></comment>
	<type name="smallint" length="1" ref-type="left-type"/>
	<type name="integer" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int24eq(smallint,integer)"/>
	<function ref-type="join" signature="pg_catalog.eqjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.eqsel(internal,oid,internal,integer)"/>
</operator>

<function name="int24ge" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of >= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="smallint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[int24ge]]></definition>
</function>

<operator name="&gt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than or equal]]></comment>
	<type name="smallint" length="1" ref-type="left-type"/>
	<type name="integer" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int24ge(smallint,integer)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="int24gt" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of > operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="smallint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[int24gt]]></definition>
</function>

<operator name="&gt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than]]></comment>
	<type name="smallint" length="1" ref-type="left-type"/>
	<type name="integer" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int24gt(smallint,integer)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="int28lt" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of < operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="smallint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="bigint" length="1"/>
	</parameter>
	<definition><![CDATA[int28lt]]></definition>
</function>

<operator name="&lt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than]]></comment>
	<type name="smallint" length="1" ref-type="left-type"/>
	<type name="bigint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int28lt(smallint,bigint)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="int28le" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of <= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="smallint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="bigint" length="1"/>
	</parameter>
	<definition><![CDATA[int28le]]></definition>
</function>

<operator name="&lt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than or equal]]></comment>
	<type name="smallint" length="1" ref-type="left-type"/>
	<type name="bigint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int28le(smallint,bigint)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="int28eq" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of = operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="smallint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="bigint" length="1"/>
	</parameter>
	<definition><![CDATA[int28eq]]></definition>
</function>

<operator name="=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[equal]]></comment>
	<type name="smallint" length="1" ref-type="left-type"/>
	<type name="bigint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int28eq(smallint,bigint)"/>
	<function ref-type="join" signature="pg_catalog.eqjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.eqsel(internal,oid,internal,integer)"/>
</operator>

<function name="int28ge" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of >= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="smallint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="bigint" length="1"/>
	</parameter>
	<definition><![CDATA[int28ge]]></definition>
</function>

<operator name="&gt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than or equal]]></comment>
	<type name="smallint" length="1" ref-type="left-type"/>
	<type name="bigint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int28ge(smallint,bigint)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="int28gt" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of > operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="smallint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="bigint" length="1"/>
	</parameter>
	<definition><![CDATA[int28gt]]></definition>
</function>

<operator name="&gt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than]]></comment>
	<type name="smallint" length="1" ref-type="left-type"/>
	<type name="bigint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int28gt(smallint,bigint)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="int4lt" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of < operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="integer" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[int4lt]]></definition>
</function>

<operator name="&lt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than]]></comment>
	<type name="integer" length="1" ref-type="left-type"/>
	<type name="integer" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int4lt(integer,integer)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="int4le" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of <= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="integer" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[int4le]]></definition>
</function>

<operator name="&lt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than or equal]]></comment>
	<type name="integer" length="1" ref-type="left-type"/>
	<type name="integer" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int4le(integer,integer)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="int4eq" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of = operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="integer" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[int4eq]]></definition>
</function>

<operator name="=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[equal]]></comment>
	<type name="integer" length="1" ref-type="left-type"/>
	<type name="integer" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int4eq(integer,integer)"/>
	<function ref-type="join" signature="pg_catalog.eqjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.eqsel(internal,oid,internal,integer)"/>
</operator>

<function name="int4ge" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of >= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="integer" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[int4ge]]></definition>
</function>

<operator name="&gt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than or equal]]></comment>
	<type name="integer" length="1" ref-type="left-type"/>
	<type name="integer" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int4ge(integer,integer)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="int4gt" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of > operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="integer" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[int4gt]]></definition>
</function>

<operator name="&gt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than]]></comment>
	<type name="integer" length="1" ref-type="left-type"/>
	<type name="integer" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int4gt(integer,integer)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="int42lt" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of < operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="integer" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="smallint" length="1"/>
	</parameter>
	<definition><![CDATA[int42lt]]></definition>
</function>

<operator name="&lt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than]]></comment>
	<type name="integer" length="1" ref-type="left-type"/>
	<type name="smallint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int42lt(integer,smallint)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="int42le" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of <= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="integer" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="smallint" length="1"/>
	</parameter>
	<definition><![CDATA[int42le]]></definition>
</function>

<operator name="&lt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than or equal]]></comment>
	<type name="integer" length="1" ref-type="left-type"/>
	<type name="smallint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int42le(integer,smallint)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="int42eq" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of = operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="integer" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="smallint" length="1"/>
	</parameter>
	<definition><![CDATA[int42eq]]></definition>
</function>

<operator name="=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[equal]]></comment>
	<type name="integer" length="1" ref-type="left-type"/>
	<type name="smallint" length="1" ref-type="right-type"/>
	<operator ref-type="commutator-op" signature="pg_catalog.=(smallint,integer)"/>
	<function ref-type="operfunc" signature="pg_catalog.int42eq(integer,smallint)"/>
	<function ref-type="join" signature="pg_catalog.eqjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.eqsel(internal,oid,internal,integer)"/>
</operator>

<function name="int42ge" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of >= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="integer" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="smallint" length="1"/>
	</parameter>
	<definition><![CDATA[int42ge]]></definition>
</function>

<operator name="&gt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than or equal]]></comment>
	<type name="integer" length="1" ref-type="left-type"/>
	<type name="smallint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int42ge(integer,smallint)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="int42gt" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of > operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="integer" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="smallint" length="1"/>
	</parameter>
	<definition><![CDATA[int42gt]]></definition>
</function>

<operator name="&gt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than]]></comment>
	<type name="integer" length="1" ref-type="left-type"/>
	<type name="smallint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int42gt(integer,smallint)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="int48lt" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of < operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="integer" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="bigint" length="1"/>
	</parameter>
	<definition><![CDATA[int48lt]]></definition>
</function>

<operator name="&lt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than]]></comment>
	<type name="integer" length="1" ref-type="left-type"/>
	<type name="bigint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int48lt(integer,bigint)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="int48le" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of <= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="integer" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="bigint" length="1"/>
	</parameter>
	<definition><![CDATA[int48le]]></definition>
</function>

<operator name="&lt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than or equal]]></comment>
	<type name="integer" length="1" ref-type="left-type"/>
	<type name="bigint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int48le(integer,bigint)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="int48eq" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of = operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="integer" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="bigint" length="1"/>
	</parameter>
	<definition><![CDATA[int48eq]]></definition>
</function>

<operator name="=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[equal]]></comment>
	<type name="integer" length="1" ref-type="left-type"/>
	<type name="bigint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int48eq(integer,bigint)"/>
	<function ref-type="join" signature="pg_catalog.eqjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.eqsel(internal,oid,internal,integer)"/>
</operator>

<function name="int48ge" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of >= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="integer" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="bigint" length="1"/>
	</parameter>
	<definition><![CDATA[int48ge]]></definition>
</function>

<operator name="&gt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than or equal]]></comment>
	<type name="integer" length="1" ref-type="left-type"/>
	<type name="bigint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int48ge(integer,bigint)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="int48gt" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of > operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="integer" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="bigint" length="1"/>
	</parameter>
	<definition><![CDATA[int48gt]]></definition>
</function>

<operator name="&gt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than]]></comment>
	<type name="integer" length="1" ref-type="left-type"/>
	<type name="bigint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int48gt(integer,bigint)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="int8lt" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of < operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="bigint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="bigint" length="1"/>
	</parameter>
	<definition><![CDATA[int8lt]]></definition>
</function>

<operator name="&lt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than]]></comment>
	<type name="bigint" length="1" ref-type="left-type"/>
	<type name="bigint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int8lt(bigint,bigint)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="int8le" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of <= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="bigint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="bigint" length="1"/>
	</parameter>
	<definition><![CDATA[int8le]]></definition>
</function>

<operator name="&lt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than or equal]]></comment>
	<type name="bigint" length="1" ref-type="left-type"/>
	<type name="bigint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int8le(bigint,bigint)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="int8eq" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of = operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="bigint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="bigint" length="1"/>
	</parameter>
	<definition><![CDATA[int8eq]]></definition>
</function>

<operator name="=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[equal]]></comment>
	<type name="bigint" length="1" ref-type="left-type"/>
	<type name="bigint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int8eq(bigint,bigint)"/>
	<function ref-type="join" signature="pg_catalog.eqjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.eqsel(internal,oid,internal,integer)"/>
</operator>

<function name="int8ge" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of >= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="bigint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="bigint" length="1"/>
	</parameter>
	<definition><![CDATA[int8ge]]></definition>
</function>

<operator name="&gt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than or equal]]></comment>
	<type name="bigint" length="1" ref-type="left-type"/>
	<type name="bigint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int8ge(bigint,bigint)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="int8gt" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of > operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="bigint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="bigint" length="1"/>
	</parameter>
	<definition><![CDATA[int8gt]]></definition>
</function>

<operator name="&gt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than]]></comment>
	<type name="bigint" length="1" ref-type="left-type"/>
	<type name="bigint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int8gt(bigint,bigint)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="int82lt" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of < operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="bigint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="smallint" length="1"/>
	</parameter>
	<definition><![CDATA[int82lt]]></definition>
</function>

<operator name="&lt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than]]></comment>
	<type name="bigint" length="1" ref-type="left-type"/>
	<type name="smallint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int82lt(bigint,smallint)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="int82le" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of <= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="bigint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="smallint" length="1"/>
	</parameter>
	<definition><![CDATA[int82le]]></definition>
</function>

<operator name="&lt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than or equal]]></comment>
	<type name="bigint" length="1" ref-type="left-type"/>
	<type name="smallint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int82le(bigint,smallint)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="int82eq" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of = operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="bigint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="smallint" length="1"/>
	</parameter>
	<definition><![CDATA[int82eq]]></definition>
</function>

<operator name="=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[equal]]></comment>
	<type name="bigint" length="1" ref-type="left-type"/>
	<type name="smallint" length="1" ref-type="right-type"/>
	<operator ref-type="commutator-op" signature="pg_catalog.=(smallint,bigint)"/>
	<function ref-type="operfunc" signature="pg_catalog.int82eq(bigint,smallint)"/>
	<function ref-type="join" signature="pg_catalog.eqjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.eqsel(internal,oid,internal,integer)"/>
</operator>

<function name="int82ge" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of >= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="bigint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="smallint" length="1"/>
	</parameter>
	<definition><![CDATA[int82ge]]></definition>
</function>

<operator name="&gt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than or equal]]></comment>
	<type name="bigint" length="1" ref-type="left-type"/>
	<type name="smallint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int82ge(bigint,smallint)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="int82gt" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of > operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="bigint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="smallint" length="1"/>
	</parameter>
	<definition><![CDATA[int82gt]]></definition>
</function>

<operator name="&gt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than]]></comment>
	<type name="bigint" length="1" ref-type="left-type"/>
	<type name="smallint" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int82gt(bigint,smallint)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="int84lt" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of < operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="bigint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[int84lt]]></definition>
</function>

<operator name="&lt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than]]></comment>
	<type name="bigint" length="1" ref-type="left-type"/>
	<type name="integer" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int84lt(bigint,integer)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="int84le" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of <= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="bigint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[int84le]]></definition>
</function>

<operator name="&lt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than or equal]]></comment>
	<type name="bigint" length="1" ref-type="left-type"/>
	<type name="integer" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int84le(bigint,integer)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="int84eq" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of = operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="bigint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[int84eq]]></definition>
</function>

<operator name="=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[equal]]></comment>
	<type name="bigint" length="1" ref-type="left-type"/>
	<type name="integer" length="1" ref-type="right-type"/>
	<operator ref-type="commutator-op" signature="pg_catalog.=(integer,bigint)"/>
	<function ref-type="operfunc" signature="pg_catalog.int84eq(bigint,integer)"/>
	<function ref-type="join" signature="pg_catalog.eqjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.eqsel(internal,oid,internal,integer)"/>
</operator>

<function name="int84ge" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of >= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="bigint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[int84ge]]></definition>
</function>

<operator name="&gt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than or equal]]></comment>
	<type name="bigint" length="1" ref-type="left-type"/>
	<type name="integer" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int84ge(bigint,integer)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="int84gt" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of > operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="bigint" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="integer" length="1"/>
	</parameter>
	<definition><![CDATA[int84gt]]></definition>
</function>

<operator name="&gt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than]]></comment>
	<type name="bigint" length="1" ref-type="left-type"/>
	<type name="integer" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.int84gt(bigint,integer)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<opclass  name="int2_ops" index-type="btree" default="true" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<type name="smallint" length="1"/>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.btint2cmp(smallint,smallint)"/>
	</element>
	<element type="function" stg-number="2">
		<function signature="pg_catalog.btint2sortsupport(internal)"/>
	</element>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.btint24cmp(smallint,integer)"/>
	</element>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.btint28cmp(smallint,bigint)"/>
	</element>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.btint4cmp(integer,integer)"/>
	</element>
	<element type="function" stg-number="2">
		<function signature="pg_catalog.btint4sortsupport(internal)"/>
	</element>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.btint48cmp(integer,bigint)"/>
	</element>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.btint42cmp(integer,smallint)"/>
	</element>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.btint8cmp(bigint,bigint)"/>
	</element>
	<element type="function" stg-number="2">
		<function signature="pg_catalog.btint8sortsupport(internal)"/>
	</element>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.btint84cmp(bigint,integer)"/>
	</element>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.btint82cmp(bigint,smallint)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
</opclass>

<index name="idx_fk_address_id" table="public.customer"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="address_id"/>
			<opclass  signature="pg_catalog.int2_ops USING btree"/>
		</idxelement>
</index>

<index name="idx_fk_city_id" table="public.address"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="city_id"/>
			<opclass  signature="pg_catalog.int2_ops USING btree"/>
		</idxelement>
</index>

<index name="idx_fk_country_id" table="public.city"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="country_id"/>
			<opclass  signature="pg_catalog.int2_ops USING btree"/>
		</idxelement>
</index>

<index name="idx_fk_customer_id" table="public.payment"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="customer_id"/>
			<opclass  signature="pg_catalog.int2_ops USING btree"/>
		</idxelement>
</index>

<index name="idx_fk_film_id" table="public.film_actor"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="film_id"/>
			<opclass  signature="pg_catalog.int2_ops USING btree"/>
		</idxelement>
</index>

<opclass  name="int4_ops" index-type="btree" default="true" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<type name="integer" length="1"/>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.btint2cmp(smallint,smallint)"/>
	</element>
	<element type="function" stg-number="2">
		<function signature="pg_catalog.btint2sortsupport(internal)"/>
	</element>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.btint24cmp(smallint,integer)"/>
	</element>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.btint28cmp(smallint,bigint)"/>
	</element>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.btint4cmp(integer,integer)"/>
	</element>
	<element type="function" stg-number="2">
		<function signature="pg_catalog.btint4sortsupport(internal)"/>
	</element>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.btint48cmp(integer,bigint)"/>
	</element>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.btint42cmp(integer,smallint)"/>
	</element>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.btint8cmp(bigint,bigint)"/>
	</element>
	<element type="function" stg-number="2">
		<function signature="pg_catalog.btint8sortsupport(internal)"/>
	</element>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.btint84cmp(bigint,integer)"/>
	</element>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.btint82cmp(bigint,smallint)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(smallint,smallint)"/>
	</element>
</opclass>

<index name="idx_fk_inventory_id" table="public.rental"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="inventory_id"/>
			<opclass  signature="pg_catalog.int4_ops USING btree"/>
		</idxelement>
</index>

<index name="idx_fk_language_id" table="public.film"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="language_id"/>
			<opclass  signature="pg_catalog.int2_ops USING btree"/>
		</idxelement>
</index>

<index name="idx_fk_original_language_id" table="public.film"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="original_language_id"/>
			<opclass  signature="pg_catalog.int2_ops USING btree"/>
		</idxelement>
</index>

<index name="idx_fk_payment_p2007_01_customer_id" table="public.payment_p2007_01"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="customer_id"/>
			<opclass  signature="pg_catalog.int2_ops USING btree"/>
		</idxelement>
</index>

<index name="idx_fk_payment_p2007_01_staff_id" table="public.payment_p2007_01"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="staff_id"/>
			<opclass  signature="pg_catalog.int2_ops USING btree"/>
		</idxelement>
</index>

<index name="idx_fk_payment_p2007_02_customer_id" table="public.payment_p2007_02"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="customer_id"/>
			<opclass  signature="pg_catalog.int2_ops USING btree"/>
		</idxelement>
</index>

<index name="idx_fk_payment_p2007_02_staff_id" table="public.payment_p2007_02"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="staff_id"/>
			<opclass  signature="pg_catalog.int2_ops USING btree"/>
		</idxelement>
</index>

<index name="idx_fk_payment_p2007_03_customer_id" table="public.payment_p2007_03"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="customer_id"/>
			<opclass  signature="pg_catalog.int2_ops USING btree"/>
		</idxelement>
</index>

<index name="idx_fk_payment_p2007_03_staff_id" table="public.payment_p2007_03"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="staff_id"/>
			<opclass  signature="pg_catalog.int2_ops USING btree"/>
		</idxelement>
</index>

<index name="idx_fk_payment_p2007_04_customer_id" table="public.payment_p2007_04"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="customer_id"/>
			<opclass  signature="pg_catalog.int2_ops USING btree"/>
		</idxelement>
</index>

<index name="idx_fk_payment_p2007_04_staff_id" table="public.payment_p2007_04"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="staff_id"/>
			<opclass  signature="pg_catalog.int2_ops USING btree"/>
		</idxelement>
</index>

<index name="idx_fk_payment_p2007_05_customer_id" table="public.payment_p2007_05"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="customer_id"/>
			<opclass  signature="pg_catalog.int2_ops USING btree"/>
		</idxelement>
</index>

<index name="idx_fk_payment_p2007_05_staff_id" table="public.payment_p2007_05"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="staff_id"/>
			<opclass  signature="pg_catalog.int2_ops USING btree"/>
		</idxelement>
</index>

<index name="idx_fk_payment_p2007_06_customer_id" table="public.payment_p2007_06"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="customer_id"/>
			<opclass  signature="pg_catalog.int2_ops USING btree"/>
		</idxelement>
</index>

<index name="idx_fk_payment_p2007_06_staff_id" table="public.payment_p2007_06"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="staff_id"/>
			<opclass  signature="pg_catalog.int2_ops USING btree"/>
		</idxelement>
</index>

<index name="idx_fk_staff_id" table="public.payment"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="staff_id"/>
			<opclass  signature="pg_catalog.int2_ops USING btree"/>
		</idxelement>
</index>

<index name="idx_fk_store_id" table="public.customer"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="store_id"/>
			<opclass  signature="pg_catalog.int2_ops USING btree"/>
		</idxelement>
</index>

<index name="idx_last_name" table="public.customer"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="last_name"/>
			<collation name="pg_catalog.&quot;default&quot;"/>
			<opclass  signature="pg_catalog.text_ops USING btree"/>
		</idxelement>
</index>

<index name="idx_store_id_film_id" table="public.inventory"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="store_id"/>
			<opclass  signature="pg_catalog.int2_ops USING btree"/>
		</idxelement>
		<idxelement use-sorting="false">
			<column name="film_id"/>
			<opclass  signature="pg_catalog.int2_ops USING btree"/>
		</idxelement>
</index>

<index name="idx_title" table="public.film"
	 concurrent="false" unique="false" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="title"/>
			<collation name="pg_catalog.&quot;default&quot;"/>
			<opclass  signature="pg_catalog.text_ops USING btree"/>
		</idxelement>
</index>

<index name="idx_unq_manager_staff_id" table="public.store"
	 concurrent="false" unique="true" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="manager_staff_id"/>
			<opclass  signature="pg_catalog.int2_ops USING btree"/>
		</idxelement>
</index>

<function name="date_cmp" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less-equal-greater]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="integer" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="date" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="date" length="1"/>
	</parameter>
	<definition><![CDATA[date_cmp]]></definition>
</function>

<function name="date_sortsupport" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[sort support]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="void" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="internal" length="1"/>
	</parameter>
	<definition><![CDATA[date_sortsupport]]></definition>
</function>

<function name="date_cmp_timestamp" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less-equal-greater]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="integer" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="date" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp" length="1"/>
	</parameter>
	<definition><![CDATA[date_cmp_timestamp]]></definition>
</function>

<function name="date_cmp_timestamptz" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less-equal-greater]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="integer" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="date" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<definition><![CDATA[date_cmp_timestamptz]]></definition>
</function>

<function name="timestamp_cmp" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less-equal-greater]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="integer" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp" length="1"/>
	</parameter>
	<definition><![CDATA[timestamp_cmp]]></definition>
</function>

<function name="timestamp_sortsupport" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[sort support]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="void" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="internal" length="1"/>
	</parameter>
	<definition><![CDATA[timestamp_sortsupport]]></definition>
</function>

<function name="timestamp_cmp_date" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less-equal-greater]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="integer" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="date" length="1"/>
	</parameter>
	<definition><![CDATA[timestamp_cmp_date]]></definition>
</function>

<function name="timestamp_cmp_timestamptz" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less-equal-greater]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="integer" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<definition><![CDATA[timestamp_cmp_timestamptz]]></definition>
</function>

<function name="timestamptz_cmp" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less-equal-greater]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="integer" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<definition><![CDATA[timestamp_cmp]]></definition>
</function>

<function name="timestamptz_cmp_date" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less-equal-greater]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="integer" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<parameter name="_param2">
		<type name="date" length="1"/>
	</parameter>
	<definition><![CDATA[timestamptz_cmp_date]]></definition>
</function>

<function name="timestamptz_cmp_timestamp" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less-equal-greater]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="integer" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp" length="1"/>
	</parameter>
	<definition><![CDATA[timestamptz_cmp_timestamp]]></definition>
</function>

<function name="date_lt" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of < operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="date" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="date" length="1"/>
	</parameter>
	<definition><![CDATA[date_lt]]></definition>
</function>

<operator name="&lt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than]]></comment>
	<type name="date" length="1" ref-type="left-type"/>
	<type name="date" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.date_lt(date,date)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="date_le" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of <= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="date" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="date" length="1"/>
	</parameter>
	<definition><![CDATA[date_le]]></definition>
</function>

<operator name="&lt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than or equal]]></comment>
	<type name="date" length="1" ref-type="left-type"/>
	<type name="date" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.date_le(date,date)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="date_eq" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of = operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="date" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="date" length="1"/>
	</parameter>
	<definition><![CDATA[date_eq]]></definition>
</function>

<operator name="=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[equal]]></comment>
	<type name="date" length="1" ref-type="left-type"/>
	<type name="date" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.date_eq(date,date)"/>
	<function ref-type="join" signature="pg_catalog.eqjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.eqsel(internal,oid,internal,integer)"/>
</operator>

<function name="date_ge" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of >= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="date" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="date" length="1"/>
	</parameter>
	<definition><![CDATA[date_ge]]></definition>
</function>

<operator name="&gt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than or equal]]></comment>
	<type name="date" length="1" ref-type="left-type"/>
	<type name="date" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.date_ge(date,date)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="date_gt" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of > operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="date" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="date" length="1"/>
	</parameter>
	<definition><![CDATA[date_gt]]></definition>
</function>

<operator name="&gt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than]]></comment>
	<type name="date" length="1" ref-type="left-type"/>
	<type name="date" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.date_gt(date,date)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="date_lt_timestamp" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of < operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="date" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp" length="1"/>
	</parameter>
	<definition><![CDATA[date_lt_timestamp]]></definition>
</function>

<operator name="&lt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than]]></comment>
	<type name="date" length="1" ref-type="left-type"/>
	<type name="timestamp" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.date_lt_timestamp(date,timestamp)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="date_le_timestamp" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of <= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="date" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp" length="1"/>
	</parameter>
	<definition><![CDATA[date_le_timestamp]]></definition>
</function>

<operator name="&lt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than or equal]]></comment>
	<type name="date" length="1" ref-type="left-type"/>
	<type name="timestamp" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.date_le_timestamp(date,timestamp)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="date_eq_timestamp" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of = operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="date" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp" length="1"/>
	</parameter>
	<definition><![CDATA[date_eq_timestamp]]></definition>
</function>

<operator name="=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[equal]]></comment>
	<type name="date" length="1" ref-type="left-type"/>
	<type name="timestamp" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.date_eq_timestamp(date,timestamp)"/>
	<function ref-type="join" signature="pg_catalog.eqjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.eqsel(internal,oid,internal,integer)"/>
</operator>

<function name="date_ge_timestamp" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of >= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="date" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp" length="1"/>
	</parameter>
	<definition><![CDATA[date_ge_timestamp]]></definition>
</function>

<operator name="&gt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than or equal]]></comment>
	<type name="date" length="1" ref-type="left-type"/>
	<type name="timestamp" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.date_ge_timestamp(date,timestamp)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="date_gt_timestamp" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of > operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="date" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp" length="1"/>
	</parameter>
	<definition><![CDATA[date_gt_timestamp]]></definition>
</function>

<operator name="&gt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than]]></comment>
	<type name="date" length="1" ref-type="left-type"/>
	<type name="timestamp" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.date_gt_timestamp(date,timestamp)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="date_lt_timestamptz" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of < operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="date" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<definition><![CDATA[date_lt_timestamptz]]></definition>
</function>

<operator name="&lt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than]]></comment>
	<type name="date" length="1" ref-type="left-type"/>
	<type name="timestamp with time zone" length="1" ref-type="right-type" with-timezone="true"/>
	<function ref-type="operfunc" signature="pg_catalog.date_lt_timestamptz(date,timestamp with time zone)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="date_le_timestamptz" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of <= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="date" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<definition><![CDATA[date_le_timestamptz]]></definition>
</function>

<operator name="&lt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than or equal]]></comment>
	<type name="date" length="1" ref-type="left-type"/>
	<type name="timestamp with time zone" length="1" ref-type="right-type" with-timezone="true"/>
	<function ref-type="operfunc" signature="pg_catalog.date_le_timestamptz(date,timestamp with time zone)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="date_eq_timestamptz" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of = operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="date" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<definition><![CDATA[date_eq_timestamptz]]></definition>
</function>

<operator name="=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[equal]]></comment>
	<type name="date" length="1" ref-type="left-type"/>
	<type name="timestamp with time zone" length="1" ref-type="right-type" with-timezone="true"/>
	<function ref-type="operfunc" signature="pg_catalog.date_eq_timestamptz(date,timestamp with time zone)"/>
	<function ref-type="join" signature="pg_catalog.eqjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.eqsel(internal,oid,internal,integer)"/>
</operator>

<function name="date_ge_timestamptz" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of >= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="date" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<definition><![CDATA[date_ge_timestamptz]]></definition>
</function>

<operator name="&gt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than or equal]]></comment>
	<type name="date" length="1" ref-type="left-type"/>
	<type name="timestamp with time zone" length="1" ref-type="right-type" with-timezone="true"/>
	<function ref-type="operfunc" signature="pg_catalog.date_ge_timestamptz(date,timestamp with time zone)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="date_gt_timestamptz" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of > operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="date" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<definition><![CDATA[date_gt_timestamptz]]></definition>
</function>

<operator name="&gt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than]]></comment>
	<type name="date" length="1" ref-type="left-type"/>
	<type name="timestamp with time zone" length="1" ref-type="right-type" with-timezone="true"/>
	<function ref-type="operfunc" signature="pg_catalog.date_gt_timestamptz(date,timestamp with time zone)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamp_lt" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of < operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp" length="1"/>
	</parameter>
	<definition><![CDATA[timestamp_lt]]></definition>
</function>

<operator name="&lt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than]]></comment>
	<type name="timestamp" length="1" ref-type="left-type"/>
	<type name="timestamp" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamp_lt(timestamp,timestamp)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamp_le" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of <= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp" length="1"/>
	</parameter>
	<definition><![CDATA[timestamp_le]]></definition>
</function>

<operator name="&lt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than or equal]]></comment>
	<type name="timestamp" length="1" ref-type="left-type"/>
	<type name="timestamp" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamp_le(timestamp,timestamp)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamp_eq" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of = operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp" length="1"/>
	</parameter>
	<definition><![CDATA[timestamp_eq]]></definition>
</function>

<operator name="=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[equal]]></comment>
	<type name="timestamp" length="1" ref-type="left-type"/>
	<type name="timestamp" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamp_eq(timestamp,timestamp)"/>
	<function ref-type="join" signature="pg_catalog.eqjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.eqsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamp_ge" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of >= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp" length="1"/>
	</parameter>
	<definition><![CDATA[timestamp_ge]]></definition>
</function>

<operator name="&gt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than or equal]]></comment>
	<type name="timestamp" length="1" ref-type="left-type"/>
	<type name="timestamp" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamp_ge(timestamp,timestamp)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamp_gt" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of > operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp" length="1"/>
	</parameter>
	<definition><![CDATA[timestamp_gt]]></definition>
</function>

<operator name="&gt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than]]></comment>
	<type name="timestamp" length="1" ref-type="left-type"/>
	<type name="timestamp" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamp_gt(timestamp,timestamp)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamp_lt_date" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of < operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="date" length="1"/>
	</parameter>
	<definition><![CDATA[timestamp_lt_date]]></definition>
</function>

<operator name="&lt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than]]></comment>
	<type name="timestamp" length="1" ref-type="left-type"/>
	<type name="date" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamp_lt_date(timestamp,date)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamp_le_date" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of <= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="date" length="1"/>
	</parameter>
	<definition><![CDATA[timestamp_le_date]]></definition>
</function>

<operator name="&lt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than or equal]]></comment>
	<type name="timestamp" length="1" ref-type="left-type"/>
	<type name="date" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamp_le_date(timestamp,date)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamp_eq_date" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of = operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="date" length="1"/>
	</parameter>
	<definition><![CDATA[timestamp_eq_date]]></definition>
</function>

<operator name="=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[equal]]></comment>
	<type name="timestamp" length="1" ref-type="left-type"/>
	<type name="date" length="1" ref-type="right-type"/>
	<operator ref-type="commutator-op" signature="pg_catalog.=(date,timestamp)"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamp_eq_date(timestamp,date)"/>
	<function ref-type="join" signature="pg_catalog.eqjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.eqsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamp_ge_date" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of >= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="date" length="1"/>
	</parameter>
	<definition><![CDATA[timestamp_ge_date]]></definition>
</function>

<operator name="&gt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than or equal]]></comment>
	<type name="timestamp" length="1" ref-type="left-type"/>
	<type name="date" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamp_ge_date(timestamp,date)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamp_gt_date" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of > operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="date" length="1"/>
	</parameter>
	<definition><![CDATA[timestamp_gt_date]]></definition>
</function>

<operator name="&gt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than]]></comment>
	<type name="timestamp" length="1" ref-type="left-type"/>
	<type name="date" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamp_gt_date(timestamp,date)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamp_lt_timestamptz" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of < operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<definition><![CDATA[timestamp_lt_timestamptz]]></definition>
</function>

<operator name="&lt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than]]></comment>
	<type name="timestamp" length="1" ref-type="left-type"/>
	<type name="timestamp with time zone" length="1" ref-type="right-type" with-timezone="true"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamp_lt_timestamptz(timestamp,timestamp with time zone)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamp_le_timestamptz" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of <= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<definition><![CDATA[timestamp_le_timestamptz]]></definition>
</function>

<operator name="&lt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than or equal]]></comment>
	<type name="timestamp" length="1" ref-type="left-type"/>
	<type name="timestamp with time zone" length="1" ref-type="right-type" with-timezone="true"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamp_le_timestamptz(timestamp,timestamp with time zone)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamp_eq_timestamptz" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of = operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<definition><![CDATA[timestamp_eq_timestamptz]]></definition>
</function>

<operator name="=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[equal]]></comment>
	<type name="timestamp" length="1" ref-type="left-type"/>
	<type name="timestamp with time zone" length="1" ref-type="right-type" with-timezone="true"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamp_eq_timestamptz(timestamp,timestamp with time zone)"/>
	<function ref-type="join" signature="pg_catalog.eqjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.eqsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamp_ge_timestamptz" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of >= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<definition><![CDATA[timestamp_ge_timestamptz]]></definition>
</function>

<operator name="&gt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than or equal]]></comment>
	<type name="timestamp" length="1" ref-type="left-type"/>
	<type name="timestamp with time zone" length="1" ref-type="right-type" with-timezone="true"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamp_ge_timestamptz(timestamp,timestamp with time zone)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamp_gt_timestamptz" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of > operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp" length="1"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<definition><![CDATA[timestamp_gt_timestamptz]]></definition>
</function>

<operator name="&gt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than]]></comment>
	<type name="timestamp" length="1" ref-type="left-type"/>
	<type name="timestamp with time zone" length="1" ref-type="right-type" with-timezone="true"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamp_gt_timestamptz(timestamp,timestamp with time zone)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamptz_lt" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of < operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<definition><![CDATA[timestamp_lt]]></definition>
</function>

<operator name="&lt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than]]></comment>
	<type name="timestamp with time zone" length="1" ref-type="left-type" with-timezone="true"/>
	<type name="timestamp with time zone" length="1" ref-type="right-type" with-timezone="true"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamptz_lt(timestamp with time zone,timestamp with time zone)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamptz_le" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of <= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<definition><![CDATA[timestamp_le]]></definition>
</function>

<operator name="&lt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than or equal]]></comment>
	<type name="timestamp with time zone" length="1" ref-type="left-type" with-timezone="true"/>
	<type name="timestamp with time zone" length="1" ref-type="right-type" with-timezone="true"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamptz_le(timestamp with time zone,timestamp with time zone)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamptz_eq" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of = operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<definition><![CDATA[timestamp_eq]]></definition>
</function>

<operator name="=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[equal]]></comment>
	<type name="timestamp with time zone" length="1" ref-type="left-type" with-timezone="true"/>
	<type name="timestamp with time zone" length="1" ref-type="right-type" with-timezone="true"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamptz_eq(timestamp with time zone,timestamp with time zone)"/>
	<function ref-type="join" signature="pg_catalog.eqjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.eqsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamptz_ge" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of >= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<definition><![CDATA[timestamp_ge]]></definition>
</function>

<operator name="&gt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than or equal]]></comment>
	<type name="timestamp with time zone" length="1" ref-type="left-type" with-timezone="true"/>
	<type name="timestamp with time zone" length="1" ref-type="right-type" with-timezone="true"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamptz_ge(timestamp with time zone,timestamp with time zone)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamptz_gt" sql-disabled="true"
		window-func="false"
		leakproof="true"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="IMMUTABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of > operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<definition><![CDATA[timestamp_gt]]></definition>
</function>

<operator name="&gt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than]]></comment>
	<type name="timestamp with time zone" length="1" ref-type="left-type" with-timezone="true"/>
	<type name="timestamp with time zone" length="1" ref-type="right-type" with-timezone="true"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamptz_gt(timestamp with time zone,timestamp with time zone)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamptz_lt_date" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of < operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<parameter name="_param2">
		<type name="date" length="1"/>
	</parameter>
	<definition><![CDATA[timestamptz_lt_date]]></definition>
</function>

<operator name="&lt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than]]></comment>
	<type name="timestamp with time zone" length="1" ref-type="left-type" with-timezone="true"/>
	<type name="date" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamptz_lt_date(timestamp with time zone,date)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamptz_le_date" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of <= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<parameter name="_param2">
		<type name="date" length="1"/>
	</parameter>
	<definition><![CDATA[timestamptz_le_date]]></definition>
</function>

<operator name="&lt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than or equal]]></comment>
	<type name="timestamp with time zone" length="1" ref-type="left-type" with-timezone="true"/>
	<type name="date" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamptz_le_date(timestamp with time zone,date)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamptz_eq_date" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of = operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<parameter name="_param2">
		<type name="date" length="1"/>
	</parameter>
	<definition><![CDATA[timestamptz_eq_date]]></definition>
</function>

<operator name="=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[equal]]></comment>
	<type name="timestamp with time zone" length="1" ref-type="left-type" with-timezone="true"/>
	<type name="date" length="1" ref-type="right-type"/>
	<operator ref-type="commutator-op" signature="pg_catalog.=(date,timestamp with time zone)"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamptz_eq_date(timestamp with time zone,date)"/>
	<function ref-type="join" signature="pg_catalog.eqjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.eqsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamptz_ge_date" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of >= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<parameter name="_param2">
		<type name="date" length="1"/>
	</parameter>
	<definition><![CDATA[timestamptz_ge_date]]></definition>
</function>

<operator name="&gt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than or equal]]></comment>
	<type name="timestamp with time zone" length="1" ref-type="left-type" with-timezone="true"/>
	<type name="date" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamptz_ge_date(timestamp with time zone,date)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamptz_gt_date" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of > operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<parameter name="_param2">
		<type name="date" length="1"/>
	</parameter>
	<definition><![CDATA[timestamptz_gt_date]]></definition>
</function>

<operator name="&gt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than]]></comment>
	<type name="timestamp with time zone" length="1" ref-type="left-type" with-timezone="true"/>
	<type name="date" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamptz_gt_date(timestamp with time zone,date)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamptz_lt_timestamp" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of < operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp" length="1"/>
	</parameter>
	<definition><![CDATA[timestamptz_lt_timestamp]]></definition>
</function>

<operator name="&lt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than]]></comment>
	<type name="timestamp with time zone" length="1" ref-type="left-type" with-timezone="true"/>
	<type name="timestamp" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamptz_lt_timestamp(timestamp with time zone,timestamp)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamptz_le_timestamp" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of <= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp" length="1"/>
	</parameter>
	<definition><![CDATA[timestamptz_le_timestamp]]></definition>
</function>

<operator name="&lt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[less than or equal]]></comment>
	<type name="timestamp with time zone" length="1" ref-type="left-type" with-timezone="true"/>
	<type name="timestamp" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamptz_le_timestamp(timestamp with time zone,timestamp)"/>
	<function ref-type="join" signature="pg_catalog.scalarltjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalarltsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamptz_eq_timestamp" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of = operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp" length="1"/>
	</parameter>
	<definition><![CDATA[timestamptz_eq_timestamp]]></definition>
</function>

<operator name="=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[equal]]></comment>
	<type name="timestamp with time zone" length="1" ref-type="left-type" with-timezone="true"/>
	<type name="timestamp" length="1" ref-type="right-type"/>
	<operator ref-type="commutator-op" signature="pg_catalog.=(timestamp,timestamp with time zone)"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamptz_eq_timestamp(timestamp with time zone,timestamp)"/>
	<function ref-type="join" signature="pg_catalog.eqjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.eqsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamptz_ge_timestamp" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of >= operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp" length="1"/>
	</parameter>
	<definition><![CDATA[timestamptz_ge_timestamp]]></definition>
</function>

<operator name="&gt;=" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than or equal]]></comment>
	<type name="timestamp with time zone" length="1" ref-type="left-type" with-timezone="true"/>
	<type name="timestamp" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamptz_ge_timestamp(timestamp with time zone,timestamp)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<function name="timestamptz_gt_timestamp" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="STRICT"
		function-type="STABLE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[implementation of > operator]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="boolean" length="1"/>
	</return-type>
	<parameter name="_param1">
		<type name="timestamp with time zone" length="1" with-timezone="true"/>
	</parameter>
	<parameter name="_param2">
		<type name="timestamp" length="1"/>
	</parameter>
	<definition><![CDATA[timestamptz_gt_timestamp]]></definition>
</function>

<operator name="&gt;" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[greater than]]></comment>
	<type name="timestamp with time zone" length="1" ref-type="left-type" with-timezone="true"/>
	<type name="timestamp" length="1" ref-type="right-type"/>
	<function ref-type="operfunc" signature="pg_catalog.timestamptz_gt_timestamp(timestamp with time zone,timestamp)"/>
	<function ref-type="join" signature="pg_catalog.scalargtjoinsel(internal,oid,internal,smallint,internal)"/>
	<function ref-type="restriction" signature="pg_catalog.scalargtsel(internal,oid,internal,integer)"/>
</operator>

<opclass  name="timestamp_ops" index-type="btree" default="true" sql-disabled="true">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<type name="timestamp" length="1"/>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.date_cmp(date,date)"/>
	</element>
	<element type="function" stg-number="2">
		<function signature="pg_catalog.date_sortsupport(internal)"/>
	</element>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.date_cmp_timestamp(date,timestamp)"/>
	</element>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.date_cmp_timestamptz(date,timestamp with time zone)"/>
	</element>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.timestamp_cmp(timestamp,timestamp)"/>
	</element>
	<element type="function" stg-number="2">
		<function signature="pg_catalog.timestamp_sortsupport(internal)"/>
	</element>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.timestamp_cmp_date(timestamp,date)"/>
	</element>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.timestamp_cmp_timestamptz(timestamp,timestamp with time zone)"/>
	</element>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.timestamptz_cmp(timestamp with time zone,timestamp with time zone)"/>
	</element>
	<element type="function" stg-number="2">
		<function signature="pg_catalog.timestamp_sortsupport(internal)"/>
	</element>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.timestamptz_cmp_date(timestamp with time zone,date)"/>
	</element>
	<element type="function" stg-number="1">
		<function signature="pg_catalog.timestamptz_cmp_timestamp(timestamp with time zone,timestamp)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="1">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="2">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="3">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="4">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
	<element type="operator" stg-number="5">
		<operator  signature="pg_catalog.&lt;(date,date)"/>
	</element>
</opclass>

<index name="idx_unq_rental_rental_date_inventory_id_customer_id" table="public.rental"
	 concurrent="false" unique="true" fast-update="false" buffering="false"
	 index-type="btree" factor="90">
		<idxelement use-sorting="false">
			<column name="rental_date"/>
			<opclass  signature="pg_catalog.timestamp_ops USING btree"/>
		</idxelement>
		<idxelement use-sorting="false">
			<column name="inventory_id"/>
			<opclass  signature="pg_catalog.int4_ops USING btree"/>
		</idxelement>
		<idxelement use-sorting="false">
			<column name="customer_id"/>
			<opclass  signature="pg_catalog.int2_ops USING btree"/>
		</idxelement>
</index>

<rule name="payment_insert_p2007_01" event-type="ON INSERT" exec-type="INSTEAD"
 table="public.payment">
		<condition><![CDATA[ ((new.payment_date >= '2007-01-01 00:00:00'::timestamp without time zone) AND (new.payment_date < '2007-02-01 00:00:00'::timestamp without time zone)) ]]></condition>
		<commands><![CDATA[INSERT INTO payment_p2007_01 (payment_id, customer_id, staff_id, rental_id, amount, payment_date)
  VALUES (DEFAULT, new.customer_id, new.staff_id, new.rental_id, new.amount, new.payment_date)]]></commands>
</rule>

<rule name="payment_insert_p2007_02" event-type="ON INSERT" exec-type="INSTEAD"
 table="public.payment">
		<condition><![CDATA[ ((new.payment_date >= '2007-02-01 00:00:00'::timestamp without time zone) AND (new.payment_date < '2007-03-01 00:00:00'::timestamp without time zone)) ]]></condition>
		<commands><![CDATA[INSERT INTO payment_p2007_02 (payment_id, customer_id, staff_id, rental_id, amount, payment_date)
  VALUES (DEFAULT, new.customer_id, new.staff_id, new.rental_id, new.amount, new.payment_date)]]></commands>
</rule>

<rule name="payment_insert_p2007_03" event-type="ON INSERT" exec-type="INSTEAD"
 table="public.payment">
		<condition><![CDATA[ ((new.payment_date >= '2007-03-01 00:00:00'::timestamp without time zone) AND (new.payment_date < '2007-04-01 00:00:00'::timestamp without time zone)) ]]></condition>
		<commands><![CDATA[INSERT INTO payment_p2007_03 (payment_id, customer_id, staff_id, rental_id, amount, payment_date)
  VALUES (DEFAULT, new.customer_id, new.staff_id, new.rental_id, new.amount, new.payment_date)]]></commands>
</rule>

<rule name="payment_insert_p2007_04" event-type="ON INSERT" exec-type="INSTEAD"
 table="public.payment">
		<condition><![CDATA[ ((new.payment_date >= '2007-04-01 00:00:00'::timestamp without time zone) AND (new.payment_date < '2007-05-01 00:00:00'::timestamp without time zone)) ]]></condition>
		<commands><![CDATA[INSERT INTO payment_p2007_04 (payment_id, customer_id, staff_id, rental_id, amount, payment_date)
  VALUES (DEFAULT, new.customer_id, new.staff_id, new.rental_id, new.amount, new.payment_date)]]></commands>
</rule>

<rule name="payment_insert_p2007_05" event-type="ON INSERT" exec-type="INSTEAD"
 table="public.payment">
		<condition><![CDATA[ ((new.payment_date >= '2007-05-01 00:00:00'::timestamp without time zone) AND (new.payment_date < '2007-06-01 00:00:00'::timestamp without time zone)) ]]></condition>
		<commands><![CDATA[INSERT INTO payment_p2007_05 (payment_id, customer_id, staff_id, rental_id, amount, payment_date)
  VALUES (DEFAULT, new.customer_id, new.staff_id, new.rental_id, new.amount, new.payment_date)]]></commands>
</rule>

<rule name="payment_insert_p2007_06" event-type="ON INSERT" exec-type="INSTEAD"
 table="public.payment">
		<condition><![CDATA[ ((new.payment_date >= '2007-06-01 00:00:00'::timestamp without time zone) AND (new.payment_date < '2007-07-01 00:00:00'::timestamp without time zone)) ]]></condition>
		<commands><![CDATA[INSERT INTO payment_p2007_06 (payment_id, customer_id, staff_id, rental_id, amount, payment_date)
  VALUES (DEFAULT, new.customer_id, new.staff_id, new.rental_id, new.amount, new.payment_date)]]></commands>
</rule>

<function name="tsvector_update_trigger" sql-disabled="true"
		window-func="false"
		returns-setof="false"
		behavior-type="CALLED ON NULL INPUT"
		function-type="VOLATILE"
		security-type="SECURITY INVOKER"
		execution-cost="1"
		row-amount="0">
	<schema name="pg_catalog"/>
	<role name="postgres"/>
	<comment><![CDATA[trigger for automatic update of tsvector column]]></comment>
	<language name="internal" sql-disabled="true"/>
	<return-type>
	<type name="trigger" length="1"/>
	</return-type>
	<definition><![CDATA[tsvector_update_trigger_byid]]></definition>
</function>

<trigger name="film_fulltext_trigger" firing-type="BEFORE" per-line="true" constraint="false"
	 ins-event="true" del-event="false" upd-event="true" trunc-event="false" arguments="fulltext,pg_catalog.english,title,description"
	 table="public.film">
		<function signature="pg_catalog.tsvector_update_trigger()"/>
</trigger>

<trigger name="last_updated" firing-type="BEFORE" per-line="true" constraint="false"
	 ins-event="false" del-event="false" upd-event="true" trunc-event="false"
	 table="public.actor">
		<function signature="public.last_updated()"/>
</trigger>

<trigger name="last_updated" firing-type="BEFORE" per-line="true" constraint="false"
	 ins-event="false" del-event="false" upd-event="true" trunc-event="false"
	 table="public.address">
		<function signature="public.last_updated()"/>
</trigger>

<trigger name="last_updated" firing-type="BEFORE" per-line="true" constraint="false"
	 ins-event="false" del-event="false" upd-event="true" trunc-event="false"
	 table="public.category">
		<function signature="public.last_updated()"/>
</trigger>

<trigger name="last_updated" firing-type="BEFORE" per-line="true" constraint="false"
	 ins-event="false" del-event="false" upd-event="true" trunc-event="false"
	 table="public.city">
		<function signature="public.last_updated()"/>
</trigger>

<trigger name="last_updated" firing-type="BEFORE" per-line="true" constraint="false"
	 ins-event="false" del-event="false" upd-event="true" trunc-event="false"
	 table="public.country">
		<function signature="public.last_updated()"/>
</trigger>

<trigger name="last_updated" firing-type="BEFORE" per-line="false" constraint="false"
	 ins-event="false" del-event="false" upd-event="true" trunc-event="false"
	 table="public.customer">
		<function signature="public.last_updated()"/>
</trigger>

<trigger name="last_updated" firing-type="BEFORE" per-line="true" constraint="false"
	 ins-event="false" del-event="false" upd-event="true" trunc-event="false"
	 table="public.film">
		<function signature="public.last_updated()"/>
</trigger>

<trigger name="last_updated" firing-type="BEFORE" per-line="true" constraint="false"
	 ins-event="false" del-event="false" upd-event="true" trunc-event="false"
	 table="public.film_actor">
		<function signature="public.last_updated()"/>
</trigger>

<trigger name="last_updated" firing-type="BEFORE" per-line="true" constraint="false"
	 ins-event="false" del-event="false" upd-event="true" trunc-event="false"
	 table="public.film_category">
		<function signature="public.last_updated()"/>
</trigger>

<trigger name="last_updated" firing-type="BEFORE" per-line="true" constraint="false"
	 ins-event="false" del-event="false" upd-event="true" trunc-event="false"
	 table="public.inventory">
		<function signature="public.last_updated()"/>
</trigger>

<trigger name="last_updated" firing-type="BEFORE" per-line="true" constraint="false"
	 ins-event="false" del-event="false" upd-event="true" trunc-event="false"
	 table="public.language">
		<function signature="public.last_updated()"/>
</trigger>

<trigger name="last_updated" firing-type="BEFORE" per-line="true" constraint="false"
	 ins-event="false" del-event="false" upd-event="true" trunc-event="false"
	 table="public.rental">
		<function signature="public.last_updated()"/>
</trigger>

<trigger name="last_updated" firing-type="BEFORE" per-line="true" constraint="false"
	 ins-event="false" del-event="false" upd-event="true" trunc-event="false"
	 table="public.staff">
		<function signature="public.last_updated()"/>
</trigger>

<trigger name="last_updated" firing-type="BEFORE" per-line="true" constraint="false"
	 ins-event="false" del-event="false" upd-event="true" trunc-event="false"
	 table="public.store">
		<function signature="public.last_updated()"/>
</trigger>

<relationship name="payment_p2007_01_inherits_payment" type="relgen" layers="0"
	 pk-pattern="{dt}_pk"
	 custom-color="#ac2cbc"
	 src-table="public.payment_p2007_01"
	 dst-table="public.payment"/>

<relationship name="payment_p2007_02_inherits_payment" type="relgen" layers="0"
	 pk-pattern="{dt}_pk"
	 custom-color="#168844"
	 src-table="public.payment_p2007_02"
	 dst-table="public.payment"/>

<relationship name="payment_p2007_03_inherits_payment" type="relgen" layers="0"
	 pk-pattern="{dt}_pk"
	 custom-color="#ddc2d5"
	 src-table="public.payment_p2007_03"
	 dst-table="public.payment"/>

<relationship name="payment_p2007_04_inherits_payment" type="relgen" layers="0"
	 pk-pattern="{dt}_pk"
	 custom-color="#e7c791"
	 src-table="public.payment_p2007_04"
	 dst-table="public.payment"/>

<relationship name="payment_p2007_05_inherits_payment" type="relgen" layers="0"
	 pk-pattern="{dt}_pk"
	 custom-color="#87bbf0"
	 src-table="public.payment_p2007_05"
	 dst-table="public.payment"/>

<relationship name="payment_p2007_06_inherits_payment" type="relgen" layers="0"
	 pk-pattern="{dt}_pk"
	 custom-color="#2b0aa0"
	 src-table="public.payment_p2007_06"
	 dst-table="public.payment"/>

<textbox name="pagila_desc" layers="0" z-value="0" font-size="11">
	<position x="340" y="280"/>
	<comment><![CDATA[[ pagila sample database ]

Pagila is a port of the Sakila example database available for MySQL, which was
originally developed by Mike Hillyer of the MySQL AB documentation team.
It is intended to provide a standard schema that can be used for examples in 
books, tutorials, articles, samples, etc.

This model was reverse engineered from the original database available
on this link: http://pgfoundry.org/projects/dbsamples]]></comment>
</textbox>

<constraint name="film_language_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="CASCADE" del-action="RESTRICT" ref-table="public.language" table="public.film">
	<columns names="language_id" ref-type="src-columns"/>
	<columns names="language_id" ref-type="dst-columns"/>
</constraint>

<constraint name="film_original_language_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="CASCADE" del-action="RESTRICT" ref-table="public.language" table="public.film">
	<columns names="original_language_id" ref-type="src-columns"/>
	<columns names="language_id" ref-type="dst-columns"/>
</constraint>

<constraint name="film_actor_actor_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="CASCADE" del-action="RESTRICT" ref-table="public.actor" table="public.film_actor">
	<columns names="actor_id" ref-type="src-columns"/>
	<columns names="actor_id" ref-type="dst-columns"/>
</constraint>

<constraint name="film_actor_film_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="CASCADE" del-action="RESTRICT" ref-table="public.film" table="public.film_actor">
	<columns names="film_id" ref-type="src-columns"/>
	<columns names="film_id" ref-type="dst-columns"/>
</constraint>

<constraint name="film_category_category_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="CASCADE" del-action="RESTRICT" ref-table="public.category" table="public.film_category">
	<columns names="category_id" ref-type="src-columns"/>
	<columns names="category_id" ref-type="dst-columns"/>
</constraint>

<constraint name="film_category_film_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="CASCADE" del-action="RESTRICT" ref-table="public.film" table="public.film_category">
	<columns names="film_id" ref-type="src-columns"/>
	<columns names="film_id" ref-type="dst-columns"/>
</constraint>

<constraint name="address_city_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="CASCADE" del-action="RESTRICT" ref-table="public.city" table="public.address">
	<columns names="city_id" ref-type="src-columns"/>
	<columns names="city_id" ref-type="dst-columns"/>
</constraint>

<constraint name="city_country_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="CASCADE" del-action="RESTRICT" ref-table="public.country" table="public.city">
	<columns names="country_id" ref-type="src-columns"/>
	<columns names="country_id" ref-type="dst-columns"/>
</constraint>

<constraint name="customer_address_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="CASCADE" del-action="RESTRICT" ref-table="public.address" table="public.customer">
	<columns names="address_id" ref-type="src-columns"/>
	<columns names="address_id" ref-type="dst-columns"/>
</constraint>

<constraint name="customer_store_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="CASCADE" del-action="RESTRICT" ref-table="public.store" table="public.customer">
	<columns names="store_id" ref-type="src-columns"/>
	<columns names="store_id" ref-type="dst-columns"/>
</constraint>

<constraint name="inventory_film_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="CASCADE" del-action="RESTRICT" ref-table="public.film" table="public.inventory">
	<columns names="film_id" ref-type="src-columns"/>
	<columns names="film_id" ref-type="dst-columns"/>
</constraint>

<constraint name="inventory_store_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="CASCADE" del-action="RESTRICT" ref-table="public.store" table="public.inventory">
	<columns names="store_id" ref-type="src-columns"/>
	<columns names="store_id" ref-type="dst-columns"/>
</constraint>

<constraint name="payment_customer_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="CASCADE" del-action="RESTRICT" ref-table="public.customer" table="public.payment">
	<columns names="customer_id" ref-type="src-columns"/>
	<columns names="customer_id" ref-type="dst-columns"/>
</constraint>

<constraint name="payment_rental_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="CASCADE" del-action="SET NULL" ref-table="public.rental" table="public.payment">
	<columns names="rental_id" ref-type="src-columns"/>
	<columns names="rental_id" ref-type="dst-columns"/>
</constraint>

<constraint name="payment_staff_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="CASCADE" del-action="RESTRICT" ref-table="public.staff" table="public.payment">
	<columns names="staff_id" ref-type="src-columns"/>
	<columns names="staff_id" ref-type="dst-columns"/>
</constraint>

<constraint name="payment_p2007_01_customer_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="NO ACTION" del-action="NO ACTION" ref-table="public.customer" table="public.payment_p2007_01">
	<columns names="customer_id" ref-type="src-columns"/>
	<columns names="customer_id" ref-type="dst-columns"/>
</constraint>

<constraint name="payment_p2007_01_rental_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="NO ACTION" del-action="NO ACTION" ref-table="public.rental" table="public.payment_p2007_01">
	<columns names="rental_id" ref-type="src-columns"/>
	<columns names="rental_id" ref-type="dst-columns"/>
</constraint>

<constraint name="payment_p2007_01_staff_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="NO ACTION" del-action="NO ACTION" ref-table="public.staff" table="public.payment_p2007_01">
	<columns names="staff_id" ref-type="src-columns"/>
	<columns names="staff_id" ref-type="dst-columns"/>
</constraint>

<constraint name="payment_p2007_02_customer_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="NO ACTION" del-action="NO ACTION" ref-table="public.customer" table="public.payment_p2007_02">
	<columns names="customer_id" ref-type="src-columns"/>
	<columns names="customer_id" ref-type="dst-columns"/>
</constraint>

<constraint name="payment_p2007_02_rental_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="NO ACTION" del-action="NO ACTION" ref-table="public.rental" table="public.payment_p2007_02">
	<columns names="rental_id" ref-type="src-columns"/>
	<columns names="rental_id" ref-type="dst-columns"/>
</constraint>

<constraint name="payment_p2007_02_staff_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="NO ACTION" del-action="NO ACTION" ref-table="public.staff" table="public.payment_p2007_02">
	<columns names="staff_id" ref-type="src-columns"/>
	<columns names="staff_id" ref-type="dst-columns"/>
</constraint>

<constraint name="payment_p2007_03_customer_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="NO ACTION" del-action="NO ACTION" ref-table="public.customer" table="public.payment_p2007_03">
	<columns names="customer_id" ref-type="src-columns"/>
	<columns names="customer_id" ref-type="dst-columns"/>
</constraint>

<constraint name="payment_p2007_03_rental_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="NO ACTION" del-action="NO ACTION" ref-table="public.rental" table="public.payment_p2007_03">
	<columns names="rental_id" ref-type="src-columns"/>
	<columns names="rental_id" ref-type="dst-columns"/>
</constraint>

<constraint name="payment_p2007_03_staff_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="NO ACTION" del-action="NO ACTION" ref-table="public.staff" table="public.payment_p2007_03">
	<columns names="staff_id" ref-type="src-columns"/>
	<columns names="staff_id" ref-type="dst-columns"/>
</constraint>

<constraint name="payment_p2007_04_customer_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="NO ACTION" del-action="NO ACTION" ref-table="public.customer" table="public.payment_p2007_04">
	<columns names="customer_id" ref-type="src-columns"/>
	<columns names="customer_id" ref-type="dst-columns"/>
</constraint>

<constraint name="payment_p2007_04_rental_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="NO ACTION" del-action="NO ACTION" ref-table="public.rental" table="public.payment_p2007_04">
	<columns names="rental_id" ref-type="src-columns"/>
	<columns names="rental_id" ref-type="dst-columns"/>
</constraint>

<constraint name="payment_p2007_04_staff_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="NO ACTION" del-action="NO ACTION" ref-table="public.staff" table="public.payment_p2007_04">
	<columns names="staff_id" ref-type="src-columns"/>
	<columns names="staff_id" ref-type="dst-columns"/>
</constraint>

<constraint name="payment_p2007_05_customer_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="NO ACTION" del-action="NO ACTION" ref-table="public.customer" table="public.payment_p2007_05">
	<columns names="customer_id" ref-type="src-columns"/>
	<columns names="customer_id" ref-type="dst-columns"/>
</constraint>

<constraint name="payment_p2007_05_rental_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="NO ACTION" del-action="NO ACTION" ref-table="public.rental" table="public.payment_p2007_05">
	<columns names="rental_id" ref-type="src-columns"/>
	<columns names="rental_id" ref-type="dst-columns"/>
</constraint>

<constraint name="payment_p2007_05_staff_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="NO ACTION" del-action="NO ACTION" ref-table="public.staff" table="public.payment_p2007_05">
	<columns names="staff_id" ref-type="src-columns"/>
	<columns names="staff_id" ref-type="dst-columns"/>
</constraint>

<constraint name="payment_p2007_06_customer_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="NO ACTION" del-action="NO ACTION" ref-table="public.customer" table="public.payment_p2007_06">
	<columns names="customer_id" ref-type="src-columns"/>
	<columns names="customer_id" ref-type="dst-columns"/>
</constraint>

<constraint name="payment_p2007_06_rental_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="NO ACTION" del-action="NO ACTION" ref-table="public.rental" table="public.payment_p2007_06">
	<columns names="rental_id" ref-type="src-columns"/>
	<columns names="rental_id" ref-type="dst-columns"/>
</constraint>

<constraint name="payment_p2007_06_staff_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="NO ACTION" del-action="NO ACTION" ref-table="public.staff" table="public.payment_p2007_06">
	<columns names="staff_id" ref-type="src-columns"/>
	<columns names="staff_id" ref-type="dst-columns"/>
</constraint>

<constraint name="rental_customer_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="CASCADE" del-action="RESTRICT" ref-table="public.customer" table="public.rental">
	<columns names="customer_id" ref-type="src-columns"/>
	<columns names="customer_id" ref-type="dst-columns"/>
</constraint>

<constraint name="rental_inventory_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="CASCADE" del-action="RESTRICT" ref-table="public.inventory" table="public.rental">
	<columns names="inventory_id" ref-type="src-columns"/>
	<columns names="inventory_id" ref-type="dst-columns"/>
</constraint>

<constraint name="rental_staff_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="CASCADE" del-action="RESTRICT" ref-table="public.staff" table="public.rental">
	<columns names="staff_id" ref-type="src-columns"/>
	<columns names="staff_id" ref-type="dst-columns"/>
</constraint>

<constraint name="staff_address_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="CASCADE" del-action="RESTRICT" ref-table="public.address" table="public.staff">
	<columns names="address_id" ref-type="src-columns"/>
	<columns names="address_id" ref-type="dst-columns"/>
</constraint>

<constraint name="staff_store_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="NO ACTION" del-action="NO ACTION" ref-table="public.store" table="public.staff">
	<columns names="store_id" ref-type="src-columns"/>
	<columns names="store_id" ref-type="dst-columns"/>
</constraint>

<constraint name="store_address_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="CASCADE" del-action="RESTRICT" ref-table="public.address" table="public.store">
	<columns names="address_id" ref-type="src-columns"/>
	<columns names="address_id" ref-type="dst-columns"/>
</constraint>

<constraint name="store_manager_staff_id_fkey" type="fk-constr" comparison-type="MATCH SIMPLE"
	 upd-action="CASCADE" del-action="RESTRICT" ref-table="public.staff" table="public.store">
	<columns names="manager_staff_id" ref-type="src-columns"/>
	<columns names="staff_id" ref-type="dst-columns"/>
</constraint>

<relationship name="rel_film_language" type="relfk" layers="0"
	 custom-color="#26b51d"
	 src-table="public.film"
	 dst-table="public.language" reference-fk="film_language_id_fkey"
	 src-required="false" dst-required="false"/>

<relationship name="rel_film_actor_actor" type="relfk" layers="0"
	 custom-color="#091daa"
	 src-table="public.film_actor"
	 dst-table="public.actor" reference-fk="film_actor_actor_id_fkey"
	 src-required="false" dst-required="false"/>

<relationship name="rel_film_actor_film" type="relfk" layers="0"
	 custom-color="#7500d6"
	 src-table="public.film_actor"
	 dst-table="public.film" reference-fk="film_actor_film_id_fkey"
	 src-required="false" dst-required="false"/>

<relationship name="rel_film_category_category" type="relfk" layers="0"
	 custom-color="#7a382a"
	 src-table="public.film_category"
	 dst-table="public.category" reference-fk="film_category_category_id_fkey"
	 src-required="false" dst-required="false"/>

<relationship name="rel_film_category_film" type="relfk" layers="0"
	 custom-color="#0e4789"
	 src-table="public.film_category"
	 dst-table="public.film" reference-fk="film_category_film_id_fkey"
	 src-required="false" dst-required="false"/>

<relationship name="rel_address_city" type="relfk" layers="0"
	 src-table="public.address"
	 dst-table="public.city" reference-fk="address_city_id_fkey"
	 src-required="false" dst-required="false"/>

<relationship name="rel_city_country" type="relfk" layers="0"
	 custom-color="#66bb68"
	 src-table="public.city"
	 dst-table="public.country" reference-fk="city_country_id_fkey"
	 src-required="false" dst-required="false"/>

<relationship name="rel_customer_address" type="relfk" layers="0"
	 custom-color="#d165b8"
	 src-table="public.customer"
	 dst-table="public.address" reference-fk="customer_address_id_fkey"
	 src-required="false" dst-required="false"/>

<relationship name="rel_customer_store" type="relfk" layers="0"
	 custom-color="#83a4c1"
	 src-table="public.customer"
	 dst-table="public.store" reference-fk="customer_store_id_fkey"
	 src-required="false" dst-required="false"/>

<relationship name="rel_inventory_film" type="relfk" layers="0"
	 custom-color="#7f121b"
	 src-table="public.inventory"
	 dst-table="public.film" reference-fk="inventory_film_id_fkey"
	 src-required="false" dst-required="false"/>

<relationship name="rel_inventory_store" type="relfk" layers="0"
	 custom-color="#1d0b32"
	 src-table="public.inventory"
	 dst-table="public.store" reference-fk="inventory_store_id_fkey"
	 src-required="false" dst-required="false"/>

<relationship name="rel_payment_customer" type="relfk" layers="0"
	 custom-color="#d6538b"
	 src-table="public.payment"
	 dst-table="public.customer" reference-fk="payment_customer_id_fkey"
	 src-required="false" dst-required="false">
	<label ref-type="dst-label">
		<position x="-27.2667" y="-15.8667"/>
	</label>
</relationship>

<relationship name="rel_payment_rental" type="relfk" layers="0"
	 custom-color="#36a493"
	 src-table="public.payment"
	 dst-table="public.rental" reference-fk="payment_rental_id_fkey"
	 src-required="false" dst-required="false"/>

<relationship name="rel_payment_staff" type="relfk" layers="0"
	 custom-color="#4f996e"
	 src-table="public.payment"
	 dst-table="public.staff" reference-fk="payment_staff_id_fkey"
	 src-required="false" dst-required="false"/>

<relationship name="rel_payment_p2007_01_customer" type="relfk" layers="0"
	 custom-color="#bd1cdb"
	 src-table="public.payment_p2007_01"
	 dst-table="public.customer" reference-fk="payment_p2007_01_customer_id_fkey"
	 src-required="false" dst-required="false">
	<label ref-type="dst-label">
		<position x="0.968582" y="55.898"/>
	</label>
</relationship>

<relationship name="rel_payment_p2007_01_rental" type="relfk" layers="0"
	 custom-color="#b1ce9e"
	 src-table="public.payment_p2007_01"
	 dst-table="public.rental" reference-fk="payment_p2007_01_rental_id_fkey"
	 src-required="false" dst-required="false"/>

<relationship name="rel_payment_p2007_01_staff" type="relfk" layers="0"
	 custom-color="#e4e019"
	 src-table="public.payment_p2007_01"
	 dst-table="public.staff" reference-fk="payment_p2007_01_staff_id_fkey"
	 src-required="false" dst-required="false"/>

<relationship name="rel_payment_p2007_02_customer" type="relfk" layers="0"
	 custom-color="#5b8079"
	 src-table="public.payment_p2007_02"
	 dst-table="public.customer" reference-fk="payment_p2007_02_customer_id_fkey"
	 src-required="false" dst-required="false"/>

<relationship name="rel_payment_p2007_02_rental" type="relfk" layers="0"
	 custom-color="#b24ded"
	 src-table="public.payment_p2007_02"
	 dst-table="public.rental" reference-fk="payment_p2007_02_rental_id_fkey"
	 src-required="false" dst-required="false"/>

<relationship name="rel_payment_p2007_02_staff" type="relfk" layers="0"
	 custom-color="#5074d4"
	 src-table="public.payment_p2007_02"
	 dst-table="public.staff" reference-fk="payment_p2007_02_staff_id_fkey"
	 src-required="false" dst-required="false"/>

<relationship name="rel_payment_p2007_03_customer" type="relfk" layers="0"
	 custom-color="#30065e"
	 src-table="public.payment_p2007_03"
	 dst-table="public.customer" reference-fk="payment_p2007_03_customer_id_fkey"
	 src-required="false" dst-required="false"/>

<relationship name="rel_payment_p2007_03_rental" type="relfk" layers="0"
	 custom-color="#60580f"
	 src-table="public.payment_p2007_03"
	 dst-table="public.rental" reference-fk="payment_p2007_03_rental_id_fkey"
	 src-required="false" dst-required="false">
	<label ref-type="src-label">
		<position x="8.22347" y="10.5646"/>
	</label>
</relationship>

<relationship name="rel_payment_p2007_03_staff" type="relfk" layers="0"
	 custom-color="#8f57b5"
	 src-table="public.payment_p2007_03"
	 dst-table="public.staff" reference-fk="payment_p2007_03_staff_id_fkey"
	 src-required="false" dst-required="false">
	<label ref-type="src-label">
		<position x="0" y="0"/>
	</label>
</relationship>

<relationship name="rel_payment_p2007_04_customer" type="relfk" layers="0"
	 custom-color="#99b174"
	 src-table="public.payment_p2007_04"
	 dst-table="public.customer" reference-fk="payment_p2007_04_customer_id_fkey"
	 src-required="false" dst-required="false">
	<label ref-type="src-label">
		<position x="0" y="0"/>
	</label>
</relationship>

<relationship name="rel_payment_p2007_04_rental" type="relfk" layers="0"
	 custom-color="#35a037"
	 src-table="public.payment_p2007_04"
	 dst-table="public.rental" reference-fk="payment_p2007_04_rental_id_fkey"
	 src-required="false" dst-required="false">
	<label ref-type="src-label">
		<position x="0" y="0"/>
	</label>
</relationship>

<relationship name="rel_payment_p2007_04_staff" type="relfk" layers="0"
	 custom-color="#dc6da2"
	 src-table="public.payment_p2007_04"
	 dst-table="public.staff" reference-fk="payment_p2007_04_staff_id_fkey"
	 src-required="false" dst-required="false">
	<label ref-type="src-label">
		<position x="0" y="0"/>
	</label>
</relationship>

<relationship name="rel_payment_p2007_05_customer" type="relfk" layers="0"
	 custom-color="#79242c"
	 src-table="public.payment_p2007_05"
	 dst-table="public.customer" reference-fk="payment_p2007_05_customer_id_fkey"
	 src-required="false" dst-required="false">
	<label ref-type="src-label">
		<position x="0" y="0"/>
	</label>
</relationship>

<relationship name="rel_payment_p2007_05_rental" type="relfk" layers="0"
	 custom-color="#62c5ee"
	 src-table="public.payment_p2007_05"
	 dst-table="public.rental" reference-fk="payment_p2007_05_rental_id_fkey"
	 src-required="false" dst-required="false">
	<label ref-type="src-label">
		<position x="0" y="0"/>
	</label>
</relationship>

<relationship name="rel_payment_p2007_05_staff" type="relfk" layers="0"
	 custom-color="#79bf2c"
	 src-table="public.payment_p2007_05"
	 dst-table="public.staff" reference-fk="payment_p2007_05_staff_id_fkey"
	 src-required="false" dst-required="false">
	<label ref-type="src-label">
		<position x="0" y="0"/>
	</label>
</relationship>

<relationship name="rel_payment_p2007_06_customer" type="relfk" layers="0"
	 custom-color="#ab2ffe"
	 src-table="public.payment_p2007_06"
	 dst-table="public.customer" reference-fk="payment_p2007_06_customer_id_fkey"
	 src-required="false" dst-required="false">
	<label ref-type="src-label">
		<position x="0" y="0"/>
	</label>
</relationship>

<relationship name="rel_payment_p2007_06_rental" type="relfk" layers="0"
	 custom-color="#fc430a"
	 src-table="public.payment_p2007_06"
	 dst-table="public.rental" reference-fk="payment_p2007_06_rental_id_fkey"
	 src-required="false" dst-required="false">
	<label ref-type="dst-label">
		<position x="0" y="0"/>
	</label>
</relationship>

<relationship name="rel_payment_p2007_06_staff" type="relfk" layers="0"
	 custom-color="#9637d2"
	 src-table="public.payment_p2007_06"
	 dst-table="public.staff" reference-fk="payment_p2007_06_staff_id_fkey"
	 src-required="false" dst-required="false">
	<label ref-type="src-label">
		<position x="0" y="0"/>
	</label>
</relationship>

<relationship name="rel_rental_customer" type="relfk" layers="0"
	 custom-color="#413a57"
	 src-table="public.rental"
	 dst-table="public.customer" reference-fk="rental_customer_id_fkey"
	 src-required="false" dst-required="false">
	<label ref-type="dst-label">
		<position x="4.49799" y="-51.1608"/>
	</label>
</relationship>

<relationship name="rel_rental_inventory" type="relfk" layers="0"
	 custom-color="#8c700c"
	 src-table="public.rental"
	 dst-table="public.inventory" reference-fk="rental_inventory_id_fkey"
	 src-required="false" dst-required="false"/>

<relationship name="rel_rental_staff" type="relfk" layers="0"
	 custom-color="#ba8ccc"
	 src-table="public.rental"
	 dst-table="public.staff" reference-fk="rental_staff_id_fkey"
	 src-required="false" dst-required="false"/>

<relationship name="rel_staff_address" type="relfk" layers="0"
	 custom-color="#8828b6"
	 src-table="public.staff"
	 dst-table="public.address" reference-fk="staff_address_id_fkey"
	 src-required="false" dst-required="false"/>

<relationship name="rel_staff_store" type="relfk" layers="0"
	 custom-color="#3e8d1f"
	 src-table="public.staff"
	 dst-table="public.store" reference-fk="staff_store_id_fkey"
	 src-required="false" dst-required="false"/>

<relationship name="rel_store_address" type="relfk" layers="0"
	 custom-color="#31dbf0"
	 src-table="public.store"
	 dst-table="public.address" reference-fk="store_address_id_fkey"
	 src-required="false" dst-required="false"/>

<relationship name="rel_film_language1" type="relfk" layers="0"
	 src-table="public.film"
	 dst-table="public.language" reference-fk="film_original_language_id_fkey"
	 src-required="false" dst-required="false"/>

<relationship name="rel_store_staff" type="relfk" layers="0"
	 src-table="public.store"
	 dst-table="public.staff" reference-fk="store_manager_staff_id_fkey"
	 src-required="false" dst-required="true"/>

</dbmodel>
