It is included in distribution and is called 'libpq'. Similar to Oracle OCI, Sybase DB-lib, Informix CLI libraries.
It is included in distribution and is called 'libpq++'. See the section - Testing C and C++ PostgreSQL interface
ESQL/C 'Embedded C Pre-compiler' for PostgreSQL ESQL/C is like Oracle Pro*C, Informix ESQL/C. The PostgreSQL ESQL/C is an SQL application-programming interface (API) enables the C programmer to create custom applications with database-management capabilities. The PostgreSQL ESQL/C allows you to use a third-generation language with which you are familiar and still take advantage of the Structured Query Language (SQL).
ESQL/C consists of the following pieces of software:
To use Vim color editor to edit 'ecpg' files (*.pgc), you must do the following:-
bash$ su - postgres bash$ mkdir $HOME/vim And create a file '$HOME/vim/myfilestypes.vim' which has these lines " myfiletypefile au! BufRead,BufNewFile *.pgc set filetype=esqlc
let myfiletypefile = "~/vim/myfiletypes.vim"
bash$ gvim sample.pgc
Bitwise operators was written by Nicolas Moldavsky
"C" functions that implement bitwise operators (AND, OR, XOR, bit complement) on pgsql. Get them by anonymous FTP from Makefile for Linux is included.