pre-parser query manipulation

From: Randall Smith <randall(at)tnr(dot)cc>
To: pgsql-general(at)postgresql(dot)org
Subject: pre-parser query manipulation
Date: 2007-03-14 19:08:09
Message-ID: et9h7p$eid$1@sea.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I'm attempting to process a query written in the form:

SELECT fields FROM table WHERE conditions FOR UPDATE OF field_name

when Postgresql supports:

SELECT fields FROM table WHERE conditions FOR UPDATE OF table_name

I'd like to remove the OF clause in the case only one table is queried.

Anyone know of a solution to this?

Randall

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jorge Godoy 2007-03-14 19:11:51 Re: Multiple TRIGGERs and OLD versus NEW "records"
Previous Message Tom Lane 2007-03-14 19:07:10 Re: quoted identifier behaviour