Re: unused_oids script is broken with bsd sed

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: unused_oids script is broken with bsd sed
Дата
Msg-id 9426.1524680795@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: unused_oids script is broken with bsd sed  (John Naylor <jcnaylor@gmail.com>)
Список pgsql-hackers
John Naylor <jcnaylor@gmail.com> writes:
> On 4/25/18, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I think we should rewrite
>> both of them to use the Catalog.pm infrastructure.

> If we're going to use Catalog.pm for that, it seems more convenient to
> expose toast and index oids directly rather than in strings formatted
> specifically for the bki file, as in the attached. Thoughts?

Good idea, I like this better than what Stas did in his patch.

I'm a bit inclined to preserve the old variable names (toast_name,
toast_oid etc) as the hash keys because they seem more greppable
than the generic "oid", "name" that you have here.  But maybe that
isn't an interesting consideration.

            regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [FEATURE PATCH] pg_stat_statements with plans (v02)
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Postgres stucks in deadlock detection