Received: from web503.yahoomail.com (web503.mail.yahoo.com [128.11.68.70]) by hub.org (8.9.3/8.9.3) with SMTP id AAA60293 for ; Mon, 23 Aug 1999 00:36:38 -0400 (EDT) (envelope-from inkle99@yahoo.com) Message-ID: <19990823043655.1458.rocketmail@web503.yahoomail.com> Received: from [12.17.193.105] by web503.mail.yahoo.com; Sun, 22 Aug 1999 21:36:55 PDT Date: Sun, 22 Aug 1999 21:36:55 -0700 (PDT) From: inkle c Subject: libpq++ -- need a sample or code snippet which accesses the database To: pgsql-interfaces@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi, I am pretty frustrated by finding out that I couldn't use libpq++ to access database as freely as I would use java jdbc. My basic need includes: list all the tables inside a database create a table list all records in the table Let me know if you know any of the above, I use a PgTransaction object as shown in src/interface/libpq++/example, then neither Exec("CREATE TABLE xxx") nor ExecCommandOk("CREATE TABLE xxx") is able to create a table for me. Any comments? Thanks. inkle __________________________________________________ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com