Re: undefined reference to 'pg_detoast_datum'

From: Joe Conway <mail(at)joeconway(dot)com>
To: stimits(at)comcast(dot)net
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: undefined reference to 'pg_detoast_datum'
Date: 2003-10-09 23:46:57
Message-ID: 3F85F371.2040706@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

D. Stimits wrote:
> 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.

You haven't shown us your function, so it's a bit difficult to help, but
in any case you do *not* want to use the V0 calling conventions -- they
are deprecated and subject to removal in the future. V1 certainly works
-- I've done many V1 C functions that accept text arguments. Take a look
at some of the contrib folder extensions if you need examples.

> 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]

Why not? I have Postgres 7.3.4 running on my RH 7.3 server. Here are RH
7.3 RPMs:
ftp://ftp8.us.postgresql.org/pub/pgsql/binary/v7.3.4/RPMS/redhat-7.3/

Joe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Julie May 2003-10-09 23:50:57 Re: question on setof record returning plpgsql function
Previous Message Bruce Momjian 2003-10-09 23:41:35 Re: RE : Is the use of array as PL/PGSQL function arguments