<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forum PostgreSQL - Problem z prsd_getlexeme]]></title>
	<link rel="self" href="http://forum.postgresql.org.pl/extern.php?action=feed&amp;tid=1356&amp;type=atom"/>
	<updated>2012-06-27T19:09:34Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.postgresql.org.pl/viewtopic.php?id=1356</id>
		<entry>
			<title type="html"><![CDATA[Problem z prsd_getlexeme]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=3652#p3652"/>
			<content type="html"><![CDATA[Witam.

Mam problem z odtworzeniem DUMP-a, na wersji 9.1.3 (24-02-2012)
Znajduje się w nim sekcja:

-- Name: prsd_getlexeme(internal, internal, internal); Type: FUNCTION; Schema: public; Owner: postgres
--

CREATE FUNCTION prsd_getlexeme(internal, internal, internal) RETURNS integer
    AS '$libdir/tsearch2', 'prsd_getlexeme'
    LANGUAGE c;


ALTER FUNCTION public.prsd_getlexeme(internal, internal, internal) OWNER TO postgres;

Analizując log dostaje komunikat, że ta funkcja nie istnieje.

Wywołanie tego skryptu z poziomu PgAdmina daje błąd o braku funkcji w DLL-ce:

[WARNING  ] CREATE FUNCTION prsd_getlexeme(internal, internal, internal) RETURNS integer
                AS '$libdir/tsearch2', 'prsd_getlexeme'
                LANGUAGE c
            BŁĄD:  nie można odnaleźć funkcji "prsd_getlexeme" w pliku "D:/PostgreSQL/9.1/lib/tsearch2.dll"
[WARNING  ] ALTER FUNCTION public.prsd_getlexeme(internal, internal, internal) OWNER TO postgres
            BŁĄD:  funkcja public.prsd_getlexeme(internal, internal, internal) nie istnieje

Jak rozwiązać ten problem ?]]></content>
			<author>
				<name><![CDATA[fcs]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=1447</uri>
			</author>
			<updated>2012-06-27T19:09:34Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=3652#p3652</id>
		</entry>
</feed>
