Re: PREPARE dynamic SQL in plpgsql

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Koichi Suzuki <koichi(dot)szk(at)gmail(dot)com>
Cc: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PREPARE dynamic SQL in plpgsql
Date: 2016-03-11 23:56:51
Message-ID: CAKFQuwbvT7TiE11sXrigumr-6mNO18vGw38DPMYwF5Mrwz-WDQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Mar 11, 2016 at 4:45 PM, Koichi Suzuki <koichi(dot)szk(at)gmail(dot)com> wrote:

> Hi,
>
> Does someone know how to prepare a synamic SQL statement in plpgsql?
>
> All the examples, PG documents describe only about preparing static SQL
> statement.
>
>
This is not an appropriate question for the -hackers list. It is better
asked on either -general or, more correctly, -novice.

It is also somewhat lacking in detail - including an example of what you've
tried or read would be a nice touch.

David J.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Nasby 2016-03-12 00:01:07 Re: Relation extension scalability
Previous Message Tom Lane 2016-03-11 23:55:58 Re: Perl's newSViv() versus 64-bit ints?