<?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 mysql-to-postgresql</title>
        <description></description>
        <link>https://sqlines.com/</link>
        <image rdf:resource="https://sqlines.com/lib/images/favicon.ico" />
       <dc:date>2026-04-09T12:50:14+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://sqlines.com/mysql-to-postgresql/bit?rev=1736322273&amp;do=diff"/>
                <rdf:li rdf:resource="https://sqlines.com/mysql-to-postgresql/constraint_relation_already_exists?rev=1645028915&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/mysql-to-postgresql/bit?rev=1736322273&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-08T07:44:33+00:00</dc:date>
        <title>BIT Data Type - MySQL to PostgreSQL Migration</title>
        <link>https://sqlines.com/mysql-to-postgresql/bit?rev=1736322273&amp;do=diff</link>
        <description>In MySQL and PostgreSQL, the BIT data type stores bit values. MySQL allows you to store up to 64 bits, while PostgreSQL does not have maximum length restrictions.

MySQL and PostgreSQL:


  -- Sample table 
  CREATE TABLE bits
  (
    c1 BIT,
    c2 BIT(3)
  );
  
  -- Sample data
  INSERT INTO bits VALUES (b'0', b'101');</description>
    </item>
    <item rdf:about="https://sqlines.com/mysql-to-postgresql/constraint_relation_already_exists?rev=1645028915&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-02-16T16:28:35+00:00</dc:date>
        <title>Constraints - Relation Already Exists Issue - MySQL to PostgreSQL Migration</title>
        <link>https://sqlines.com/mysql-to-postgresql/constraint_relation_already_exists?rev=1645028915&amp;do=diff</link>
        <description>When migrating tables from MySQL to PostgreSQL you can notice “ERROR: relation “constraint_name” already exists” error. For example, 

MySQL:


  CREATE TABLE u1 (c1 INT, CONSTRAINT un UNIQUE(c1));
  # Query OK, 0 rows affected (0.10 sec)

  CREATE TABLE u2 (c1 INT, CONSTRAINT un UNIQUE(c1));
  # Query OK, 0 rows affected (0.04 sec)</description>
    </item>
</rdf:RDF>
