Thread: Help with C++
Debian 2.2 Intel. What is the file I have to '#include' when accessing the posgreSql from c++? How can I find out what is the path of the cpp library I have to include when running g++? Where do I find information regading about accessing PostgreSQL with C/C++? Thanks in advance.
Look in the programmer docs For C: www.postgresql.org/idocs/index.php?libpq.html For C++: www.postgresql.org/idocs/index.php?libpqplusplus.html Tim ----- Original Message ----- From: "Mayan" <escalante@canada.com> To: <pgsql-general@postgresql.org> Sent: Monday, May 21, 2001 10:36 PM Subject: [GENERAL] Help with C++ > Debian 2.2 > Intel. > What is the file I have to '#include' when accessing the posgreSql from > c++? > How can I find out what is the path of the cpp library I have to include > when running g++? > > Where do I find information regading about accessing PostgreSQL with > C/C++? > > > > Thanks in advance. > > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org >
I don't know if it's really needed. The examples at the end of the libpq doc worked just great for me. I found them to be very straight forward. Regarding libpq++, I understand that whole api is being reworked. At least I got that impression from past thread postings. For more info on this see the 11 message thread in the archives, starting with: http://fts.postgresql.org/db/mw/msg.html?mid=114659 Tim ----- Original Message ----- From: "Justin Clift" <justin@postgresql.org> To: "Tim Barnard" <tbarnard@povn.com> Sent: Tuesday, May 29, 2001 3:42 AM Subject: Re: [GENERAL] Help with C++ > Hi Tim, > > Are you any good with programming C and PostgreSQL or C++ and > PostgreSQL? > > I'm thinking an introductory article for people might be useful on the > techdocs site. > > What do you think? > > :-) > > Regards and best wishes, > > Justin Clift > > Tim Barnard wrote: > > > > Look in the programmer docs > > > > For C: www.postgresql.org/idocs/index.php?libpq.html > > For C++: www.postgresql.org/idocs/index.php?libpqplusplus.html > > > > Tim > >