Re: relation OID in ReorderBufferToastReplace error message

Поиск
Список
Период
Сортировка
От Schneider (AWS), Jeremy
Тема Re: relation OID in ReorderBufferToastReplace error message
Дата
Msg-id 48B6BE63-FE39-45B8-9AD8-819DAAC5877F@amazon.com
обсуждение исходный текст
Ответ на Re: relation OID in ReorderBufferToastReplace error message  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: relation OID in ReorderBufferToastReplace error message
Список pgsql-hackers
> On Jul 1, 2021, at 18:57, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 
> But I wonder why
> print the parent's OID, when we have access to its name.

Seems like a few people do schema-based multi-tenancy with similarly named relations in different namespaces, so I’d
havea preference for OID over an unqualified relation name. Also the error message shows the OID for the toast relation
sothis is consistent.
 

Relation name could work too though, especially if the schema was included

-Jeremy


Sent from my TI-83


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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Refactor "mutually exclusive options" error reporting code in parse_subscription_options
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: cutting down the TODO list thread