Re: Possible bug: could not open relation with OID [numbers] SQL State: XX000

From: Adam Brusselback <adambrusselback(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Justin Pryzby <pryzby(at)telsasoft(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Possible bug: could not open relation with OID [numbers] SQL State: XX000
Date: 2017-11-02 02:36:29
Message-ID: CAMjNa7dbukpQNUcG_z58BBzmhjh816MgRjq0rFttXehxwSYU3Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Huh, so in the other cases where the function works fine, it's likely that
the data all just fits within the regular table and doesn't have to be
TOAST'ed?

So this is something that isn't changed in PG10, and I could have
encountered in 9.6, and just by chance didn't?

This is a pattern I've used in quite a few (at least 50) functions, so it's
surprising I've not seen this issue until now.

Thanks,
-Adam

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2017-11-02 03:12:33 Re: Possible bug: could not open relation with OID [numbers] SQL State: XX000
Previous Message Tom Lane 2017-11-02 01:36:35 Re: Possible bug: could not open relation with OID [numbers] SQL State: XX000