Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XMLSU-0008GR-SJ for pgsql-jdbc@arkaria.postgresql.org; Tue, 26 Aug 2014 18:27:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XMLSU-0007PI-Ac for pgsql-jdbc@arkaria.postgresql.org; Tue, 26 Aug 2014 18:27:06 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XMLST-0007N4-3s for pgsql-jdbc@postgresql.org; Tue, 26 Aug 2014 18:27:05 +0000 Received: from sam.nabble.com ([216.139.236.26]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XMLSQ-0004X7-8z for pgsql-jdbc@postgresql.org; Tue, 26 Aug 2014 18:27:03 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1XMLSM-0008UB-Te for pgsql-jdbc@postgresql.org; Tue, 26 Aug 2014 11:26:58 -0700 Date: Tue, 26 Aug 2014 11:26:58 -0700 (PDT) From: David G Johnston To: pgsql-jdbc@postgresql.org Message-ID: <1409077618913-5816359.post@n5.nabble.com> In-Reply-To: References: <53FCC2CB.6080507@web.de> Subject: Re: How to implement a dynamic string into a sql statement? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org Lussier, Denis wrote > Don't use prepared statements for DDL. Parameters only handle values, not identifiers. DDL deals exclusively with identifiers. So while you can use prepared statements you cannot parameterize them - so the prepared aspect becomes fairly useless except for consistency if you have some sort of wrapper layer making use of them. David J. -- View this message in context: http://postgresql.1045698.n5.nabble.com/How-to-implement-a-dynamic-string-into-a-sql-statement-tp5816355p5816359.html Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com. -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc