<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <id>https://ivorySQL.org/blog</id>
    <title>IvorySQL Blog</title>
    <updated>2022-06-02T00:00:00.000Z</updated>
    <generator>https://github.com/jpmonette/feed</generator>
    <link rel="alternate" href="https://ivorySQL.org/blog"/>
    <subtitle>IvorySQL Blog</subtitle>
    <icon>https://ivorySQL.org/img/favicon.ico</icon>
    <entry>
        <title type="html"><![CDATA[PGCon2022 meeting review | Technical explanation of IvorySQL project]]></title>
        <id>IvorySQL-PGCon2022</id>
        <link href="https://ivorySQL.org/blog/IvorySQL-PGCon2022"/>
        <updated>2022-06-02T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[Grant Zhou, head of Highgo North America Research Institute, delivered the technical explanation of IvorySQL project at the meeting on May 26, 2022 Ottawa time.]]></summary>
        <content type="html"><![CDATA[<p>Grant Zhou, head of Highgo North America Research Institute, delivered the technical explanation of IvorySQL project at the meeting on May 26, 2022 Ottawa time.</p><p>This conference mainly introduces who we are, what IvorySQL is, IvorySQL key function points, community contribution guide, developer guide, etc. Based on PostgreSQL 14, IvorySQL adds some exciting features on top of PostgreSQL!</p><p>IvorySQL provides the following features based on PostgreSQL:</p><ul><li><p>Oracle compatible Packages</p></li><li><p>Oracle compatible PL/iSQL procedural language</p></li><li><p>GUC to switch between Oracle and PostgreSQL modes</p></li><li><p>Oracle compatible syntax for various DDL operations</p></li><li><p>Oracle compatible date/time functions</p></li><li><p>Built-in Orafce (<a href="https://github.com/orafce/orafce">https://github.com/orafce/orafce</a>)</p></li></ul><p>Many more …,  please read the release notes from <a href="https://www.ivorysql.org/zh-CN/releases-page">https://www.ivorysql.org/zh-CN/releases-page</a></p><ul><li><p>Please check the Issues tab in GitHub regularly to get the latest feature lists</p></li><li><p>Welcome everyone to submit the features you want here</p></li></ul><p><a href="https://github.com/IvorySQL/IvorySQL/issues">https://github.com/IvorySQL/IvorySQL/issues</a></p><p>bilibili  Video explanation link:</p><p><a href="https://www.bilibili.com/video/BV17U4y1y7nZ?spm_id_from=333.999.list.card_archive.click">https://www.bilibili.com/video/BV17U4y1y7nZ?spm_id_from=333.999.list.card_archive.click</a></p><hr/><blockquote><p>Join the IvorySQL community by subscribing to mailing lists:  </p><ul><li><strong><a href="https://lists.ivorysql.org/postorius/lists/hackers.ivorysql.org/">Hackers List</a></strong>  </li><li><strong><a href="https://lists.ivorysql.org/postorius/lists/general.ivorysql.org/">Users List</a></strong>  </li></ul><p><strong><em>Also, don&#x27;t forget to give us a :star: on <a href="https://github.com/IvorySQL/IvorySQL">Github</a></em></strong></p></blockquote>]]></content>
        <author>
            <name>IvorySQL Team</name>
            <uri>https://github.com/ivorysql</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[Introduction to IvorySQL Packages]]></title>
        <id>IvorySQL-Packages</id>
        <link href="https://ivorySQL.org/blog/IvorySQL-Packages"/>
        <updated>2022-05-27T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[IvorySQL is an open source project. One of the core goals of this project is to deliver oracle]]></summary>
        <content type="html"><![CDATA[<p>IvorySQL is an open source project. One of the core goals of this project is to deliver oracle
compatibility, So that one can use the oracle code on IvorySQL database server.</p><p>Providing Oracle compatibility on top of PostgreSQL is a multi-dimensional task. Ranging from providing the Oracle compatible SQL syntax to adding support for data types that are either missing or behaves differently in PostgreSQL. One of the main core of Oracle compatibility is to provide the compatible PL (procedural language) in PostgreSQL that is functionally and syntactical compatible with Oracle&#x27;s PL/SQL. For that purpose IvorySQL has added a new PL language PL/iSQL that that accepts, understands and executes the PL/SQL syntax.
And as you know one of the core feature of Oracle&#x27;s PL/SQL is the PACKAGES.
Package is a schema object in Oracle that contains definitions for a group of related functionalities and is one of the most widely used feature of Oracle.</p><p>So In this blog I will give a introduction of Packages followed by an example on how you can create, use, and destroy Oracle style packages with IvorySQL.</p><h2>Packages</h2><p>So what are packages? The Packages are grouping of PL/iSQL code, divided in logical program units. In other words
a package can be considered a collection of related functions, procedures, variables or cursors. This collection is
collectively be accessed via the common name.</p><p>IvorySQL has PL/iSQL language that accepts, understands and executes the PL/SQL code. The packages use this same language. The packages have two main components.</p><ul><li><p>Package Specification
The package specification lists all the items that can be accessed from outside the package. such as functions, procedures, variables and cursors. This is also know as public specification.</p></li><li><p>Package Body
The Package Body contains the implementation of all functions and procedures that are listed in the package specification. In addition these, it can also implement more function and procedure or other elements.</p></li></ul><p>These elements that are not in the package specification, will be treated private members of the package and these can only be referenced from within the package. The outside access is not permitted.</p><p>The package body can also have a special code block called initializer block. This is a special because this block is
executed only once per session, at the very beginning when the package is first accessed.</p><p>Let&#x27;s see some example of the code and see how a package operates.</p><h2>Example</h2><h3>Generic Example</h3><p>First let&#x27;s set the compatibility mode, so we can access oracle compatible features available in the ivorysql database.</p><p><code>SET compatible_mode TO oracle;</code></p><pre><code>CREATE TABLE books (
    id     INT, 
    title  VARCHAR2(100), 
    author VARCHAR2(100),
    price  NUMBER);
</code></pre><pre><code>INSERT INTO books VALUES (10, &#x27;The Hobbit&#x27;, &#x27;J. R. R. Tolkien&#x27;, 10.0);
INSERT INTO books VALUES (11, &#x27;Winnie-the-Pooh&#x27;, &#x27;A. A. Milne&#x27;, 5.0);
INSERT INTO books VALUES (12, &#x27;Peter Pan&#x27;, &#x27;James Matthew Barrie&#x27;, 4.0);
INSERT INTO books VALUES (13, &#x27;Charlie and the Chocolate Factory&#x27;, &#x27;Roald Dahl&#x27;, 5.0);
INSERT INTO books VALUES (14, &#x27;SThe Jungle Book&#x27;, &#x27;Rudyard Kipling&#x27;, 9.0);
INSERT INTO books VALUES (15, &#x27;The Little White Bird&#x27;, &#x27;James Matthew Barrie&#x27;, 3.0);
</code></pre><p>Let&#x27;s create a simple package. This package declares a cursor to list all available books. Have some subprograms to list, add and remove books. It also declares a some private variables to keep count and book information.</p><pre><code>CREATE OR REPLACE PACKAGE mybooks AS
    CURSOR      booksinfo IS SELECT * from BOOKS;

    PROCEDURE list_books;
    FUNCTION add_book(title VARCHAR2(100), author VARCHAR2(100), 
         price NUMBER) RETURN bool;
    PROCEDURE remove_book(book_title VARCHAR2(100));
END;
ivorysql$# /
CREATE PACKAGE
</code></pre><pre><code>CREATE OR REPLACE PACKAGE BODY mybooks AS

    -- declare private variables
    bookinfo    booksinfo%rowtype; 
    books_count INT;

    PROCEDURE list_books AS
    BEGIN
        OPEN booksinfo;
        RAISE INFO &#x27;Book Info:&#x27;;
        RAISE INFO &#x27;&#x27;;
        LOOP
            FETCH booksinfo into bookinfo;
            EXIT WHEN NOT FOUND;

            RAISE INFO &#x27;  Name    = %&#x27;, bookinfo.title;
            RAISE INFO &#x27;  Author  = %&#x27;, bookinfo.author;
            RAISE INFO &#x27;  Price   = %&#x27;, bookinfo.price;
            RAISE INFO &#x27;------------------------------&#x27;;
        END LOOP;
        RAISE INFO &#x27;Total Books   = %&#x27;, books_count;
        CLOSE booksinfo;
    END;

    FUNCTION add_book(title VARCHAR2(100), author VARCHAR2(100),
        price NUMBER) RETURN bool AS
    BEGIN
        INSERT INTO BOOKS VALUES (
            books_count + 1,
            title,
            author,
            price);
        
        books_count := books_count + 1;
        RETURN true;

        EXCEPTION WHEN OTHERS THEN
            RETURN false;
    END;

    PROCEDURE remove_book(book_title VARCHAR2(100)) AS
    BEGIN
        DELETE FROM BOOKS WHERE title = book_title;

        EXCEPTION WHEN OTHERS THEN
            RAISE INFO &#x27;Book % not found&#x27;, book_title;
    END;

-- initializer block
BEGIN           
    books_count := 0;
    SELECT count(*) INTO books_count
        FROM BOOKS;
END;
ivorysql$# /
CREATE PACKAGE BODY
</code></pre><p>Let checkout the count. This anonymous block tries to access the private members of the package, which should result in error.</p><pre><code>ivorysql=# DECLARE
ivorysql$#   nbooks int := 0;
ivorysql$# BEGIN
ivorysql$#     nbooks := mybooks.books_count;
ivorysql$#     RAISE INFO &#x27;Total Books   = %&#x27;, nbooks;
ivorysql$# END;
ivorysql$# /
2022-05-26 16:35:32.328 PKT [63554] ERROR:  package private variable (&quot;mybooks.books_count&quot;) is not accessible
</code></pre><p>Let&#x27;s list all available books using the subprogram <code>list_books</code> of the package <code>mybooks</code>.</p><pre><code>ivorysql=# BEGIN
ivorysql$#     mybooks.list_books;
ivorysql$# END;
ivorysql$# /
INFO:  Book Info:
INFO:  
INFO:    Name    = The Hobbit
INFO:    Author  = J. R. R. Tolkien
INFO:    Price   = 10
INFO:  ------------------------------
INFO:    Name    = Winnie-the-Pooh
INFO:    Author  = A. A. Milne
INFO:    Price   = 3
....
....
INFO:  Total Books   = 6
DO
ivorysql=#
</code></pre><p>Let&#x27;s add a new book using the subprogram <code>add_book</code> of the package <code>mybooks</code>.</p><pre><code>DECLARE
  added bool;
BEGIN
    added := mybooks.add_book(&#x27;The Cat in the Hat&#x27;, &#x27;Dr. Seuss&#x27;, 10);
    IF added = TRUE THEN
        RAISE INFO &#x27;new book added&#x27;;
    END IF;
END;
/
</code></pre><h3>Dropping a Package</h3><p>One can either drop the package body or complete package using:</p><ul><li>DROP PACKAGE BODY <!-- -->[package name]</li></ul><pre><code>ivorysql=# DROP PACKAGE BODY mybooks;
DROP PACKAGE BODY
</code></pre><ul><li>DROP PACKAGE [package name</li></ul><pre><code>ivorysql=# DROP PACKAGE mybooks;
DROP PACKAGE
</code></pre><h3>Package Invocation with different rights</h3><p>We are going to create two packages with invoker and definer rights and watch the results to see how they differentiate.</p><pre><code>ivorysql=&gt; SELECT current_user;
 current_user 
--------------
 ivorysql
(1 row)
</code></pre><p>-- Create a Package with INVOKER rights</p><pre><code>CREATE OR REPLACE PACKAGE pkg_invrights AUTHID CURRENT_USER AS
    PROCEDURE curr_user;
END;
/

CREATE OR REPLACE PACKAGE BODY pkg_invrights AS
    PROCEDURE curr_user AS
    BEGIN
        RAISE INFO &#x27;Current User: %&#x27;, current_user;
    END;
END;
/
</code></pre><p>-- Create a Package with DEFINER rights</p><pre><code>CREATE OR REPLACE PACKAGE pkg_defrights AUTHID DEFINER AS
    PROCEDURE curr_user;
END;
/

CREATE OR REPLACE PACKAGE BODY pkg_defrights AS
    PROCEDURE curr_user AS
    BEGIN
        RAISE INFO &#x27;Current User: %&#x27;, current_user;
    END;
END;
/
</code></pre><p>Let&#x27;s see the package with invoker rights first.</p><pre><code>ivorysql=&gt; CALL pkg_invrights.curr_user;
INFO:  Current User: ivorysql
CALL
</code></pre><p>Let&#x27;s see the package with definer rights.</p><pre><code>ivorysql=&gt; CALL pkg_defrights.curr_user;
INFO:  Current User: ivorysql
CALL
</code></pre><p>Let&#x27;s switch to another user named <code>ivuser</code></p><pre><code>ivorysql=&gt; \c ivorysql ivuser;
You are now connected to database &quot;ivorysql&quot; as user &quot;ivuser&quot;.
</code></pre><p>Let&#x27;s see the package with invoker rights first.</p><pre><code>ivorysql=&gt; CALL pkg_invrights.curr_user;
INFO:  Current User: ivuser
CALL
</code></pre><p>Let&#x27;s see the package with definer rights.</p><pre><code>ivorysql=&gt; CALL pkg_defrights.curr_user;
INFO:  Current User: ivorysql
CALL
</code></pre><p>As shown above when the package with invoker rights (<code>pkg_invrights</code>) is called, it&#x27;s using the privileges of the user that invoked the package. However, when a definer package (<code>pkg_defrights</code>) is called, it still uses the privileges of the package owner.</p>]]></content>
        <author>
            <name>Asif Rehman</name>
            <uri>https://github.com/rasifr</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[Compiling and Installing IvorySQL on Linux]]></title>
        <id>IvorySQL-Linux</id>
        <link href="https://ivorySQL.org/blog/IvorySQL-Linux"/>
        <updated>2022-05-17T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[IvorySQL can be built on Linux, OSX, Unix, and Windows platforms, and is basically the same as PostgreSQL compiled and installed. This article describes the steps for compiling source code on a Linux-based system.]]></summary>
        <content type="html"><![CDATA[<p>IvorySQL can be built on Linux, OSX, Unix, and Windows platforms, and is basically the same as PostgreSQL compiled and installed. This article describes the steps for compiling source code on a Linux-based system.</p><h2>Preparation</h2><h3>1.1 Obtaining the IvorySQL source code</h3><p>For Windows or Linux, if you have Git installed, you can use git to download:</p><p>git clone <a href="https://github.com/IvorySQL/IvorySQL.git">https://github.com/IvorySQL/IvorySQL.git</a></p><p>git clone <a href="https://gitee.com/IvorySQL/IvorySQL.git">https://gitee.com/IvorySQL/IvorySQL.git</a></p><p>Or go directly to Github or Gitee to download:</p><p><a href="https://github.com/IvorySQL/IvorySQL">https://github.com/IvorySQL/IvorySQL</a></p><p><a href="https://gitee.com/IvorySQL/IvorySQL">https://gitee.com/IvorySQL/IvorySQL</a></p><p>Github can be a bit slow, use it if it works, and switch to Gitee if it doesn&#x27;t.</p><p>As of this writing, the latest release of IvorySQL is 1.2, released on February 28, 2022.</p><p><img src="L-a.png" alt="L"/></p><p>The source version used in this article is also IvorySQL 1.2.</p><h3>1.2 Installing the dependency packages</h3><p>To compile IvorySQL from source, you must ensure that a prerequisite packages are available on your system.</p><p>Run the following command to install related packages:</p><pre><code>sudo yum install -y bison-devel readline-devel zlib-devel openssl-devel wget
sudo yum groupinstall -y &#x27;Development Tools&#x27;
</code></pre><p><strong>Note: &quot;Development Tools&quot; includes GCC, make, Flex, bison.</strong></p><h2>Compilation and installation</h2><p>The source code obtained in front of the folder IvorySQL, next we will enter this folder for operation.</p><h3>2.1 configuration</h3><p>Run the following command as the Root user:</p><pre><code>./configure
</code></pre><p><strong>Note: Since --prefix is not provided, /usr/local/pgSQL will be used as default installation path.</strong></p><p>To use a different installation path, such as &quot;/ usr/local/ivorysql/ivorysql - 1.2&quot; :</p><pre><code>./configure --prefix=/usr/local/ivorysql/ivorysql-1.2
</code></pre><p>For more configure parameters, try ./configure --help. Also check out the PostgreSQL manual.</p><h3>2.2 Compilation and Installation</h3><p>After the configuration is complete, run make to compile:</p><pre><code>make
</code></pre><p>To test the newly compiled service using regression tests before installing it, use either of the following commands:</p><pre><code>make check
make check-world
</code></pre><p>Then install:</p><pre><code>make install
</code></pre><h2>Initialize the database service</h2><p>We only have a simple configuration here, can be local and remote connection is ok.</p><h3>3.1 Creating an OS User</h3><p>In the root session, create user ivorysql:</p><pre><code>/usr/sbin/groupadd ivorysql
/usr/sbin/useradd -g ivorysql ivorysql -c &quot;IvorySQL1.2 Server&quot;
passwd ivorysql
</code></pre><h3>3.2 Creating a Data Directory</h3><p>Next you need to create the data directory and change the permissions. Run the following command in the root session.</p><pre><code>mkdir -p /ivorysql/1.2/data
chown -R ivorysql.ivorysql /ivorysql/1.2/
</code></pre><p>**Note: The data directory is not placed in &quot;/var/lib/ivorysql/ivorysql-1/data&quot; when you do installation using the RPMs.</p><h3>3.3 Environment Variables</h3><p>Switch to ivorysql user, modify the /home/ivorysqL/. bash_profile file, and configure environment variables:</p><pre><code>umask 022
export LD_LIBRARY_PATH=/usr/local/pgsql/lib:$LD_LIBRARY_PATH
export PATH=/usr/local/pgsql/bin:$PATH
export PGDATA=/ivorysql/1.2/data
</code></pre><p>Make environment variables take effect in the current IVorysQL user session:</p><pre><code>source .bash_profile
</code></pre><p>You can also log in again or start a session with a new user ivorysQL.</p><h3>3.4 Configuring the Firewall</h3><p>If the firewall is enabled, port 5333 needs to be opened:</p><pre><code>firewall-cmd --zone=public --add-port=5333/tcp --permanent
firewall-cmd --reload
</code></pre><p><strong>Note: The default port is 5333. If this port is disabled, external clients will not be able to connect to the IP address.</strong></p><h3>3.5 the initialization</h3><p>In user ivorysql, simply execute initdb to complete the initialization:</p><pre><code>initdb
</code></pre><p><strong>Note: InitDB operates in the same way as PostgreSQL, and can be initialized in the same way as PG.</strong></p><h3>3.6 Starting the Database</h3><p>Use pg_ctl to start the database service:</p><pre><code>pg_ctl start
</code></pre><p>Check the status, the startup is successful:</p><pre><code>pg_ctl status
</code></pre><p>pg_ctl: server is running (PID: 29549)</p><p>/usr/local/pgsql/bin/postgres</p><h2>Configure services</h2><p>Here is a simple configuration, can be local and remote connection is ok</p><h3>4.1 Client Authentication</h3><p>Add the following information to /ivorysql/1.2/data/pg_hba.conf:</p><pre><code>host    all             all             0.0.0.0/0               trust
</code></pre><p><strong>Note: this is trust, which means you can log in without secret.</strong></p><p>Run the following command to load the configuration:</p><pre><code>pg_ctl reload
</code></pre><h3>4.2 Basic Parameters</h3><p>Connect to database through PSQL:</p><pre><code>psql
</code></pre><p>Modify listening address:</p><pre><code>alter system set listen_addresses = &#x27;*&#x27;;
</code></pre><p><strong>Note: By default the server does not allow connections from external hosts.</strong></p><p>Restart the service for the Settings to take effect:</p><pre><code>pg_ctl restart
</code></pre><h3>4.3 Daemon Service</h3><p>Create service file:</p><pre><code>touch /usr/lib/systemd/system/ivorysql.service
</code></pre><p>The edited content is as follows:</p><pre><code>[Unit]
Description=IvorySQL 1.2 database server
Documentation=https://www.ivorysql.org
Requires=network.target local-fs.target
After=network.target local-fs.target

[Service]
Type=forking

User=ivorysql
Group=ivorysql

Environment=PGDATA=/ivorysql/1.2/data/

OOMScoreAdjust=-1000

ExecStart=/usr/local/pgsql/bin/pg_ctl start -D ${PGDATA}
ExecStop=/usr/local/pgsql/bin/pg_ctl stop -D ${PGDATA}
ExecReload=/usr/local/pgsql/bin/pg_ctl reload -D ${PGDATA}

TimeoutSec=0

[Install]
WantedBy=multi-user.target
</code></pre><p><strong>Note: There are many ways to write service. Be careful when using it in the production environment. Repeat the test several times.</strong></p><p>Stop the database service started by pg_ctl, enable the systemd service, and start:</p><pre><code>systemctl enable --now ivorysql.service
</code></pre><p>IvorSQL Database service operation commands:</p><pre><code>systemctl start ivorysql.service            --启动数据库服务
systemctl stop ivorysql.service             --停止数据库服务
systemctl restart ivorysql.service          --重启数据库
systemctl status ivorysql.service           --查看数据库状态
systemctl reload ivorysql.service           --可以满足部分数据库配置修改完后生效
</code></pre><h2>Database Client</h2><p>The IvorySQL client is the same as the PostgreSQL client.</p><h3>5.1 PSQL connection</h3><p>Connecting from ivorysql OS user:</p><pre><code>[ivorysql@Node02 ~]$ psql
psql (15devel)
Type &quot;help&quot; for help.

ivorysql=#
</code></pre><h3>5.2 DBeaver connection</h3><p>DBeaver is a powerful open source tool with the following connectivity configurations:</p><p><img src="L-b.png" alt="L"/></p><h3>5.3 Connect using HighGo Developer</h3><p>HighGo Developer is a tool independently developed by Highgo, which supports not only Highgo database, but also PostgreSQL and IvorySQL database. The connection configuration is as follows:</p><p><img src="L-c.png" alt="L"/></p><h2>Uninstall</h2><p>If required IvorySQL can be uninstalled by compiling and uninstalling.</p><h3>6.1 Backing Up Data</h3><p>The data directory is under &quot;/ ivorysQL /1.2/data&quot;, so we can protect the directory, It is recomended to stop the database service and make a backup.</p><h3>6.2 Compilation and Uninstallation</h3><p>Switch to the source directory and run the following commands:</p><pre><code>make uninstall
make clean
</code></pre><p>Delete residual directories and files:</p><pre><code>systemctl disable ivorysql.servicemake                  --Disable the service
mv /usr/lib/systemd/system/ivorysql.service /tmp/       --delete or move the service file to /tmp
rm -fr /usr/local/pgsql                                 --Remove the installed files
</code></pre><p>The ivorysql user and the corresponding environment variables can be cleared according to the situation.</p><p>The rest is the data directory &quot;/ ivorysQL /1.2/data&quot;, please be sure to take a backup before processing.</p><p>There are installed dependency packages, you can decide whether to uninstall according to the situation.</p><h2>Postscript</h2><ul><li><p>For more detailed operations, see PostgreSQL.</p></li><li><p>You can also refer to the IvorySQL source code under the documentation: /root/ivorysql/readme.md.</p></li><li><p>You can also open a link to the website:</p><p><a href="https://gitee.com/IvorySQL/IvorySQL/blob/master/README.md%E3%80%82">https://gitee.com/IvorySQL/IvorySQL/blob/master/README.md。</a></p></li><li><p>If you have any question, welcome to the official community IvorySQL warehouse: <strong>github.com/IvorySQL/IvorySQL</strong>  submit issue.</p></li></ul><hr/><blockquote><p>Join the IvorySQL community by subscribing to mailing lists:  </p><ul><li><strong><a href="https://lists.ivorysql.org/postorius/lists/hackers.ivorysql.org/">Hackers List</a></strong>  </li><li><strong><a href="https://lists.ivorysql.org/postorius/lists/general.ivorysql.org/">Users List</a></strong>  </li></ul><p><strong><em>Also, don&#x27;t forget to give us a :star: on <a href="https://github.com/IvorySQL/IvorySQL">Github</a></em></strong></p></blockquote>]]></content>
        <author>
            <name>IvorySQL Team</name>
            <uri>https://github.com/ivorysql</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[Install software through the YUM source]]></title>
        <id>IvorySQL-YUM</id>
        <link href="https://ivorySQL.org/blog/IvorySQL-YUM"/>
        <updated>2022-05-06T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[Install software through the YUM source]]></summary>
        <content type="html"><![CDATA[<h2>Install software through the YUM source</h2><p>This section uses Centos7.9 as an example to show how to install the IvorySQL database. Here is the simplest YUM source installation.</p><h3>1.1 Installing the YUM Source</h3><p>Download address: <a href="https://yum.highgo.ca/ivorysql.html">https://yum.highgo.ca/ivorysql.html</a></p><p>Click &quot;DOWNLOAD REPO RPM&quot; to DOWNLOAD ivorysqL-release-1.0-1.noarch. RPM and upload it to Centos7.9:</p><p><img src="Y-a.png" alt="Y"/></p><p>Or use wget on Centos7 to download:</p><pre><code>wget https://yum.highgo.ca/dists/ivorysql-rpms/repo/ivorysql-release-1.0-1.noarch.rpm
</code></pre><p>Install ivorysql - release - 1.0-1. Noarch. RPM:</p><pre><code>rpm -ivh ivorysql-release-1.0-1.noarch.rpm
</code></pre><p>After installation, will create the YUM source configuration file: / etc/yum.repos. d/ivorysql.repo.</p><p>Search to view related installation packages:</p><pre><code>yum search ivorysql
</code></pre><p>The search results are described in Table 1:</p><p>Table 1 Description of YUM sources</p><table><thead><tr><th><strong>No.</strong></th><th><strong>Package Name</strong></th><th><strong>Description</strong></th></tr></thead><tbody><tr><td>1</td><td><a href="https://yum.highgo.ca/dists/ivorysql-rpms/1/redhat/rhel-7-x86_64/ivorysql1-1.2-1.rhel7.x86_64.rpm">ivorysql1.x86_64</a></td><td>IvorySQL client program and library files</td></tr><tr><td>2</td><td><a href="https://yum.highgo.ca/dists/ivorysql-rpms/1/redhat/rhel-7-x86_64/ivorysql1-contrib-1.2-1.rhel7.x86_64.rpm">ivorysql1-contrib.x86_64</a></td><td>Contributed source code and binaries shipped with IvorySQL</td></tr><tr><td>3</td><td>ivorysql1-devel.x86_64</td><td>IvorySQL development header files and libraries</td></tr><tr><td>4</td><td>ivorysql1-docs.x86_64</td><td>Additional documentation for IvorySQL</td></tr><tr><td>5</td><td><a href="https://yum.highgo.ca/dists/ivorysql-rpms/1/redhat/rhel-7-x86_64/ivorysql1-libs-1.2-1.rhel7.x86_64.rpm">ivorysql1-libs.x86_64</a></td><td>Shared libraries required by all IvorySQL clients</td></tr><tr><td>6</td><td>ivorysql1-llvmjit.x86_64</td><td>Instant compilation support for IvorySQL</td></tr><tr><td>7</td><td>ivorysql1-plperl.x86_64</td><td>Procedure language Perl for IvorySQL</td></tr><tr><td>8</td><td>ivorysql1-plpython3.x86_64</td><td>The procedure language Python3 for IvorySQL</td></tr><tr><td>9</td><td>ivorysql1-pltcl.x86_64</td><td>The procedure language Tcl for IvorySQL</td></tr><tr><td>10</td><td><a href="https://yum.highgo.ca/dists/ivorysql-rpms/1/redhat/rhel-7-x86_64/ivorysql1-server-1.2-1.rhel7.x86_64.rpm">ivorysql1-server.x86_64</a></td><td>Create and run programs required by the IvorySQL server</td></tr><tr><td>11</td><td>ivorysql1-test.x86_64</td><td>Test suite shipped with IvorySQL</td></tr><tr><td>12</td><td>ivorysql-release.noarch</td><td>Highgo Basic Software Co., LTD. Yum source configuration RPM package</td></tr></tbody></table><p><strong>Note: 1, 2, 5, 10 are required for RPM package installation, hyperlinks can be downloaded separately.</strong></p><h3>1.2 installation IVORYSQL</h3><p>To install the database service, install ivorysQL1-Server.</p><p>Run the following command in the user root session:</p><pre><code>yum install -y ivorysql1-server
</code></pre><p><strong>Installation List:</strong></p><p>ivorysql1-server.x86_64 0:1.2-1.rhel7  </p><p><strong>Dependent installation:</strong></p><ul><li><p>ivorysql1.x86_64 0:1.2-1.rhel7			ivorysql1-contrib.x86_64 0:1.2-1.rhel7</p></li><li><p>ivorysql1-libs.x86_64 0:1.2-1.rhel7		libicu.x86_64 0:50.2-4.el7_7</p></li><li><p>libtirpc.x86_64 0:0.2.4-0.16.el7			libxslt.x86_64 0:1.1.28-6.el7</p></li><li><p>python3.x86_64 0:3.6.8-18.el7			python3-libs.x86_64 0:3.6.8-18.el7</p></li><li><p>python3-pip.noarch 0:9.0.3-8.el7		python3-setuptools.noarch 0:39.2.0-10.el7</p></li></ul><h3>1.3 Installed Directory</h3><p>Table 2 describes the file directories generated during the YUM installation process.</p><p> Table 2 Installation directory file description</p><table><thead><tr><th><strong>No.</strong></th><th><strong>File path</strong></th><th><strong>Description</strong></th></tr></thead><tbody><tr><td>1</td><td>/usr/local/ivorysql/ivorysql-1</td><td>Software Installation Directory</td></tr><tr><td>2</td><td>/var/lib/ivorysql/ivorysql-1/data</td><td>Data directory (default)</td></tr><tr><td>3</td><td>/usr/bin/ivorysql-1-setup</td><td>Helps system administrators with basic database cluster management</td></tr><tr><td>4</td><td>/usr/lib/systemd/system/ivorysql-1.service</td><td>Guarding services</td></tr></tbody></table><h3>1.4 RPM installation</h3><p>RPM installations, by the way, need to be installed in this order:</p><pre><code>yum install -y libicu libxslt python3                   --先安装依赖
rpm -ivh ivorysql1-libs-1.2-1.rhel7.x86_64.rpm
rpm -ivh ivorysql1-1.2-1.rhel7.x86_64.rpm
rpm -ivh ivorysql1-contrib-1.2-1.rhel7.x86_64.rpm --nodeps
rpm -ivh ivorysql1-server-1.2-1.rhel7.x86_64.rpm
</code></pre><p>So, it&#x27;s quite convenient to install using YUM. If not, download it separately and install it in this order.</p><p>Download address: <a href="https://yum.highgo.ca/ivorysql.html">https://yum.highgo.ca/ivorysql.html</a></p><p><img src="Y-b.png" alt="Y"/></p><p>Click BROWSE Repository-1 to find the corresponding package to download (note: dependency packages are not available on the website).</p><h2>Initialize the database</h2><p>The IvorySQL database is easy to initialize and start or stop by default.</p><h3>2.1 Default Initialization</h3><p>To initialize the system, run the following command as user root:</p><pre><code>/usr/local/ivorysql/ivorysql-1/bin/ivorysql-1-setup initdb
</code></pre><p><strong>Note: IvorysQL-1 is read by default because SERVICE_NAME is not provided.</strong></p><p>Enable and start the service:</p><pre><code>systemctl enable --now ivorysql-1.service
</code></pre><p>IvorysqL-1-setup</p><pre><code>ivorysql-1-setup {initdb|check_upgrade|upgrade} [SERVICE_NAME]
</code></pre><p><strong>Note: For details about how to use this command, run ivorysqL-1-setup --help.</strong></p><h3>2.2 Custom Initialization</h3><p>If we have a requirement to specify the data file path (/ ivorysQL /1.2/data/) and port number (5866), then we can customize the initialization.</p><p>According to the default service file &quot;/ usr/lib/systemd/system/ivorysql - 1. The service&quot; in the same directory replication of a new &quot;ivorysql - 5866. The service&quot; :</p><pre><code>cp /usr/lib/systemd/system/ivorysql-1.service /usr/lib/systemd/system/ivorysql-5866.service
</code></pre><p>Modify Add the following information:</p><pre><code>Environment=PGDATA=/ivorysql/1.2/data/
Environment=PGPORT=5866
</code></pre><p>Specify SERVICE_NAME as ivorysQL-5866 to initialize:</p><pre><code>/usr/local/ivorysql/ivorysql-1/bin/ivorysql-1-setup initdb ivorysql-5866
</code></pre><p>Enable and start the service:</p><pre><code>systemctl enable --now ivorysql-5866.service
</code></pre><h3>2.3 Common Service Operations</h3><p>IvorSQL Database service operation commands:</p><pre><code>systemctl start ivorysql-1.service              --启动数据库服务
systemctl stop ivorysql-1.service               --停止数据库服务
systemctl restart ivorysql-1.service            --重启数据库
systemctl status ivorysql-1.service         --查看数据库状态
systemctl reload ivorysql-1.service         --可以满足部分数据库配置修改完后生效
</code></pre><h2>Configure database services</h2><p>We only have a simple configuration here, can be local and remote connection is ok</p><h3>3.1 Client Authentication</h3><p>Modify the/var/lib/ivorysql/ivorysql - 1 / data/pg_hba. Conf, add the following content:</p><pre><code>host    all             all             0.0.0.0/0               scram-sha-256
</code></pre><p>Run the following command to load the configuration:</p><pre><code>systemctl reload ivorysql-1.service
</code></pre><h3>3.2 Basic Parameters</h3><p>Switch to user ivorysQL:</p><pre><code>su - ivorysql
</code></pre><p>Connect to database through PSQL:</p><pre><code>psql
</code></pre><p>Change ivorysQL password for remote connection:</p><pre><code>alter system set listen_addresses = &#x27;*&#x27;;
alter user ivorysql password &#x27;666666&#x27;;
</code></pre><p><strong>Note: User ivorysQL does not have a password. If you do not change the password, you can change the client authentication mode to Trust to avoid secret login.</strong></p><p>Return to user root and restart the service for the Settings to take effect:</p><pre><code>systemctl restart ivorysql-1.service
</code></pre><h2>The firewall</h2><p>If the firewall is enabled, port 5333 needs to be opened:</p><pre><code>firewall-cmd --zone=public --add-port=5333/tcp --permanent
firewall-cmd --reload
</code></pre><p><strong>Note: The default ivorysQL service port is 5333. If this port is disabled, external clients fail to connect to the IVorysQL service through an IP address.</strong></p><h2>The client connects to the database</h2><p>The IvorySQL client is the same as the PostgreSQL client.</p><h3>4.1 PSQL connection</h3><p>Operating system user IvorysQL session connection:</p><pre><code>[root@Node02 ~]# su - ivorysql 
Last login: Wed Apr 27 23:58:57 CST 2022 on pts/0
-bash-4.2$ psql
psql (14.2)
Type &quot;help&quot; for help.

ivorysql=#
</code></pre><h3>4.2 DBeaver connection</h3><p>DBeaver is a powerful open source tool with the following connectivity configurations:</p><p><img src="Y-c.png" alt="Y"/></p><h3>4.3 Highgo Developer connection</h3><p>Highgo Developer is a tool independently developed by Highgo, which supports not only Highgo database, but also PostgreSQL and IvorySQL database. The connection configuration is as follows:</p><p><img src="Y-d.png" alt="Y"/></p><h2>Uninstall</h2><p>Since we installed through yum, it is recommended to use yum to uninstall. Try not to use RPM, which may cause incomplete uninstall. Of course, you can also uninstall it according to the Yum installation list.</p><h3>5.1 Backing Up Data</h3><p>Data directory in/var/lib/ivorysql under/data/ivorysql - 1, so we can this directory will be protected, and best to stop the service, do a backup.</p><h3>5.2 YUM uninstall</h3><p>Stop the database service first:</p><pre><code>systemctl stop ivorysql-1.service
</code></pre><p>Use the &quot;yum history list&quot; to determine the transaction ID of the yum installation:</p><pre><code>[root@Node02 ~]# yum history list
Loaded plugins: fastestmirror
ID     | Login user               | Date and time    | Action(s)      | Altered
-------------------------------------------------------------------------------
     5 | root &lt;root&gt;              | 2022-04-27 12:38 | Install        |   11  &lt;
     4 | root &lt;root&gt;              | 2022-03-26 16:08 | Install        |   35 &gt; 
     3 | root &lt;root&gt;              | 2022-03-26 16:07 | I, U           |   19   
     2 | root &lt;root&gt;              | 2022-03-26 16:07 | I, U           |   73   
     1 | System &lt;unset&gt;           | 2022-03-26 15:59 | Install        |  299   
history list
</code></pre><p>You can see that ID 5 is the transaction that performs the installation. Run the following command to uninstall (replace XX with 5) :</p><pre><code>yum history undo XX
</code></pre><p>You can also use the following command to uninstall:</p><pre><code>yum remove ivorysql-server
</code></pre><p>However, the command is not completely uninstalled, only removing two dependencies and failing to remove eight dependencies. You can decide whether to uninstall this way depending on whether to keep these dependencies.</p><h2>Postscript</h2><ul><li>For more detailed operations, see postgresQL operations. For example, direct initialization with initDB.</li></ul><ul><li>You can also refer to the IvorySQL documentation:</li></ul><p>/usr/share/doc/ivorysqL1-1.2/readme.rpm -dist</p><ul><li>If you have any question, welcome to the official community IvorySQL warehouse: <strong>github.com/IvorySQL/IvorySQL</strong>  submit issue.</li></ul><hr/><blockquote><p>Join the IvorySQL community by subscribing to mailing lists:  </p><ul><li><strong><a href="https://lists.ivorysql.org/postorius/lists/hackers.ivorysql.org/">Hackers List</a></strong>  </li><li><strong><a href="https://lists.ivorysql.org/postorius/lists/general.ivorysql.org/">Users List</a></strong>  </li></ul><p><strong><em>Also, don&#x27;t forget to give us a :star: on <a href="https://github.com/IvorySQL/IvorySQL">Github</a></em></strong></p></blockquote>]]></content>
        <author>
            <name>IvorySQL Team</name>
            <uri>https://github.com/ivorysql</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[IvorySQL at PostgresConf SV 2022]]></title>
        <id>IvorySQL-sv</id>
        <link href="https://ivorySQL.org/blog/IvorySQL-sv"/>
        <updated>2022-04-18T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[The Postgres Conference in Silicon Valley is the largest PG conference on the West Coast and one of the most important Postgres conferences of the year in the US and globally. It will be held on April 7-8, 2022 (PDT) at the Hilton Hotel SAN Jose, California, USA. As an annual technology event for PostgreSQL technologists, practitioners, and enthusiasts around the world, the Silicon Valley Conference is dedicated to bringing together and discussing the relationship between people, Postgres, and data! The conference is as inclusive and fair as silicon Valley, bringing together the best speakers, audiences and sponsors, all working to create growth opportunities for the global Postgres ecosystem.]]></summary>
        <content type="html"><![CDATA[<p>The Postgres Conference in Silicon Valley is the largest PG conference on the West Coast and one of the most important Postgres conferences of the year in the US and globally. It will be held on April 7-8, 2022 (PDT) at the Hilton Hotel SAN Jose, California, USA. As an annual technology event for PostgreSQL technologists, practitioners, and enthusiasts around the world, the Silicon Valley Conference is dedicated to bringing together and discussing the relationship between people, Postgres, and data! The conference is as inclusive and fair as silicon Valley, bringing together the best speakers, audiences and sponsors, all working to create growth opportunities for the global Postgres ecosystem.</p><p> About 200 people attended the meeting, the largest offline meeting since the outbreak. </p><p><strong>Bruce Momjian, a key member of the community</strong>, attended the conference, which was organized by PostgresConf,Joshua D.Drake, Jim Mlodgenski, and others. People from the United States,China, Canada, Brazil, Spain, Germany, India, Pakistan and other countries participated.</p><p><strong>Grant Zhou, head of Highgo North America Research Institute and Secretary general of PostgreSQL China International Advisory Committee, was invited to participate in PostgreSQL internal development discussions and community project contributions.</strong> </p><p>The following is a two-day Postgres conference briefing in Silicon Valley brought to you by the IvorySQL open source database community.</p><h2>Some of the speech</h2><p><strong>Digital Rights and Privacy: Concerns for the 21st century--by Andres Arrieta</strong></p><p>The Electronic Frontier Foundation has been protecting and fighting for our civil liberties for over 30 years. In those 30 years a lot has happened: Our relationship to the internet has fundamentally changed, and yet, in many ways, our understanding of how it works has remained stagnant. 30 years ago, the Internet was a mystical place of wizardry with many unknowns, and a realm which was difficult to access. Today it’s a core part of our life that we have become reliant on, and while it has become far easier than ever to access the many gifts that the Internet provides, understanding of how it works - from policy makers to enforcement agencies - continues to lag. During that time, EFF and its mission have grown to cover many of the aspects that technology has brought for better or worse and to help protect those impacted by it, while ensuring a bright future with innovation that improves our lives. So what is happening today and where are our efforts going? Why have some issues like privacy and competition become so strongly intertwined, and what new opportunities and threats lay ahead? I’ll walk you through some of our work, some of the areas of concern, and some of the things I believe will help us work towards a better future.</p><p><strong>Past, Present, and Future of Logical Replication--by Amit Kapila</strong>
In this talk, I will tell how the Logical Replication has been evolved over years in PostgreSQL. This will explain some of the major recent enhancements like facilitating logical replication of two-phase and large in-progress transactions. I will share my views on how this technology can be leveraged to build a highly scalable and available database solution for large Enterprises. After that, I will also talk about some of the important enhancements being discussed in this technology area for future releases of PostgreSQL. I&#x27;ll also cover how this technology can be enhanced for data migration from PostgreSQL to other databases.</p><p><strong>IvorySQL--An Open Source Oracle-compatible Database Based on PostgreSQL--by GRANT ZHOU</strong>
There are many users who need to migrate their applications from Oracle to the open source Postgres, but in order to support the new database, users often need to re-develop the application, which is inconvenient. If there is a database based on Postgres and compatible with most Oracle syntax and functions, it will be too convenient for customers. However, the official Postgres project will not accept this kind of code submission. After all, Postgres is Postgres, and Oracle is Oracle. So, let&#x27;s make an Oracle compatible database. This talk will introduce how to make a database compatible with Oracle syntax based on PG, and introduce the IvorySQL project. This project is an open source project (Apache 2.0) led by Highgo Software, and currently has released version 1.2 based on PostgreSQL 14.2. Welcome everyone to contribute on this open source Oracle compatible database - IvorySQL, powered by PostgreSQL.</p><p><strong>Non-Relational Postgres--by Bruce Momjian</strong>
Postgres has always had strong support for relational storage. However, there are many cases where relational storage is either inefficient or overly restrictive. This talk shows the many ways that Postgres has expanded to support non-relational storage, specifically the ability to store and index multiple values, even unrelated ones, in a single database field. Such storage allows for greater efficiency and access simplicity, and can also avoid the negatives of entity-attribute-value (eav) storage. The talk will cover many examples of multiple-value-per-field storage, including arrays, range types, geometry, full text search, xml, json, and records.</p><p><strong>Using Global database in Amazon Aurora PostgreSQL--by Shayon Sanyal and Sukhpreet Bedi</strong>
An Amazon Aurora Global database is designed for globally distributed applications, allowing a single Amazon Aurora database to span multiple AWS Regions. It replicates your data with no impact on database performance, enables fast local reads with low latency in each Region, and provides disaster recovery (DR) from Region-wide outages. In this session, learn how to plan for cross-Region DR and easily scale Aurora reads across the world to place your applications close to your users. You also learn how to meet your recovery point objective (RPO) and recovery time objective (RTO) with Amazon Aurora global databases.</p><p><strong>Amazon Babelfish for Aurora--by chandra pathivada</strong>
Now the Babelfish for Aurora is available. This presentation is about how Babelfish helps customers to migrate SQL Server workloads to Postgres. In this presentation, we are going to give a demo of what is Babelfish , the internals of Aurora ,Aurora for SQL Server DBAs using Babelfish, and Labs on Application Migration.</p><p><strong>The Biography of a Modern Cloud Native Application--by Alexandra Elchinoff and Karthik Ranganathan</strong>
Modern cloud native applications lead exciting lives - from their birth in the cloud and dealing with massive unplanned success to surviving cloud outages and handling customers worldwide. In this talk, Yugabyte CTO Karthik Ranganathan walks through the eventful life of a successful cloud native app, as seen from the perspective of the data layer.</p><h2>Some of the pictures</h2><p><img src="po-one.png" alt="po"/></p><p><img src="po-two.png" alt="po"/></p><p><img src="po-three.png" alt="po"/></p><p><img src="po-four.png" alt="po"/></p><p><img src="po-five.png" alt="po"/></p><h2>Postgres Conference in Silicon Valley 2022</h2><p><a href="https://postgresconf.org/conferences/SV2022">https://postgresconf.org/conferences/SV2022</a></p><hr/><blockquote><p>Join the IvorySQL community by subscribing to mailing lists:  </p><ul><li><strong><a href="https://lists.ivorysql.org/postorius/lists/hackers.ivorysql.org/">Hackers List</a></strong>  </li><li><strong><a href="https://lists.ivorysql.org/postorius/lists/general.ivorysql.org/">Users List</a></strong>  </li></ul><p><strong><em>Also, don&#x27;t forget to give us a :star: on <a href="https://github.com/IvorySQL/IvorySQL">Github</a></em></strong></p></blockquote>]]></content>
        <author>
            <name>IvorySQL Team</name>
            <uri>https://github.com/ivorysql</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[PostgresWorld Webinar | A Deep Dive Into IvorySQL]]></title>
        <id>IvorySQL-Webinar</id>
        <link href="https://ivorySQL.org/blog/IvorySQL-Webinar"/>
        <updated>2022-03-25T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[Hi guys, PostgresWorld Webinars is back!]]></summary>
        <content type="html"><![CDATA[<p>Hi guys, PostgresWorld Webinars is back!</p><p>PostgreSQL plays an important role in the development of databases in China. Many database products around the world choose PostgreSQL as their technology development path. <strong>However, the problem of migrating applications from Oracle to Open source Postgres became the biggest obstacle,</strong> so we created the IvorySQL open source project, which is based on the latest PostgreSQL 14 database with strong Oracle compatibility.
But why do we have to do IvorySQL open source project? How is it technically different from Postgres and Oracle? This webinar invites you to join us.</p><p>This webinar is hosted by Grant Zhou on IvorySQL - An Open Source Oracle-compatible Database Based on PostgreSQL.</p><h2>Guest introduction</h2><p><strong>Grant Zhou</strong> currently lived in Canada, he is the founder of Highgo Software North America, and he is leading the company PostgreSQL development team with members from Canada, China and Pakistan. He is working as the secretary of the International Consultant Committee of the PostgreSQL China Association at the same time, and also proud to be the Organizer &amp; Asia Liaison at PostgresConf. He worked in Alcatel-Lucent (Nokia) company for more than ten years and had rich experiences on high availability, real-time telecommunication systems, database technologies and Unix/Linux programming.</p><p>In December 2021, the team announced the first available version of IvorySQL database, <strong>which is the only open source database with Oracle compatibility features based on PostgreSQL</strong>. On Feburay 28, 2022, based on PostgreSQL 14.2, IvorySQL 1.2 was released.</p><h2>Conference Highlights</h2><p>There are many users who need to migrate their applications from Oracle to the open source Postgres, but in order to support the new database, users often need to re-develop the application, which is inconvenient. If there is a database based on Postgres and compatible with most Oracle syntax and functions, it will be too convenient for customers. However, the official Postgres project will not accept this kind of code submission. After all, Postgres is Postgres, and Oracle is Oracle.
So, let&#x27;s make an Oracle compatible database.
This talk will introduce how to make a database compatible with Oracle syntax based on PG, and introduce the IvorySQL project. This project is an open source project (Apache 2.0) led by Highgo Software and currently has released version 1.2 based on PostgreSQL 14.2.
<strong>Welcome everyone to contribute to this open source Oracle compatible database - IvorySQL, powered by PostgreSQL.</strong></p><h2>Time and Link</h2><ul><li><strong>Time:</strong> Stay tuned for the IvorySQL Project Webinar on March 31, 2022 at 1:00pm PDT.</li><li><strong>Participating website：</strong><a href="https://postgresconf.org/accounts/sign_up">https://postgresconf.org/accounts/sign_up</a></li><li><strong>Watch the link：</strong><a href="https://postgresconf.org/conferences/PostgresWorld-Webinars-2022/program/proposals/ivorysql-an-open-source-oracle-compatible-database-based-on-postgresql">https://postgresconf.org/conferences/PostgresWorld-Webinars-2022/program/proposals/ivorysql-an-open-source-oracle-compatible-database-based-on-postgresql</a></li></ul><hr/><blockquote><p>Join the IvorySQL community by subscribing to mailing lists:  </p><ul><li><strong><a href="https://lists.ivorysql.org/postorius/lists/hackers.ivorysql.org/">Hackers List</a></strong>  </li><li><strong><a href="https://lists.ivorysql.org/postorius/lists/general.ivorysql.org/">Users List</a></strong>  </li></ul><p><strong><em>Also, don&#x27;t forget to give us a :star: on <a href="https://github.com/IvorySQL/IvorySQL">Github</a></em></strong></p></blockquote>]]></content>
        <author>
            <name>IvorySQL Team</name>
            <uri>https://github.com/ivorysql</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[IvorySQL Has Arrived]]></title>
        <id>IvorySQL</id>
        <link href="https://ivorySQL.org/blog/IvorySQL"/>
        <updated>2022-01-28T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[Hello]]></summary>
        <content type="html"><![CDATA[<p><img src="Hello-banner.png" alt="Hello"/>  </p><p>Just when the world was packing the bags for the holiday season and getting ready to welcome the New year we were hard at work and were giving the final touches to the project that our team was working on since the start of 2021. And it was the 15th of December just before the day end we got all green lights and silently released the very first version of IvorySQL before cleaning up the desk for that day.</p><h2>IvorySQL at Glance</h2><p>IvorySQL is <strong>Apache 2.0</strong> licensed Open Source Oracle compatible PostgreSQL. The very first release of IvorySQL is derived from PostgreSQL 14 with a firm commitment to always remain 100% compatible and a Drop-in replacement of the latest PostgreSQL.  </p><p>IvorySQL adds a compatible_db GUC on top of existing standard PostgreSQL configuration parameters. The <code>compatible_db</code> is a toggle switch to switch between Oracle and PostgreSQL compatibility modes. The second major highlight of IvorySQL is <code>PL/iSQL</code> procedural language that supports oracle’s PL/SQL syntax. These two additions sit at the core of Oracle compatibility of IvorySQL without breaking the standard PostgreSQL compatibility. The <code>compatible_db</code> switches the behavior of functions and objects that exist in both Oracle and PostgreSQL and acts differently, while <code>PL/iSQL</code> builds the foundation for running the oracle code on IvorySQL with minimal changes.  </p><p>IvorySQL comes with numerous Oracle compatibility features including Oracle style  <strong>PACKAGES</strong>, <strong>DATA Types</strong>, and <strong>Conversion Functions</strong>. For details of Oracle compatibility features in IvorySQL refer to <em><a href="https://www.ivorysql.org/docs/intro">IvorySQL documentation</a></em>   </p><h2>We are committed to following the principles of open source way</h2><p>IvorySQL is committed to abiding by the principles of <strong><em><a href="https://opensource.com/open-source-way">open-source ways</a></em></strong> and we strongly believe in building a healthy and inclusive community. We maintain that good ideas can come from anywhere, and the best ideas should win. Only by including diverse perspectives, we can reach to the best decision. While the first version of IvorySQL is mainly focused on Oracle Compatibility features, going forward the future road map and feature set will be determined by the community in an open-source way.</p><h2>Contributing to the IvorySQL</h2><p>There are plenty of ways to contribute to IvorySQL. You can contribute by providing the documentation updates, by providing the translations for the documentation. If you have design skills you can contribute to the IvorySQL website project.<br/>
<!-- -->Testing the IvorySQL and reporting issues, by issuing pull requests for bug fixes or new features or answering the questions on mailing lists are some ways to contribute to the IvorySQL project and all types of contributions are welcomed and appreciated by the IvorySQL community.  </p><h2>Getting Started</h2><p>All IvorySQL related projects including database server, website, and documentation are hosted and managed through Github. You can download the source code or released packages and track the current issues, pull requests, and discussions through the IvorySQL <a href="https://github.com/IvorySQL/">Github page</a>.  </p><p>Visit <a href="http://www.ivorysql.org">http://www.ivorysql.org</a> and read the project documentation and contribution guidelines.  </p><hr/><blockquote><p>Join the IvorySQL community by subscribing to mailing lists:  </p><ul><li><strong><a href="https://lists.ivorysql.org/postorius/lists/hackers.ivorysql.org/">Hackers List</a></strong>  </li><li><strong><a href="https://lists.ivorysql.org/postorius/lists/general.ivorysql.org/">Users List</a></strong>  </li></ul><p><strong><em>Also, don&#x27;t forget to give us a :star: on <a href="https://github.com/IvorySQL/IvorySQL">Github</a></em></strong></p></blockquote>]]></content>
        <author>
            <name>IvorySQL Team</name>
            <uri>https://github.com/ivorysql</uri>
        </author>
    </entry>
</feed>