Re: wrong relkind error messages

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: wrong relkind error messages
Дата
Msg-id 08b1063f-5341-c30e-6789-b523dd0e9e29@enterprisedb.com
обсуждение исходный текст
Ответ на Re: wrong relkind error messages  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: wrong relkind error messages
Список pgsql-hackers
On 02.07.21 18:10, Alvaro Herrera wrote:
> On 2021-Jun-24, Peter Eisentraut wrote:
> 
>> There might be room for some wordsmithing in a few places, but generally I
>> think this is complete.
> 
> This looks good to me.  I am +0.1 on your proposal of "cannot have
> triggers" vs Michael's "cannot create triggers", but really I could go
> with either.  Michael's idea has the disadvantage that if the user fails
> to see the trailing "s" in "triggers" they could get the idea that it's
> possible to create some other trigger; that seems impossible to miss
> with your wording.  But it's not that bad either.
> 
> It seemed odd to me at first that errdetail_relkind_not_supported()
> returns int, but I realized that it's a trick to let you write "return
> errdetail()" so you don't have to have "break" which would require one
> extra line.  Looks fine.

Thanks, committed.



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: More time spending with "delete pending"
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: ERROR: "ft1" is of the wrong type.