Skip to content
forked from orafce/orafce

The new orafce extension for PostgreSQL, developed by Tmax OpenSQL

Notifications You must be signed in to change notification settings

tmaxopensql/orafce

 
 

Repository files navigation

Tmax OpenSQL Orafce

Introduction

This is the new orafce extension for PostgreSQL. We are diverging from orafce v4.13.5 and will implement new features in this repository from now. The new changes will be recorded in CHANGELOG.

The documentation on the original orafce features up to version 4.13.5 can be found in the following list:

Orafce Documentation

Oracle to PostgreSQL Migration Guide

Dependencies

  • CMake version 3.10 or later
  • PostgreSQL server version 10 or later
  • PostgreSQL server development files version 10 or later

Building

cmake -S . -B build
cmake --build build

Testing

The new orafce uses pgTAP for tests. Follow the instructions below to test the extension.

Install pgTAP and its dependencies

# Clone source repository
$ git clone https://github.com/theory/pgtap.git

# Build pgTAP
$ cd pgtap
$ make
$ make install
$ make installcheck

# Install Perl parser library for pgTAP
$ cpan TAP::Parser::SourceHandler::pgTAP

Run Tests

$ cd orafce
$ pg_prove -U ${username} tests/${feature_set_to_test}/${feature_to_test}.sql

About

The new orafce extension for PostgreSQL, developed by Tmax OpenSQL

Resources

Stars

Watchers

Forks

Languages

  • PLpgSQL 51.9%
  • C 46.3%
  • CMake 1.8%