*sigh* we have the same problem and i used the libpq c interface and i
based it from pg_dump.c (and bruce mentioned psql.c).  as with the Gtk+,
is this the tcl/tk library?  i'm not sure but someone made PgAccess which
may be similar to what you're doing.  in any case, i'm forwarding this to
the more knowledgable people.

[---]
Neil D. Quiogue <neil@iphil.net>
IPhil Communications Network, Inc.
Other: neil@postgresql.org

---------- Forwarded message ----------
Date: Mon, 12 Jan 1998 15:01:52 +0100 (CET)
From: Zio Budda <ziobudda@chiara.dei.unipd.it>
To: webmaster@postgresql.org
Subject: for the development team

Hi, sorry for the offtopic, but i don't know the right e-mail address, so
plz forward this mail to the development team.

-begin
Hi, i'm Michel and i'm working on a interface like Access95 for Postgresql
under Linux with Gtk+ libraries. I want to know where and how is
record/save the type, the name of every table of selected database and
fileds names/attributes of the tables of selected database too.
Plz respond to this... tnx
 

Morelli 'ZioBudda' Davide Michel - Member of Pluto Linux User Group
ziobudda@chiara.dei.unipd.it - http://www.dau.ing.univaq.it/~ziobudda/
Linux Problem? Ask to linux@media.dsi.unimi.it
"E che la scimmia sia con te in ogni posto e in ogni momento." (ZioBudda)


Tue, 13 Jan 1998 12:38:56 +0800 (HKT)
"neil d. quiogue" <neil@iphil.net>
for the development team (fwd)