PBUILDER4CPP for PostgreSQL goes ahead

PBUILDER4CPP for PostgreSQL goes ahead. In this link you can see automatically generated C++17 code from pgsql catalogs.

I’m writing a brand new analyzer and C++ render to produce lighter and faster entities and artifacts. You may compare it with tntdb-based example 1 to see main differences. Speed and safety are the leit motif of PBUILDER4CPP.

Next steps are:

  • Handle complex and naive datetime types with C++ built-in types to avoid additional dependencies like Boost.
  • Implement optimistic locking by detecting version columns in tables (int and long int types).
  • Test final generated code with Valgrind to avoid memory leaks. 

And, remember, you may use freely C++ generated code in your commercial projects.

Leave a comment