Re: proposal: plpgsql - Assert statement
От | Petr Jelinek |
---|---|
Тема | Re: proposal: plpgsql - Assert statement |
Дата | |
Msg-id | 5440C1C0.80405@2ndquadrant.com обсуждение исходный текст |
Ответ на | Re: proposal: plpgsql - Assert statement (Pavel Stehule <pavel.stehule@gmail.com>) |
Ответы |
Re: proposal: plpgsql - Assert statement
|
Список | pgsql-hackers |
On 16/10/14 13:29, Pavel Stehule wrote: > Hi > > 2014-10-14 22:57 GMT+02:00 Petr Jelinek <petr@2ndquadrant.com > > Short review of the patch. Note that this has nothing to do with > actual assertions, at the moment it's just enhancement of RAISE > statement to make it optionally conditional. As I was one of the > people who voted for it I do think we want this and I like the syntax. > > Code applies cleanly, seems formatted according to project standards > - there is unnecessary whitespace added in variable declaration part > of exec_stmt_raise which should be removed. > > > fixed > > > Passes make check, I would prefer to have little more complex > expression than just "true" in the new regression test added for > this feature. > > > fixed > > > Did some manual testing, seems to work as advertised. > > There are no docs at the moment which is the only show-stopper that > I can see so far. > > > fixed > Great, looks good to me, marking as ready for committer. -- Petr Jelinek http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления: