<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Forum PostgreSQL - Problem z prsd_getlexeme]]></title>
		<link>https://forum.postgresql.org.pl/viewtopic.php?id=1356</link>
		<description><![CDATA[Najświeższe odpowiedzi w Problem z prsd_getlexeme.]]></description>
		<lastBuildDate>Wed, 27 Jun 2012 19:09:34 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Problem z prsd_getlexeme]]></title>
			<link>https://forum.postgresql.org.pl/viewtopic.php?pid=3652#p3652</link>
			<description><![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 ?]]></description>
			<author><![CDATA[dummy@example.com (fcs)]]></author>
			<pubDate>Wed, 27 Jun 2012 19:09:34 +0000</pubDate>
			<guid>https://forum.postgresql.org.pl/viewtopic.php?pid=3652#p3652</guid>
		</item>
	</channel>
</rss>
