Re: Seq Scan because of stats or because of cast?

Поиск
Список
Период
Сортировка
От Dominique Devienne
Тема Re: Seq Scan because of stats or because of cast?
Дата
Msg-id CAFCRh--1GsKA+8=vBM3YFifw9BtQ==OcsndnFmJ1kdP=1Wohuw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Seq Scan because of stats or because of cast?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Mon, Mar 13, 2023 at 2:53 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> PS: libpq uses unsigned int for Oid. So do OIDs go above 2GB in practice?

Yes, eventually.

OK, I've added support for native OIDs values (i.e. unsigned int, sizeof(4)) in my libpq wrapper.
Tested with binary binding and getting of scalar and array values.

But to truly test this is working OK, I'd need OIDs in the range [2^31, 2^32),
while the OIDs in my DB only reach in the 200M range.

So, any way to force the DB to create OIDs in that special range?
Without hosing my DB / Cluster that is... This is not a throw-away DB / Cluster.

Thanks, --DD

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

Предыдущее
От: Celia McInnis
Дата:
Сообщение: Re: Uppercase version of ß desired
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Problems connecting to the server