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