From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | stimits(at)comcast(dot)net |
Cc: | postgresql <pgsql-interfaces(at)postgresql(dot)org> |
Subject: | Re: more on undefined reference to 'pg_detoast_datum' and libpq |
Date: | 2003-10-12 05:21:22 |
Message-ID: | 558.1065936082@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-interfaces |
"D. Stimits" <stimits(at)comcast(dot)net> writes:
> Apparently in PosgreSQL 7.2.3 (the Redhat 7.3 version, which has some
> patching involved), pg_detoast_datum is defined in fmgr backend code,
> but this function is not defined anywhere in any library, especially not
> libpq.
Of course not; it's a backend function. Your problem is that you are
trying to build a server-side function as though it were a client
application. You're linking to an inappropriate set of libraries.
See the contrib modules for numerous examples of correct link setup
for server-side functions.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Stephane Charette | 2003-10-12 07:17:29 | CREATE INDEX question (how to index on "money" field?) |
Previous Message | Christopher Browne | 2003-10-12 04:35:20 | Re: need for concrete info |
From | Date | Subject | |
---|---|---|---|
Next Message | D. Stimits | 2003-10-13 08:39:59 | Re: more on undefined reference to 'pg_detoast_datum' |
Previous Message | D. Stimits | 2003-10-11 20:08:04 | more on undefined reference to 'pg_detoast_datum' and libpq |