dbTalk Databases Forums  

[BUGS] BUG #2606: (libpq) incorrect function declaration in libpq-fe.h

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #2606: (libpq) incorrect function declaration in libpq-fe.h in the mailing.database.pgsql-bugs forum.



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

Default [BUGS] BUG #2606: (libpq) incorrect function declaration in libpq-fe.h - 09-03-2006 , 05:38 PM







The following bug has been logged online:

Bug reference: 2606
Logged by: Marc ROGLIANO
Email address: marc (AT) rogliano (DOT) net
PostgreSQL version: 8.1.4
Operating system: Windows XP
Description: (libpq) incorrect function declaration in libpq-fe.h
Details:

Hello,

In libpq-fe.h, the function lo_write is declared :

extern int lo_write(PGconn *conn, int fd, char *buf, size_t len);
=> 'const' missing before char *buf : buf should not be writable here

Best regards,
Marc

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

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.