Re: Bug report: Wrong version in pg_config

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: Bug report: Wrong version in pg_config
Дата
Msg-id 87skab4ccz.fsf@hi-media-techno.com
обсуждение исходный текст
Ответ на Re: Bug report: Wrong version in pg_config  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Tom Lane <tgl@sss.pgh.pa.us> writes:
> You would need to take that up with whoever packages Postgres for
> Ubuntu.  It sounds like they have some glitch in the package setup.
> AFAIK, whoever that is doesn't read this list, which is mainly for
> upstream Postgres development.

I think Martin Pitt reads this list, he's maintaining both for ubuntu
and debian. The problem itself is tied to the multi-major version
support in the packaging, and in the tools.

  # dpkg -S /usr/bin/pg_config
  libpq-dev: /usr/bin/pg_config

The libpq-dev should be independant of the major version you target, but
contains pg_config. Using the direct path works too:

  postgresql-server-dev-8.4: /usr/lib/postgresql/8.4/bin/pg_config
  postgresql-server-dev-8.3: /usr/lib/postgresql/8.3/bin/pg_config

You could even adjust your PATH to prepend it with the bin tools you
need for a specific debian major.

Regards,
--
dim

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Bug report: Wrong version in pg_config
Следующее
От: Ted Clark
Дата:
Сообщение: BUG #2197: PostgreSQL error- 'could not read block 0 of relation'