[HACKERS] plpgsql - additional extra checks

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема [HACKERS] plpgsql - additional extra checks
Дата
Msg-id CAFj8pRA2kKRDKpUNwLY0GeG1OqOp+tLS2yQA1V41gzuSz-hCng@mail.gmail.com
обсуждение исходный текст
Ответы Re: [HACKERS] plpgsql - additional extra checks  (Marko Tiikkaja <marko@joh.to>)
Re: [HACKERS] plpgsql - additional extra checks  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Список pgsql-hackers
Hi

I am starting new thread for this patch (related to merging some ideas from plpgsql2 project thread).

Here is simple patch with two new extra_warnings, extra_errors checks

1. strict_multi_assignment - checks the number of target variables and source values.
2. too_many_rows - checks if returned rows is more than one

The extra checks are designed to help identify some possible errors or issues. It is not way how to change a design, behave and features of plpgsql language.

Now, the extra checks are three fields only - it is easy maintainable now, and I don't see a necessity to implement some another management for extra checks. 

Regards

Pavel 
Вложения

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

Предыдущее
От: Beena Emerson
Дата:
Сообщение: Re: [HACKERS] Re: Clarifying "server starting" messaging in pg_ctlstart without --wait
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: [HACKERS] WARM and indirect indexes