Re: SQL statement PREPARE does not work in ECPG - Mailing list pgsql-hackers

From Michael Meskes
Subject Re: SQL statement PREPARE does not work in ECPG
Date
Msg-id 3320116568f86a098622f6e299ba2ed00639321c.camel@postgresql.org
Whole thread Raw
In response to RE: SQL statement PREPARE does not work in ECPG  ("Matsumura, Ryo" <matsumura.ryo@jp.fujitsu.com>)
Responses RE: SQL statement PREPARE does not work in ECPG
List pgsql-hackers
Hi Matsumura-san,

> I must use a midrule action like the following that works as
> expected.
> I wonder how to write the replacement to ecpg.addons.
> I think it's impossible, right? Please give me some advice.

You are right, for this change you have to replace the whole rule. This
cannot be done with an addon. Please see the attached for a way to do
this, untested though.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Meskes at (Debian|Postgresql) dot Org
Jabber: michael at xmpp dot meskes dot org
VfL Borussia! Força Barça! SF 49ers! Use Debian GNU/Linux, PostgreSQL

Attachment

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: NOT IN subquery optimization
Next
From: Amit Langote
Date:
Subject: Re: speeding up planning with partitions