Re: pg_dump and pgpool

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: pg_dump and pgpool
Дата
Msg-id 1104358774.5893.18.camel@state.g2switchworks.com
обсуждение исходный текст
Ответ на Re: pg_dump and pgpool  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_dump and pgpool
Re: pg_dump and pgpool
Список pgsql-general
On Wed, 2004-12-29 at 16:11, Tom Lane wrote:
> Scott Marlowe <smarlowe@g2switchworks.com> writes:
> > I've noticed today that if one tries to pg_dump a database cluster
> > running under pgpool, one gets the error message:
>
> > pg_dump: query to get table columns failed: ERROR:  kind mismatch
> > between backends
> > HINT:  check data consistency between master and secondary
>
> I would like to know exactly what pgpool has done to break pg_dump.

What's happening is that there are two databases behind pgpool, and each
has managed to assign a different (set of) OID(s) to the table(s).  So,
when pg_dump asks for an OID, it gets two different ones.

> > Looking at the SQL that pg_dump sends to be relying on object OIDs for
> > the dump.
>
> There is nothing wrong with that technique ...

What I'd want is for it to use a join IN the database so that at no time
are OIDs floating across the ether or seen by pg_dump.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump and pgpool
Следующее
От: "Ed L."
Дата:
Сообщение: WARNING: group with ID NNN does not exist