summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1998-09-11 05:18:12 +0000
committerBruce Momjian <bruce@momjian.us>1998-09-11 05:18:12 +0000
commit8133867f51aac53b9e230877612dc7de0e7f882d (patch)
tree1ecb2b3ae8b403a71a12a5b04184e8844694f441
parenta5d4642578e1ea4f2c414e7c94d8115890c0a814 (diff)
update pginterface
-rw-r--r--contrib/pginterface/README24
1 files changed, 0 insertions, 24 deletions
diff --git a/contrib/pginterface/README b/contrib/pginterface/README
index 1d4acdd99bb..5190acc0cfa 100644
--- a/contrib/pginterface/README
+++ b/contrib/pginterface/README
@@ -6,30 +6,6 @@ Attached is a copy of the Postgres support routines I wrote to allow me
to more cleanly interface to the libpg library, more like a 4gl SQL
interface.
-It has several features that may be useful for others:
-
-I have simplified the C code that calls libpq by wrapping all the
-functionality of libpq in calls to connectdb(), doquery(), fetch(),
-fetchwithnulls() and disconnectdb(). Each call returns a structure or
-value, so if you need to do more work with the result, you can. Also, I
-have a global variable that allows you to disable the error checking I
-have added to the doquery() routine.
-
-I have added a function called fetch(), which allows you to pass
-pointers as parameters, and on return the variables are filled with data
-from the binary cursor you opened. These binary cursors are not useful
-if you are running the query engine on a system with a different
-architecture than the database server. If you pass a NULL pointer, the
-column is skipped, and you can use libpq to handle it as you wish.
-
-There are two functions, get_result() and set_result(), that allow you
-to handle multiple result sets at the same time.
-
-There is a reset_fetch() that starts the fetch back at the beginning.
-
-There is a demo program called pginsert that demonstrates how the
-library can be used.
-
You can create a library of pginterface.c and halt.c, and just include
pginterface.h in your source code.