From: | "D(dot) Stimits" <stimits(at)comcast(dot)net> |
---|---|
To: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | undefined reference to 'pg_detoast_datum' |
Date: | 2003-10-09 23:07:33 |
Message-ID: | 3F85EA35.2030805@comcast.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
In PostgreSQL 7.2 (Redhat 7.3 version, so it is patched), I'm trying to
create a Version-1 C server extension. The Version-0 format works, the
Version-1 version fails with:
undefined reference to 'pg_detoast_datum'
According to docs at:
http://www.postgresql.org/docs/7.2/interactive/xfunc-c.html
...by using Version-1 the pg_detoast_datum is no longer needed. FYI, the
function being created takes and returns a text argument. Are the docs
there wrong, or is there a bug in the library build, that causes
Version-1 to require linking to a lib with pg_detoast_datum?
A google search shows very little concerning the pg_detoast_datum
undefined reference link error. It is looking more like the V1 has to be
skipped and I'll have to go back to V0 if I can't get this to work. [and
unless someone can magically make the default PostgreSQL version on RH
7.3 change to a newer version of PostgreSQL, then a newer version can't
be used]
D. Stimits
From | Date | Subject | |
---|---|---|---|
Next Message | Joe Conway | 2003-10-09 23:10:14 | Re: question on setof record returning plpgsql function |
Previous Message | jearl | 2003-10-09 22:25:40 | Re: Response from MySql AB (Re: Humor me: Postgresql vs. |