On Mon, Dec 9, 2013 at 10:54 AM, Pavel Stehule <pavel.steh...@gmail.com> wrote:
> 2013/12/9 Amit Kapila <amit.kapil...@gmail.com>
>> > There are two points, that should be solved
>> > a) introduction a dependency to other object in schema - now CREATE
>> > FUNCTION
>> > is fully independent on others
>> > b) slow start - if we check all paths on start, then start can be slower
>> > -
>> > and some functions should not work due dependency on temporary tables.
>> > I am thinking about possible marking a function by #option (we have same
>> > idea)
>> > some like
>> > #option check_on_first_start
>> > #option check_on_create
>> > #option check_newer
>> what exactly check_newer means, does it mean whenever a function is
>> replaced (changed)?
> no, it means, so request for check will be ignored ever - some functions
> cannot be deeply checked due using dynamic SQL or dynamic created data types
> - temporary tables created in functions.
Thanks for clarification, the part of name 'newer' has created
confusion. I understand
that creating/identifying dependency in some of the cases will be
quite tricky, does other
similar languages for other databases does that for all cases (objects
in dynamic statements).
Is the main reason for identifying/creating dependency is to mark
function as invalid when
any dependent object is Dropped/Altered?
This thread is from quite some time, so please excuse me if I had
asked anything which has
been discussed previously.
Sent via pgsql-hackers mailing list (firstname.lastname@example.org)
To make changes to your subscription: