From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Konireddy Rajashekar <rajkonireddy@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: OID out of range
Date: Wed, 15 Jan 2020 16:11:00 -0300
Message-ID: <20200115191100.GA29546@alvherre.pgsql> (raw)
In-Reply-To: <CAGpkkhtm8XOa2J9NBuRkSiXoR0ipimvQiFdd+wKpd7XBeayFpw@mail.gmail.com>
On 2020-Jan-15, Konireddy Rajashekar wrote:
> rangetest-# \d user_tables_sizes
> Table "user_tables_sizes"
> Column | Type | Collation | Nullable | Default
> -------------+-----------------------------+-----------+----------+---------
> relid | numeric | | |
Why do you have this column defined as numeric? It seems more sensible
to have it as type oid; it's probably that column where you have the
out-of-range values.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: alvherre@2ndquadrant.com, rajkonireddy@gmail.com
Subject: Re: OID out of range
In-Reply-To: <20200115191100.GA29546@alvherre.pgsql>
References: <CAGpkkhtm8XOa2J9NBuRkSiXoR0ipimvQiFdd+wKpd7XBeayFpw@mail.gmail.com> <20200115191100.GA29546@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox