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

From: "Marc ROGLIANO" <marc(at)rogliano(dot)net>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2606: (libpq) incorrect function declaration in libpq-fe.h
Date: 2006-09-02 00:26:48
Message-ID: 200609020026.k820Qm4Y071231@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2006-09-02 02:43:12 Re: reindexdb command utlility
Previous Message weisong44@gmail.com 2006-09-01 21:56:20 Hanging queries on Windows 2003 SP1