Re: rewrite ExecPartitionCheckEmitError

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: rewrite ExecPartitionCheckEmitError
Дата
Msg-id 201812281752.evicricdva5e@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: rewrite ExecPartitionCheckEmitError  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: rewrite ExecPartitionCheckEmitError  (David Rowley <david.rowley@2ndquadrant.com>)
Список pgsql-hackers
On 2018-Dec-07, Robert Haas wrote:

> On Thu, Dec 6, 2018 at 5:22 PM Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
> > Just on cleanliness grounds, I propose to rewrite the function in
> > $SUBJECT.  I came across this while reviewing some already-committed
> > patch for partition pruning, and it's been sitting in my laptop ever
> > since.
> >
> > I think the current coding is too convoluted and hard to follow.  The
> > patch makes it much simpler (IMO).
> 
> I don't really think this is an improvement, but the only part I
> really dislike is s/val_desc/valdsc/.  That is surely not an
> improvement in readability.

Point taken; pushed with that change.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: removal of dangling temp tables
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Making all nbtree entries unique by having heap TIDs participatein comparisons