Prepared Statement

From: "Rosenblum, Jason" <jrosenblum(at)wcmh(dot)org>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Prepared Statement
Date: 2009-03-06 13:39:56
Message-ID: 77674A6023BF8C48B7DA05B9451CC31C022701BE@wcmhmail.wcmh.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Is it possible to create a prepared statement with a parameter that is
actually the column name of a table?

i.e. prepare foo(?) as select $1, count(*) from boo group by $1

Thanks,
Jason

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2009-03-06 15:31:08 Re: Prepared Statement
Previous Message Semyon Chaichenets 2009-03-03 21:51:23 Re: plpgsql: help with RECORD type