Experiments using the PostgresSQL C API