Re: proposal, patch: allow multiple plpgsql plugins

Поиск
Список
Период
Сортировка
От Marko Tiikkaja
Тема Re: proposal, patch: allow multiple plpgsql plugins
Дата
Msg-id 53137F7E.4000005@joh.to
обсуждение исходный текст
Ответ на Re: proposal, patch: allow multiple plpgsql plugins  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: proposal, patch: allow multiple plpgsql plugins  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Hi Pavel,

The extra semicolons are still in there; around line 525 in this patch.  However, I removed them to compile the patch,
butI can't compile my 
 
plugin on OS X.  The plugin is simple, it just does:

void
_PG_init(void)
{    DirectFunctionCall1(plpgsql_register_plugin, 
&pgt_plpgsql_plugin_struct);
}

I get:

Undefined symbols for architecture x86_64:  "_plpgsql_register_plugin", referenced from:      __PG_init in plpgtest.o

I'm guessing this is because PL/PgSQL is a shared library and not in 
core?  Is there a way around this?


Regards,
Marko Tiikkaja



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

Предыдущее
От: james
Дата:
Сообщение: Re: Securing "make check" (CVE-2014-0067)
Следующее
От: Tan Tran
Дата:
Сообщение: Re: [pgsql-advocacy] GSoC 2014 - mentors, students and admins