Top "Libpq" questions

libpq is the C application programmer's interface to PostgreSQL.

Rails 3 - can't install pg gem

When I try to run bundle (bundle install), I all the time get Installing pg (0.13.2) with native extensions Gem::Installer::…

ruby-on-rails macos postgresql-9.1 pg libpq
g++ throwing file not recognized: File format not recognized error

getting following error with the command g++ -o test -L . -l pq libpq.so: file not recognized: File format not …

linux g++ libpq
ImportError: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /usr/lib/libpq.so.5)

I have to run a tornado webapp on a server using psycopg2 with postgresql as backend. I am working on …

postgresql psycopg2 glibc rhel libpq
How can I solve Postgresql SCRAM authentifcation problem?

I am getting an error after moving the project to production. The error is as follows while running with production …

database postgresql authentication libpq
How to install libpq-dev package for windows

I know how to install libpq-dev for ubuntu, but I was looking through past questions and I was not able …

windows postgresql libpq
FindPostgreSQL.cmake won't work on ubuntu

Ubuntu 12.04 CMake 2.8.9 Postgresql 9.2.2 I'm trying to get the FindPostgreSQL module to find /usr/include/postgresql/libpq-fe.h. Here's what I …

cmake libpq
postgresql "keepalives" parameter

According to https://www.postgresql.org/docs/current/static/libpq-connect.html there is parameter keepalives and further parameters keepalives_idle, …

postgresql connection database-connection libpq
Type conversion. What do I do with a PostgreSQL OID value in libpq in C?

I'm working with the PostgreSQL C API, libpq. I need to be able to convert the values in a PGresult* …

c postgresql libpq
Library not loaded: libpq.5.dylib

I have app that is running Ruby 1.9.2, Rails 3, and postgreSQL 8.3. It was originally setup and working with postgreSQL 9.1, but I …

ruby-on-rails postgresql libpq
Simple Postgresql libpq code too slow?

I was working on postgresql using libpq. The code given below is taking a lot of time (timings given at …

c++ c postgresql libpq