Re: [GENERAL] PL/pgSQL syntax/usage question

From: Adriaan Joubert <a(dot)joubert(at)albourne(dot)com>
To: Ed Loehr <eloehr(at)austin(dot)rr(dot)com>
Cc: Henk van Lingen <henkvl(at)cs(dot)uu(dot)nl>, pgsql-general(at)hub(dot)org
Subject: Re: [GENERAL] PL/pgSQL syntax/usage question
Date: 2000-02-02 07:25:10
Message-ID: 3897DBD6.2EB9736E@albourne.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>
> Second, IIRC, you cannot pass in a string representing the tablename
> and then use it as a tablename in the select (though it would be quite
> handy). Not sure how to do it, though.

I went through this a while ago: no way to pass a table name in. Only possibility
is to write a C routine using SPI and then anything is possible.

Adriaan

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sevo Stille 2000-02-02 11:17:11 Re: [GENERAL] Linking in sin() as a C function
Previous Message Jackson Ching 2000-02-02 07:24:54 How to compile postgres JDBC in win95 cygwin-b20