Re: Hstore OID bigger than an integer

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Hstore OID bigger than an integer
Дата
Msg-id 20190823154023.GA11538@alvherre.pgsql
обсуждение исходный текст
Ответ на Hstore OID bigger than an integer  (Roberto Mireles <roberto.mireles@42-q.com>)
Список pgsql-hackers
On 2019-Aug-23, Roberto Mireles wrote:

> I have an application that can not access the database due to OID value for
> hstore extension is bigger than an integer value. Application uses a NpgSql
> driver that only supports integer types for OIDs.

That's a bug in Npgsql.  OIDs are unsigned.

> I have searched for a workaround or something that can help us to be able
> to connect to the database, but have not found anything related.
> 
> I also tried by dropping, creating extension again, but same result.

As a workaround, it would probably work to change the OID counter back
to the positive side of the signed value (probably using pg_resetxlog,
beware), then drop and recreate the extension.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Cleanup isolation specs from unused steps
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: Hstore OID bigger than an integer