pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: inkle c <inkle99@yahoo.com>
To: pgsql-interfaces@postgresql.org
Subject: libpq++ -- need a sample or code snippet which accesses the database
Date: Sun, 22 Aug 1999 21:36:55 -0700 (PDT)
Message-ID: <19990823043655.1458.rocketmail@web503.yahoomail.com> (raw)

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




Message-ID: <19990823043655.1458.rocketmail@web503.yahoomail.com>
Permalink:  ../19990823043655.1458.rocketmail@web503.yahoomail.com/
Also on:    postgresql.org/message-id/19990823043655.1458.rocketmail@web503.yahoomail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: inkle99@yahoo.com
  Subject: Re: libpq++ -- need a sample or code snippet which accesses the database
  In-Reply-To: <19990823043655.1458.rocketmail@web503.yahoomail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox