From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
Cc: | Simon Riggs <simon(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: idea, proposal: only preloadable libraries (conditional load) |
Date: | 2009-03-11 17:25:20 |
Message-ID: | 400.1236792320@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
> 2009/3/11 Simon Riggs <simon(at)2ndquadrant(dot)com>:
>> I remember I had some differences between the way loading occurs at
>> session start and as a result of a LOAD command. I think there's
>> probably already a way of doing this - probably by checking for
>> something that would only be there *after* having read reloadable
>> libraries but before main session starts.
> I can test debug_query_string, but main problem is impossibility throw
> exception inside PG_init.
If we can't support throwing an error there, I think we need to fix that.
There's no way a "precheck" function can completely guarantee that no
error will happen in the real "do it" function; at least not for
interesting values of "do it".
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Grzegorz Jaskiewicz | 2009-03-11 19:18:11 | Re: gcc: why optimize for size flag is not the default |
Previous Message | Tom Lane | 2009-03-11 17:22:23 | Re: Updates of SE-PostgreSQL 8.4devel patches (r1710) |