Re: Database connectivity using a unix shell

From: Richard Broersma Jr <rabroersma(at)yahoo(dot)com>
To: Jasbinder Bali <jsbali(at)gmail(dot)com>, Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Database connectivity using a unix shell
Date: 2006-06-29 20:06:48
Message-ID: 20060629200648.82915.qmail@web31807.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> What if I don't have a shell script and instead of that I have a C code and
> need to connect to the postgres database.
> How do i accomplish this? do i still need to call this psql clinet interface
> or there is some other way to do it..

In this case you could use ecpg:
http://www.postgresql.org/docs/8.1/interactive/ecpg.html

If you are interested in any other programming languages that can connect please see:
http://www.postgresql.org/download/
notice the section:
"Application Programming Interfaces"

Regards,

Richard Broersma Jr.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tim Hart 2006-06-29 21:58:23 Re: User privileges in web database applications
Previous Message Peter Wilson 2006-06-29 20:02:06 Re: Database connectivity using a unix shell