For the record: ----- Forwarded message from Alvaro Herrera <[EMAIL PROTECTED]> -----
Date: Sat, 29 Jul 2006 21:41:23 -0400 From: Alvaro Herrera <[EMAIL PROTECTED]> To: PostgreSQL Bugs <[email protected]> Subject: Re: [BUGS] Fwd: Bug#380047: libpq-dev: no declaration for pg_encoding_to_char Mail-Followup-To: PostgreSQL Bugs <[email protected]> X-Spam-Status: No, score=0.1 required=4.0 tests=AWL,BAYES_50 autolearn=no version=3.0.3 Martin Pitt wrote: Hi, > I recently got this bug report about a missing declaration of > pg_encoding_to_char() in the official client library headers > (PostgreSQL 8.1.4). This causes some build problems of depending > packages like the ruby bindings [1]. > > So, should this function be declared in libpq-fe.h (or pg_wchar.h > included into the postgresql client development package), or is this > function obsolete? This function has been defined in pg_wchar.h for a long time, and is certainly not deprecated. OTOH I don't think it makes much sense to put that function declaration in libpq-fe.h, because it's not exclusive of frontends. The correct solution seems to be that the libpq-dev package must include mb/pg_wchar.h. Not sure how reasonable that is for your package set; if there's a package with the rest of the headers, probably it'll have to depend on libpq-dev or something. > [1] http://bugs.debian.org/18858 I find this one more closely related to the topic at hand: http://bugs.debian.org/318858 -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc. ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org ----- End forwarded message ----- -- Martin Pitt http://www.piware.de Ubuntu Developer http://www.ubuntu.com Debian Developer http://www.debian.org In a world without walls and fences, who needs Windows and Gates?
signature.asc
Description: Digital signature

