Hello, while translating the new PostgreSQL 9.3 strings I've found a couple questionable. Patches attached. Cheers, -- Daniele
Daniele Varrazzo <daniele.varrazzo@gmail.com> writes:
> while translating the new PostgreSQL 9.3 strings I've found a couple
> questionable. Patches attached.
Hmm ... I agree with the MultiXactId->MultiXactIds changes, but not with
this one:
> - errhint("To make the view updatable, provide an unconditional ON DELETE DO INSTEAD rule
oran INSTEAD OF DELETE trigger.")));
> + errhint("To make the view deletable, provide an unconditional ON DELETE DO INSTEAD rule
oran INSTEAD OF DELETE trigger.")));
We use the phrase "updatable view", we don't say "deletable view"
(and this usage is also found in the SQL standard). We could possibly
make the message say "To make the view updatable in this way", or
"... for this purpose", but that seems a bit long-winded to me.
regards, tom lane
On Wed, Mar 20, 2013 at 2:01 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Daniele Varrazzo <daniele.varrazzo@gmail.com> writes:
>> while translating the new PostgreSQL 9.3 strings I've found a couple
>> questionable. Patches attached.
>
> Hmm ... I agree with the MultiXactId->MultiXactIds changes, but not with
> this one:
>
>> - errhint("To make the view updatable, provide an unconditional ON
DELETEDO INSTEAD rule or an INSTEAD OF DELETE trigger.")));
>> + errhint("To make the view deletable, provide an unconditional ON
DELETEDO INSTEAD rule or an INSTEAD OF DELETE trigger.")));
>
> We use the phrase "updatable view", we don't say "deletable view"
> (and this usage is also found in the SQL standard). We could possibly
> make the message say "To make the view updatable in this way", or
> "... for this purpose", but that seems a bit long-winded to me.
Ok, I'd just thought it was a pasto.
-- Daniele
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера