libpq
Why do I get compilation errors when trying to connect to postgresql with c?
I tried to create a simple c programm which should connect to my postgres db, but I am not able to get aware of the following compilation errors...[详细]
2023-03-08 23:09 分类:问答Postgresql PQgetvalue: array return
I\'ve a table created like: CREATE TABLE tbl_test ( idbigserialPRIMARY KEY, interestintARRAY[2] ); I got PGresult* res using PQexec(conn, \"SELECT * FROM tbl_test\");[详细]
2023-03-01 23:24 分类:问答Libpq speed on windows
I have a problem with libpq on windows.Connecting to a db a开发者_如何学Cnd running a \"select * from some_table;\" is very slow.[详细]
2023-01-23 16:09 分类:问答PostgreSQL's libpq: Encoding for binary transport of ARRAY[]-data?
after hours of documentations/boards/mailinglists and no progress I may ask you: How do I \'encode\' my data to use it for binary transport using libpq\'s PQexecParams(.) ?[详细]
2023-01-22 02:37 分类:问答How to convert a PGresult to custom data type with libpq (PostgreSQL)
I\'m using the libpq library in C to accessing my PostgreSQL database. So, when I do res = PQexec(conn, \"SELECT point FROM test_point3d\"); I don\'t know how to convert the PGresult I got to my custo[详细]
2022-12-29 03:25 分类:问答Force libpq to compile with 10.5
I need to compile libpq with 10.5 for using later in the simulator. I can use the libpq in the device without problems.[详细]
2022-12-21 14:30 分类:问答Randomly disappearing struct
I\'ve created a Objective-C class to interface with PostgreSQL using libpq. It mostly works but I have one small problem - the connection seems to disappear randomly.[详细]
2022-12-13 00:54 分类:问答