As you may know we had some great success lately with integrating Harbour with/To other systems and languages.
-Calling Python classes natively from Harbour (With the help and sample code from Antonio Linares)
-Create an entire FastCGI framework (learning from an initial mod_harbour project)
-Have a nice VSCode Extension (Antonino Perricone, but sadly does not believe in Harbour anymore, so we will need to find a way to support it)
-Mutli-Window Desktop HTML (webview UI), meaning calling Harbour from HTML/JS (Again some initial code from Antonio Linares, but also used hbhttpd)
-Full Client Server Rest API (curl)
-A complete Harbour ORM (hybrid with in-memory tables)
But now I would like to find a solution to add SELECT SQL locally, to the equivalent of in-memory tables).
Imagine querying a backend, like PostgreSQL, getting one or multiple results sets (in-memory tables), and then without querying a PostgreSQL server execute some additional SELECT SQL statements.
Imagine the remote query injecting the data into a local, in-memory embedded PostgreSQL.
Some people are using SQLite to do so, but what a nightmare with all the missing field types, and not using the same SQL statements as PostreSQL.
PostgreSQL is the
most advanced open source database product now. Using it from Harbour
will help us grow to be Enterprise grade.
For that reason, I am even enhancing DataWharf and Harbour_ORM to take advantage of even more PostgreSQL features, like CTEs, unlogged tables, array fields, JSON fields and more.
Harbour Hash Arrays are a perfect match to PostgreSQL JSON field types.
There are several project to create Embedded Postgres. There was an old project for C, but it was abandoned. There is one for Java and Node, but the most active and stared repo is for GO.
embedded-postgres
https://github.com/fergusstrange/embedded-postgres
658 stars
79 forks
But to use this, we would need to call Go from C (Harbour)
I did find an article about this:
So my question to all of us here, is this a good idea? Is anyone interested in working on a solution with me on this?
Harbour will have a bright future, we just need to be working on it :)
By the way the domain name for WharfSystems was changed to https://wharfsystems.com
--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/5f2cf9a2-b91b-4dd1-9011-612b1d1553ccn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/87354da2-9f54-40d9-83d9-82eba6f6035fn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/ae5a03f6-70a3-4dce-b000-6f8578da17b9n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/45b040a2-0f0c-4bbd-a26a-06bc2f8b22f5n%40googlegroups.com.