Re: Transaction aborts on syntax error.

Поиск
Список
Период
Сортировка
От Rich Hall
Тема Re: Transaction aborts on syntax error.
Дата
Msg-id 402BDFAB.7060402@micropat.com
обсуждение исходный текст
Ответ на Re: Transaction aborts on syntax error.  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
 >>
In this case, you would want the database to abort on a syntax error, right?>>

Am I completely off thread to ask why HOW we allow an abort on syntax 
errors? (at least in regard to stored functions)
Shouldn't PostgreSQL do somethng intellignet like *notice* the syntax 
error in the stored function when it is saved and once again so somethng 
intellignet?

I don't know what PostgreSQL should do.

I know Oracle would mark the stored function as invalid and mark any 
stored function invalid if it called an invalid function. Its a 
fascinating cascade to watch in your IDE.

Rick



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: PITR Dead horse?
Следующее
От: "Simon Riggs"
Дата:
Сообщение: Re: Transaction aborts on syntax error.