Re: Enhanced error message to include hint messages for redundant options error

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Enhanced error message to include hint messages for redundant options error
Дата
Msg-id 20210501225714.GA5197@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Enhanced error message to include hint messages for redundant options error  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Ответы Re: Enhanced error message to include hint messages for redundant options error  (vignesh C <vignesh21@gmail.com>)
Список pgsql-hackers
On 2021-May-01, Bharath Rupireddy wrote:

> IMO, it's not good to change the function API just for showing up
> parse_position (which is there for cosmetic reasons I feel) in an error
> which actually has the option name clearly mentioned in the error message.

Why not?  We've done it before, I'm sure you can find examples in the
git log.  The function API is not that critical -- these functions are
mostly only called from ProcessUtility and friends.

-- 
Álvaro Herrera                            39°49'30"S 73°17'W



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

Предыдущее
От: Michael Banck
Дата:
Сообщение: Re: Granting control of SUSET gucs to non-superusers
Следующее
От: Tom Lane
Дата:
Сообщение: Re: WIP: WAL prefetch (another approach)