Skip site navigation (1) Skip section navigation (2)

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: (view raw or whole 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



pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group