Linking question - Mailing list pgsql-general

From Katsaros Kwn/nos
Subject Linking question
Date
Msg-id 1098339990.5718.12.camel@localhost.localdomain
Whole thread Raw
Responses Re: Linking question
List pgsql-general
Hi,

I want to make use of some contrib/dblink functions inside my user
defined functions, e.g. I would like to be able to call dblink_record()
from my user defined code in this way:

dblink_record("param1","param2");

Is this possible?

I would like to avoid:

1) inserting all the dblink code in my *.c file. This would not be a
very clean way.

2) executing: "select dblink(...)"

Any ideas on how to link my user-defined function with functions in
another file? This is maybe a C question but I'm not good at it at all!


Thanks in advance!!
Ntinos


pgsql-general by date:

Previous
From: Dennis Gearon
Date:
Subject: Re: table size/record limit
Next
From: "Ed L."
Date:
Subject: Re: Invalid page header