Re: [PATCH] Add XMLEXISTS function from the SQL/XML standard (was: Add xpath_exists Function)

Поиск
Список
Период
Сортировка
От Erik Rijkers
Тема Re: [PATCH] Add XMLEXISTS function from the SQL/XML standard (was: Add xpath_exists Function)
Дата
Msg-id d880178336ed54b38a070a3dff629299.squirrel@webmail.xs4all.nl
обсуждение исходный текст
Ответ на [PATCH] Add XMLEXISTS function from the SQL/XML standard (was: Add xpath_exists Function)  (Mike Fowler <mike@mlfowler.com>)
Ответы Re: [PATCH] Add XMLEXISTS function from the SQL/XML standard  (Mike Fowler <mike@mlfowler.com>)
Список pgsql-hackers
On Tue, May 25, 2010 16:31, Mike Fowler wrote:
> I've been reading the SQL/XML standard and discovered that it defines a
> function named XMLEXISTS that does exactly what the todo item
> xpath_exists defines. My original patch named the function as per the
> todo but I think using the function name from the standard is a better
> idea. So this patch is the same as before, but the function is now named
> XMLEXISTS instead of xpath_exists.
>

I tried this path (cvs HEAD, applies without error), but get this error:

[...]
utils/adt/xml.o: In function `xmlexists':
/var/data1/pg_stuff/pg_sandbox/pgsql.xmlexists/src/backend/utils/adt/xml.c:3639: undefined
reference to `xmlXPathCompiledEvalToBoolean'
collect2: ld returned 1 exit status
make[2]: *** [postgres] Error 1
make[2]: Leaving directory `/var/data1/pg_stuff/pg_sandbox/pgsql.xmlexists/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/data1/pg_stuff/pg_sandbox/pgsql.xmlexists/src'
make: *** [all] Error 2



./configure --prefix=/var/data1/pg_stuff/pg_installations/pgsql.xmlexists --with-pgport=6548
--quiet --enable-depend --enable-cassert --enable-debug --with-openssl --with-perl --with-libxml
--with-libxslt


centos 5.4  2.6.18-164.el5  x86_64 GNU/Linux
libxml2.x86_64          2.6.26-2.1.2.8  installed
libxml2-devel.x86_64    2.6.26-2.1.2.8  installed



Erik Rijkers





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

Предыдущее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: Clearing psql`s input buffer after auto-reconnect
Следующее
От: Mike Fowler
Дата:
Сообщение: Re: [PATCH] Add XMLEXISTS function from the SQL/XML standard