<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://sqlines.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://sqlines.com/feed.php">
        <title>SQLines Tools postgresql:statements</title>
        <description></description>
        <link>https://sqlines.com/</link>
        <image rdf:resource="https://sqlines.com/lib/images/favicon.ico" />
       <dc:date>2026-04-04T08:04:05+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://sqlines.com/postgresql/statements/create_domain?rev=1332358596&amp;do=diff"/>
                <rdf:li rdf:resource="https://sqlines.com/postgresql/statements/create_temporary_table?rev=1701714679&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://sqlines.com/lib/images/favicon.ico">
        <title>SQLines Tools</title>
        <link>https://sqlines.com/</link>
        <url>https://sqlines.com/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="https://sqlines.com/postgresql/statements/create_domain?rev=1332358596&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-03-21T19:36:36+00:00</dc:date>
        <title>PostgreSQL - CREATE DOMAIN - Create User-Defined Data Type (UDT)</title>
        <link>https://sqlines.com/postgresql/statements/create_domain?rev=1332358596&amp;do=diff</link>
        <description>CREATE DOMAIN statement creates a user-defined data type with a range, optional DEFAULT, NOT NULL and CHECK constraint. A domain is an alias for a built-in data type.

Quick Example:


   -- Define a type
   CREATE DOMAIN addr VARCHAR(90);
   
   -- Use it in a table
   CREATE TABLE location (address addr);</description>
    </item>
    <item rdf:about="https://sqlines.com/postgresql/statements/create_temporary_table?rev=1701714679&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-12-04T18:31:19+00:00</dc:date>
        <title>PostgreSQL - CREATE TEMPORARY TABLE - Guide, Examples and Alternatives</title>
        <link>https://sqlines.com/postgresql/statements/create_temporary_table?rev=1701714679&amp;do=diff</link>
        <description>CREATE TEMPORARY TABLE statement creates a temporary table that is automatically dropped at the end of a session, or the current transaction (ON COMMIT DROP option). 

Quick Example:


   -- Create a temporary table
   CREATE TEMPORARY TABLE temp_location
   (
      city VARCHAR(80),
      street VARCHAR(80)
   ) 
   ON COMMIT DELETE ROWS;</description>
    </item>
</rdf:RDF>
