Re: how to build extensions when not on 9.3?

Поиск
Список
Период
Сортировка
От Christoph Berg
Тема Re: how to build extensions when not on 9.3?
Дата
Msg-id 20140724080902.GA28113@msg.df7cb.de
обсуждение исходный текст
Ответ на Re: how to build extensions when not on 9.3?  (Jeff Frost <jeff@pgexperts.com>)
Список pgsql-pkg-debian
Re: Jeff Frost 2014-07-24 <69FA86B8-E8BA-4BD4-8EF1-63A92E5EA149@pgexperts.com>
> Anyone have any ideas here?  I opened a github issue with the pg_repack maintainer, but he didn't have a better idea
thanme. 
>
> Is there a reason that we only provide a 9.3 libpq-dev?
>
> https://github.com/reorg/pg_repack/issues/27
>
> Is the answer just install from source if you're not on 9.3 and need to install extensions?

Sorry for the non-answer via mail so far.

As said on IRC, everything else works. We are building lots of server-
side extensions for various PG versions in parallel, all using the
9.3 libpq5 and libpq-dev.

There are/were some knows problems where the client headers depend on the
server, though that should be a different issue.

I haven't had time to look into pg_repack yet. Possibly I can come up
with a solution once these minor releases are out of the door.

Re: Dimitri Fontaine 2014-07-24 <m2iomnkz3h.fsf@2ndQuadrant.fr>
> Jeff Frost <jeff@pgexperts.com> writes:
> >> It seems that postgresql-server-dev-9.2 drags libpq-dev-9.3 along
> >> with it and the subsequent compiles fail.
>
> Sorry to only see that now, but it seems to me that your question is
> answered in the FAQ:
>
>
http://wiki.postgresql.org/wiki/Apt/FAQ#I_want_libpq5_for_version_X.2C_but_there_is_only_version_Y_in_the_repository
>
> Namely in your case you should tweak your sources.list entry like this:
>
>   deb http://apt.postgresql.org/pub/repos/apt/ squeeze-pgdg main 9.2

Ack.

> > Is there a reason that we only provide a 9.3 libpq-dev?
>
> My (limited) understanding here is that the libpq package provides both
> server side and client side components, and for client side components
> all you need is the most recent libpq around.

Right, plus postgresql-server-dev-<version>.

> Where I need some more facts is on the server-side parts that are to be
> found in libpq-dev, I think that's a bug.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=314427
http://www.postgresql.org/message-id/20140426122548.GA7249@msgid.df7cb.de

Christoph
--
cb@df7cb.de | http://www.df7cb.de/


В списке pgsql-pkg-debian по дате отправления:

Предыдущее
От: Dimitri Fontaine
Дата:
Сообщение: Re: how to build extensions when not on 9.3?
Следующее
От: apt.postgresql.org repository
Дата:
Сообщение: postgresql-9.4 updated to version 9.4~beta2-1.pgdg+1