Re: Is custom MemoryContext prohibited?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Is custom MemoryContext prohibited?
Дата
Msg-id 5225.1580918635@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Is custom MemoryContext prohibited?  (Chapman Flack <chap@anastigmatix.net>)
Список pgsql-hackers
Chapman Flack <chap@anastigmatix.net> writes:
> On 2/5/20 10:20 AM, Tom Lane wrote:
>> * Third-party context types would have to force the compiler to take
>> context-type values that weren't among the known enum values ---

> Doesn't that seem like a long run for a short slide?

Well, one thing we could do is assign an "other" or "custom" code,
and people who were just doing one-off things could use that.
If they were going to publish their code, we could encourage them
to ask for a publicly-known enum entry.  We have precedent for
that approach, eg in pg_statistic stakind codes.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Is custom MemoryContext prohibited?
Следующее
От: Jeff Janes
Дата:
Сообщение: bad logging around broken restore_command