Re: plpgsql-trigger.html: Format TG_ variables as table (patch)

Поиск
Список
Период
Сортировка
От Dagfinn Ilmari Mannsåker
Тема Re: plpgsql-trigger.html: Format TG_ variables as table (patch)
Дата
Msg-id 877d2omr5l.fsf@wibble.ilmari.org
обсуждение исходный текст
Ответ на Re: plpgsql-trigger.html: Format TG_ variables as table (patch)  (Christoph Berg <myon@debian.org>)
Ответы Re: plpgsql-trigger.html: Format TG_ variables as table (patch)  (Christoph Berg <myon@debian.org>)
Список pgsql-hackers
Christoph Berg <myon@debian.org> writes:

> Re: To Daniel Gustafsson
>> "string containing" is again pretty boilerplatish, how about just
>> "contains"?
>
> Actually, just omitting the whole prefix works best.
>
> TG_WHEN (text)
>
>     BEFORE, AFTER, or INSTEAD OF, depending on the trigger's definition.

The attached patch does not reflect this, did you attach an old version?

> I also shortened some "name of table" to just "table". Since the data
> type is "name", it's clear what "table" means.

I think it reads better with the definite article and initial capital,
e.g. "The table that triggered ….".

>     <variablelist>
>      <varlistentry>
> -     <term><varname>NEW</varname></term>
> +     <term><varname>NEW</varname> (record)</term>

The type names should still be wrapped in <type>, like they were before.

- ilmari



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

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: pg15b3: recovery fails with wal prefetch enabled
Следующее
От: "Jonathan S. Katz"
Дата:
Сообщение: Re: SQL/JSON features for v15