

Radikant PostgreSQL is a c library prototype that can connect directly to a PQ server. It depends on Radikant TLS and Socket for connection and Radikant SASL for auth mechanism. A quasi SQL c strucuture is provided to make queryies readible.
Connecting is a two step rocket, the pq_connect() function will establish a TLS connection to the PQ server, pq_login() will actually authenticate the user using SASL.
This lib has Query Builder API that abstracts SQL command construction into a pg_query_params_t struct. Instead of writing raw SQL strings, you can define the query's semantic components allowing the library to generate and execute the corresponding SQL statement.
The pg_table_t structure provides a convenient, column-oriented abstraction for PostgreSQL query results. It simplifies data manipulation by grouping values by column and is supported by high-level functions such as pg_query_table, which executes a query and returns a fully populated, typed table in a single step. With built-in utilities for memory management and visualization (like pg_print_table), it significantly reduces the boilerplate code typically required to parse and inspect database records in C.