BUG #2606: (libpq) incorrect function declaration in libpq-fe.h - Mailing list pgsql-bugs

From Marc ROGLIANO
Subject BUG #2606: (libpq) incorrect function declaration in libpq-fe.h
Date
Msg-id 200609020026.k820Qm4Y071231@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #2606: (libpq) incorrect function declaration
List pgsql-bugs
The following bug has been logged online:

Bug reference:      2606
Logged by:          Marc ROGLIANO
Email address:      marc@rogliano.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

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #2599: AM/PM doesn't work in to_timestamp in
Next
From: "weisong44@gmail.com"
Date:
Subject: Hanging queries on Windows 2003 SP1