Hi, While testing performance of PG9.2.4 using DBT5, I am getting error in
<dbt5_output_result>/bh/bh.out file as : *BrokerageHouseMain: symbol lookup error: BrokerageHouseMain: undefined symbol: PQescapeLiteral* So i tried with CPP code as follow -------------------------- test.cpp ------------------------------------------ #include <iostream> #include <libpq-fe.h> #include <string.h> using namespace std; int main(){ PGconn *db; char connstring[] = "dbname=postgres"; db = PQconnectdb(connstring); char url[] = "https://www.google.co.jp/"; cout<< PQescapeLiteral(db, (const char *)url, (size_t) strlen(url))<<"\n"; } ------------------------------------------------------------------------------------- While compilation using GCC, gcc test.cpp throws error : test.cpp: In function ‘int main()’: test.cpp:22: error: ‘PQescapeLiteral’ was not declared in this scope Do i missing something? Thanks & regards, Amul Sul