Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 4B03A9FB898 for ; Tue, 12 Jun 2007 23:46:14 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 90872-05 for ; Tue, 12 Jun 2007 23:45:39 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id A182A9FB7DD for ; Tue, 12 Jun 2007 23:45:46 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l5D2jjkc029883; Tue, 12 Jun 2007 22:45:45 -0400 (EDT) To: "LITTLE Nelson" cc: pgsql-sql@postgresql.org Subject: Re: Using INET types in prepared statements In-reply-to: <200706130203.l5D23Cs2026506@sprint2.tenix.com> References: <200706130203.l5D23Cs2026506@sprint2.tenix.com> Comments: In-reply-to "LITTLE Nelson" message dated "Wed, 13 Jun 2007 12:03:12 +1000" Date: Tue, 12 Jun 2007 22:45:45 -0400 Message-ID: <29882.1181702745@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/84 X-Sequence-Number: 28574 "LITTLE Nelson" writes: > I am trying to create a prepared statement in JAVA via JDBC and one of > the parameters I need to set in the SQL statement is of type INET. As > there is no setInet() method how do I pass in the INET value into the > sql statement? You'd probably get a more informed response on the pgsql-jdbc list. regards, tom lane