Home > Archive > PostgreSQL Discussion > April 2006 > libpq and plpgsql









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author libpq and plpgsql
Bit Byter

2006-04-05, 8:25 pm

I want to write a client end (in C/C++ ) to postgresql. I have oped to
use libpq and write a few wrapper classes around it - no problem.
However, all my 'queries' are written as stored procedures i.e.
functions using PLPGSL.

For the life of me, I cannot find any examples that show how to use
libpq to execute a 'function' i.e. 'stored procedure' written in
PLPGSQL, all the example showing how to obtain results from the
database using libpq, seem to be straightforward SQL statements.

Does any one know how I can execute an existing stored procedure using
libpq?

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com