commit | 20d9a810fcbe356ef8644576bf50ea5cc87065bc | [log] [tgz] |
---|---|---|
author | seo-kw <keiseo@protonmail.com> | Sat Apr 27 02:15:22 2024 +0900 |
committer | GitHub <noreply@github.com> | Fri Apr 26 10:15:22 2024 -0700 |
tree | 20131b9f6bd909e4418e6914cacac72d62ae99b5 | |
parent | df0926701d03e9915f85d16e80dd6b8e64bab487 [diff] |
Add initial verions of pg_graph (#1801) - Adding initial code of pg_graph project
pg_graph is a new generation multi-model graph database for the modern complex data environment. pg_graph is a multi-model database, which supports the relational and graph data model at the same time that enables developers to integrate the legacy relational data model and the flexible graph data model in one database. pg_graph supports ANSI-SQL and openCypher (http://www.opencypher.org). SQL queries and Cypher queries can be integrated into a single query in pg_graph.
pg_graph is based on the powerful PostgreSQL RDBMS, and is very robust, fully-featured and ready for enterprise use. pg_graph is optimized for handling complex connected graph data and provides plenty of powerful database features essential to the enterprise database environment including ACID transactions, multi-version concurrency control, stored procedure, triggers, constraints, sophisticated monitoring and a flexible data model (JSON). Moreover, pg_graph leverages the rich eco-systems of PostgreSQL and can be extended with many outstanding external modules, like PostGIS.
Clone pg_graph onto your local machine
Install the necessary libraries and dependencies:
CENTOS:
$ yum install gcc glibc glib-common readline readline-devel zlib zlib-devel
Fedora:
$ dnf install gcc glibc bison flex readline readline-devel zlib zlib-devel
RHEL:
$ yum install gcc glibc glib-common readline readline-devel zlib zlib-devel flex bison
Ubuntu:
$ sudo apt-get install build-essential libreadline-dev zlib1g-dev flex bison
macOS (install Xcode):
$ xcode-select --install
Configure the source tree in /path/to/pg_graph:
$ ./configure --prefix=$(pwd)
By default,
make install
will install all the files in/usr/local/pgsql/bin
,/usr/local/pgsql/lib
etc. You want to specify an installation prefix to the current library. Ifconfigure
doesn't find any header with an error message, you can use--with-includes=/path/to/headers
option.
Build & install pg_graph:
Build and install pg_graph engine
$ make install
OPTIONAL: Build and install pg_graph along with other contrib and external modules (If you want to build pg_graph alone, run make install. This command builds pg_graph along with additional extensions):
$ make install-world
OPTIONAL: Set the PGGDATA
environment variable to easily configure pg_graph settings when necessary:
$ echo "export PGGDATA=/path/to/pg_graph/data" >> ~/.bashrc