Re: Transaction aborts on syntax error.

From: Rich Hall <rhall(at)micropat(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Transaction aborts on syntax error.
Date: 2004-02-12 20:18:51
Message-ID: 402BDFAB.7060402@micropat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 2004-02-12 20:22:28 Re: [HACKERS] Vacuum Delay feature
Previous Message Bruce Momjian 2004-02-12 20:18:42 Re: PITR Dead horse?