pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedBeginner Programming Question
2+ messages / 2 participants
[nested] [flat]
* Beginner Programming Question
@ 2002-04-18 17:15 Jeff Flowers <jeffrey@jeffreyf.net>
2002-04-23 08:51 ` Re: Beginner Programming Question Andreas Kretzer <andi@kretzer-berlin.de>
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Flowers @ 2002-04-18 17:15 UTC (permalink / raw)
To: pgsql-interfaces
I am planning on using PostgreSQL and I would like to have a command line
frontend. I am just now learning C, so my question is: what is the best way
for a novice to get started? libpgeasy seems cool but there doesn't seem to
be much in the way of examples for it.
Also, has anyone designed a front-end using a shell, such as Bash?
Thanks,
Jeff Flowers
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Beginner Programming Question
2002-04-18 17:15 Beginner Programming Question Jeff Flowers <jeffrey@jeffreyf.net>
@ 2002-04-23 08:51 ` Andreas Kretzer <andi@kretzer-berlin.de>
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Kretzer @ 2002-04-23 08:51 UTC (permalink / raw)
To: pgsql-interfaces
Jeff Flowers wrote:
> I am planning on using PostgreSQL and I would like to have a command line
> frontend. I am just now learning C, so my question is: what is the best way
> for a novice to get started? libpgeasy seems cool but there doesn't seem to
> be much in the way of examples for it.
>
> Also, has anyone designed a front-end using a shell, such as Bash?
Use 'psql' !
It's a simple SQL query backend and the use is straight forward! I use it regularly
to manage bad entries (-> user fault which are not correctable from application side)
and to discover strange things which lead to errors in my application.
The first arg to psql is the database name. If you miss it, your database will be your
user name (if it doesn't exist it will fail). Read the manual or try the online help
BTW: I use Tcl/Tk for my applications. It's easy to use, provides a graphical frontend
and is portable between Linux and Windows.
Hope this helps
Andreas
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-04-23 08:51 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-04-18 17:15 Beginner Programming Question Jeff Flowers <jeffrey@jeffreyf.net>
2002-04-23 08:51 ` Andreas Kretzer <andi@kretzer-berlin.de>
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