views:

45

answers:

1

Does anybody know how psql accesses PostgreSQL database? What it uses odbc, jdbc or some native database library?

+2  A: 

It uses libpq.

Milen A. Radev
Thanks, are you developer or it is written somewhere in the documentation?
Tim
@Tim If you click on a poster's name you can see his profile.
Peter G.
@Peter: Don't misunderstand me, I do not offend anybody, just want to see official information by myself. Btw, it is written "PHP programmer; SVN and PostgreSQL administrator", I am not sure if every PostgreSQL administrator knows such details.
Tim
Comment on my 1st comment: by developer I meant developer of psql, not developer in general as it may seem..
Tim
That's right, Makefile of psql shows that: psql: $(OBJS) $(libpq_builddir)/libpq.a
Tim
No, I'm not related to the PGDG (PostgreSQL Global Development Group) in any way though I'm satisfied "customer" and enthusiast. And I have built Postgres from source quite a few times.
Milen A. Radev