dbTalk Databases Forums  

postgres library simailar to mysql.h

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss postgres library simailar to mysql.h in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Chris
 
Posts: n/a

Default postgres library simailar to mysql.h - 12-17-2003 , 02:30 PM






I am trying to convert a driver for dspam from mysql to postgres. In the files I have they are useing mysql.h. Is there a similar library for postgres? If so what is it and is there any documentation on how to use it besides what is in the actual code?

Thanks
Chris

Reply With Quote
  #2  
Old   
joseph speigle
 
Posts: n/a

Default Re: postgres library simailar to mysql.h - 12-17-2003 , 03:04 PM






I think the second one of these may be what you are looking for!

fmgr.h
postgres.h


On Wed, Dec 17, 2003 at 02:30:46PM -0600, Chris wrote:
Quote:
I am trying to convert a driver for dspam from mysql to postgres. In the files I have they are useing mysql.h. Is there a similar library for postgres? If so what is it and is there any documentation on how to use it besides what is in the actual code?

Thanks
Chris
--
joe speigle

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html



Reply With Quote
  #3  
Old   
Michael Fuhr
 
Posts: n/a

Default Re: postgres library simailar to mysql.h - 12-17-2003 , 03:32 PM



On Wed, Dec 17, 2003 at 02:30:46PM -0600, Chris wrote:
Quote:
I am trying to convert a driver for dspam from mysql to postgres. In
the files I have they are useing mysql.h. Is there a similar library for
postgres? If so what is it and is there any documentation on how to use
it besides what is in the actual code?
PostgreSQL's client-side library is called libpq; the header file is
libpq-fe.h. Documentation for the latest version (7.4) is here:

http://www.postgresql.org/docs/curre...tic/libpq.html

If you're using something older, then pick the appropriate version from
the documentation main index:

http://www.postgresql.org/docs/

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.