Linking question

From: "Katsaros Kwn/nos" <ntinos(at)aueb(dot)gr>
To: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Linking question
Date: 2004-10-21 06:26:30
Message-ID: 1098339990.5718.12.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ed L. 2004-10-21 06:31:15 Re: Invalid page header
Previous Message Dennis Gearon 2004-10-21 06:09:05 Re: table size/record limit