Обсуждение: 7.4 Beta1 "elog" problem
I grabbed REL7_4_BETA1 from cvs this morning, and am having a problem. A trigger I wrote uses 'elog', which is apparently not defined any more in my build. The documentation doesn't build (my problem), but doc/src/sgml/spi.sgml indicates that elog should be valid. The error I receive when installing the trigger is: psql:dbTriggers.sql:30: ERROR: could not load library "/usr/local/pgsql/triggers/tassiv_triggers.so": /usr/local/pgsql/triggers/tassiv_triggers.so: undefined symbol: elog Am I missing something? I was previously running 7.3.3... Thanks, Rob -- 10:22:20 up 5 days, 3:08, 3 users, load average: 2.09, 2.10, 2.04
Robert Creager wrote: > psql:dbTriggers.sql:30: ERROR: could not load library > "/usr/local/pgsql/triggers/tassiv_triggers.so": > /usr/local/pgsql/triggers/tassiv_triggers.so: undefined symbol: elog > > Am I missing something? I was previously running 7.3.3... elog is defined now as a macro (in utils/elog.h). Did you recompile your trigger function after installing 7.4? Joe
On Wed, 06 Aug 2003 15:41:47 -0700 Joe Conway <mail@joeconway.com> said something like: > Robert Creager wrote: > > psql:dbTriggers.sql:30: ERROR: could not load library > > "/usr/local/pgsql/triggers/tassiv_triggers.so": > > /usr/local/pgsql/triggers/tassiv_triggers.so: undefined symbol: elog > > > > Am I missing something? I was previously running 7.3.3... > > elog is defined now as a macro (in utils/elog.h). Did you recompile > your trigger function after installing 7.4? > > Joe > Sigh... I did, multiple times, but I didn't pay enough attention. The .o was not rebuilding. The .so was. Thanks for the tip. Cheers, Rob -- 19:38:57 up 5 days, 12:25, 3 users, load average: 2.08, 2.06, 2.01