Hi ,

I am extremely new to PostGreSql. If any one can please answer 
this question of mine. I want to insert/update records into the 
postgres database through C or perl code. The only condition is 
that it should be efficient. Can anybody tell me the difference 
between ecpg and libpq and which one should I work on for solving 
my problem.

Thanks in advance.
Vikas.

_________________________________________________________
Click below to visit monsterindia.com and review jobs in India or 
Abroad
http://monsterindia.rediff.com/jobs


10 Jun 2002 20:09:57 -0000
"vikas p verma" <vvicky72@rediffmail.com>
PostGres Doubt
On Mon, Jun 10, 2002 at 08:09:57PM -0000, vikas p verma wrote:
> this question of mine. I want to insert/update records into the 
> postgres database through C or perl code. The only condition is 
> that it should be efficient. Can anybody tell me the difference 
> between ecpg and libpq and which one should I work on for solving 
> my problem.

Both will work and both will be efficient. ecpg internally uses libpq to
do the real work but gives you the standard SQL commands without having
to learn any new library API.

Michael
-- 
Michael Meskes
Michael@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!

Wed, 12 Jun 2002 14:35:38 +0200
Michael Meskes <meskes@postgresql.org>
Re: PostGres Doubt