Problem with CREATE LANGUAGE in CVS TIP

Поиск
Список
Период
Сортировка
От David Fetter
Тема Problem with CREATE LANGUAGE in CVS TIP
Дата
Msg-id 20070510010651.GB747@fetter.org
обсуждение исходный текст
Ответы Re: Problem with CREATE LANGUAGE in CVS TIP  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Folks,

While trying to test the arrays of complex types, I used a
stripped-down configure.  Too stripped down, it turns out.

CFLAGS="-O0" ./configure --prefix=/var/lib/pgsql/tip --with-pgport=2225 --enable-cassert --enable-debug --enable-depend
--enable-integer-datetimes
 

I set $PGDATA to my test directory, then did

initdb -D $PGDATA -E utf8
createdb array_test
createlang plperlu array_test 

then spent some time trying to figure out why I got the following
error when I tried to create a PL/PerlU function:

psql:schema.sql:4259: ERROR: cache lookup failed for function 1000

It turns out that PL/PerlU wasn't available, even though createlang
had succeeded.  I think this is a bug in CREATE LANGUAGE, as CREATE
LANGUAGE should have failed when it found no PL/Perl compiled in.

Cheers,
D
-- 
David Fetter <david@fetter.org> http://fetter.org/
phone: +1 415 235 3778        AIM: dfetter666                             Skype: davidfetter

Remember to vote!
Consider donating to PostgreSQL: http://www.postgresql.org/about/donate


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

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: Re: [COMMITTERS] psqlodbc - psqlodbc: Put Autotools-generated files into subdirectory
Следующее
От: "CK Tan"
Дата:
Сообщение: Re: Seq scans roadmap