Re: proposal, patch: allow multiple plpgsql plugins

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


2014-03-02 19:59 GMT+01:00 Marko Tiikkaja <marko@joh.to>:
Hi Pavel,

The extra semicolons are still in there; around line 525 in this patch.  However, I removed them to compile the patch, but I 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?

yes, PLpgSQL is not referenced and, if I remember well, clang is too restrictive. 

or you can add a reference on plpgsql to your Makefile

Regards

Pavel


Regards,
Marko Tiikkaja

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

Предыдущее
От: Dean Rasheed
Дата:
Сообщение: Re: [PATCH] Negative Transition Aggregate Functions (WIP)
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Securing "make check" (CVE-2014-0067)