Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 9D6631337B43 for ; Thu, 30 Dec 2010 15:47:22 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 48379-08 for ; Thu, 30 Dec 2010 19:47:15 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ew0-f46.google.com (mail-ew0-f46.google.com [209.85.215.46]) by mail.postgresql.org (Postfix) with ESMTP id C79921337B54 for ; Thu, 30 Dec 2010 15:47:14 -0400 (AST) Received: by ewy5 with SMTP id 5so5203812ewy.19 for ; Thu, 30 Dec 2010 11:47:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=m5GhKfF+KpsmzjKl4kwu4DPgVGl2XhpQH3CKv6Bn19o=; b=m75oKTkA32Kc+Rs5gj4FDseXct9+ZPywJwEDbdgCwmG1ZntRcN7VXdr+uNIEc68r4c trhO3CNc/0Qv1q4me0nbJMI6uN+NDfhZ3p8RwFzf927QTgrr2JzayWj735+KRmQOOBBm UPMUASy9I6r1ZSyD23dm51Q46O6A5Mefi8LfU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=I9D8zwJ0Ai8yh+at6n7BImSbHv5F9Wdg9K5oLGpPjy0A0o0EYODczN9zKp3ZUAYmd8 F67CrsrvjhLGeO62Lw+bhY3Ij1UfZ2H0FuPXV5iAra1Ns+7kBw5y1/tEhi3lq+DIVycZ j97bZWXPVz0Fe4gpjmehzbHQqlTtBC20627p8= Received: by 10.213.28.138 with SMTP id m10mr4946342ebc.47.1293738434063; Thu, 30 Dec 2010 11:47:14 -0800 (PST) Received: from [192.168.0.100] (238.80-202-60.nextgentel.com [80.202.60.238]) by mx.google.com with ESMTPS id u1sm11689262eeh.22.2010.12.30.11.47.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 30 Dec 2010 11:47:13 -0800 (PST) Subject: java.sql.DatabaseMetaData.getProcedures and overloaded functions From: Thor Michael =?ISO-8859-1?Q?St=F8re?= To: pgsql-jdbc@postgresql.org Content-Type: text/plain; charset="UTF-8" Date: Thu, 30 Dec 2010 20:47:14 +0100 Message-Id: <1293738434.11427.34.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.588 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RFC_ABUSE_POST=0.001, T_TO_NO_BRKTS_FREEMAIL=0.01 X-Spam-Level: X-Archive-Number: 201012/90 X-Sequence-Number: 21328 Is my understanding correct in that JDBC doesn't actually provide a proper way of inspecting overloaded stored procedures, and so to get that information reliably you should query the PostgreSQL system catalogs? At least when I try to use the java.sql.DatabaseMetaData getProcedures and getProcedureColumns methods on overloaded procedures I see them repeated without any explicit distinction between them, except of course that getProcedureColumns gives different datatypes for each procedure. Thanks, Thor Michael Støre