pg-query-clj VS orafce

Compare pg-query-clj vs orafce and see what are their differences.

pg-query-clj

Clojure library to parse, deparse and normalize SQL queries using the PostgreSQL query parser (by schemamap)

orafce

The "orafce" project implements in Postgres some of the functions from the Oracle database that are missing (or behaving differently).Those functions were verified on Oracle 10g, and the module is useful for production work. (by orafce)
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
pg-query-clj orafce
1 4
9 537
- 0.6%
2.4 7.7
over 1 year ago 3 days ago
Clojure C
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

pg-query-clj

Posts with mentions or reviews of pg-query-clj. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-04-15.
  • Hacking the Postgres Wire Protocol
    8 projects | news.ycombinator.com | 15 Apr 2025
    > One of the things that puts metaprogramming on wheels is being able to pull in grammars, schemas and such for external systems.

    That's what I've been trying to do with: https://github.com/schemamap/schemamap

    For a well-constrained Postgres schema, a deterministic SQL compiler can be built (with plenty of logic programming/constraint-solving/hypergraph-analysis) that can integrate arbitrary external systems data.

    While this is NP-hard, with some clever use of embeddings and ontologies, and use of every single constraint AST within the DB to reduce the search space, this becomes feasible problem.

    For any Clojurists interested, I've packaged `pg_query`, so you can use it in your applications: https://github.com/schemamap/pg-query-clj

    At the moment I'm saving up for the next development cycle, so not only PG->PG schema mappings can be solved for (JSON schema is next!). Hope this sounds interesting :)

orafce

Posts with mentions or reviews of orafce. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-05-07.
  • Migration Oracle -> PostgreSQL : il n’y a que le driver à changer ! Non ?
    2 projects | dev.to | 7 May 2025
  • Hacking the Postgres Wire Protocol
    8 projects | news.ycombinator.com | 15 Apr 2025
    Is there even a grammar for Oracle SQL? I took a swing at trying to slurp it out of the "alt text" of the railroad images in the many, many html files in (e.g. https://docs.oracle.com/en/database/oracle/oracle-database/2... -> https://docs.oracle.com/en/database/oracle/oracle-database/2... ) but then I thankfully moved off any project from that point on that used Oracle and let it go

    I'm aware of https://github.com/orafce/orafce and https://github.com/pgoracle before that (the commit history also references ora2pg and searching for that surfaces https://github.com/darold/ora2pg which was just updated yesterday!) but I've never tried to use any of them in anger

  • Business Days
    1 project | /r/PostgreSQL | 5 Nov 2021
    This extension have some functions to work with business days https://github.com/orafce/orafce, search for “bizdays”
  • A new extension in PostgreSQL for Oracle DBMS_JOB compatibility
    1 project | news.ycombinator.com | 29 Aug 2021
    In that case, there even exist Orafce, a project that provides a lot of compatibility to a lot of Oracle Packages. For example, a lot of date functions, UTL_FILE, DBMS_OUTPUT and a lot more are already [art of this :)

    https://github.com/orafce/orafce

What are some alternatives?

When comparing pg-query-clj and orafce you can also consider the following projects:

schemamap - Instant batch data import for Postgres

hypopg - Hypothetical Indexes for PostgreSQL

libpg_query - C library for accessing the PostgreSQL parser outside of the server environment

pg-ulid - PostgreSQL extension for ULID

onepassword-sdk-go

pguri - uri type for PostgreSQL

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured