Re: PG_MODULE_MAGIC check in 8.2
| От | Tom Lane |
|---|---|
| Тема | Re: PG_MODULE_MAGIC check in 8.2 |
| Дата | |
| Msg-id | 423.1163708127@sss.pgh.pa.us обсуждение |
| Ответ на | Re: PG_MODULE_MAGIC check in 8.2 (Martijn van Oosterhout <kleptog@svana.org>) |
| Список | pgsql-general |
Martijn van Oosterhout <kleptog@svana.org> writes: > That said, do you have to specify the library kernel32? If you use > language "internal", doesn't that find it since it's already loaded? This has come up before: http://archives.postgresql.org/pgsql-hackers/2006-06/msg00721.php That particular thread died off when we realized that the complained-of usage never worked anyway. But we didn't thoroughly discuss the question of whether there are any significant cases where it makes sense to be able to LOAD a file that contains no PG-specific code whatsoever. I'm inclined to think not --- at least, not significant enough that we should destroy the usefulness of the magic-block check to let this work. It could be debated though. Does anyone have any more-compelling examples? regards, tom lane
В списке pgsql-general по дате отправления: