Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 57B20635858 for ; Fri, 27 Feb 2009 11:06:41 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 91996-08 for ; Fri, 27 Feb 2009 11:06:34 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-fx0-f168.google.com (mail-fx0-f168.google.com [209.85.220.168]) by mail.postgresql.org (Postfix) with ESMTP id 8B35A6352D7 for ; Fri, 27 Feb 2009 11:06:34 -0400 (AST) Received: by fxm12 with SMTP id 12so1525605fxm.19 for ; Fri, 27 Feb 2009 07:06:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=Y2Kp83Zl2T5jRm8Kopiz1IT1tZNRQGBsUW3VqVq6sp8=; b=Jlv/F3ybf6xgDq79ZL0a+jQxDtnefGO7dRWei9cY9i5SSap2KodonCFwB1hdRE6gPj 24SZsq2ecgxdYC+X7pXEdaKN+/FClTUiXn8NJIVelaWIlBWVztvwzggBaeUTsDRCNu6U Bj1PgMx4wRtxt+E67ZhA1n/5b39fbnl9eVvKw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=jt1SfaoaNGhp31e030uAPQYeO6gUP6biF82lAqqu+M+xuscxRJXrS63vyh4ZST8VF9 AzG0fE6NCYRne3PATexGpWbT8ab11MGlA+qwMiKFrK564jlDM2MPhUFwgswB1HLZ0uOx GW2DEsfQE6455/u8pBNnCZbo9zxbMy4LZLN6M= Received: by 10.223.108.75 with SMTP id e11mr3343440fap.97.1235747191643; Fri, 27 Feb 2009 07:06:31 -0800 (PST) Received: from ?192.168.1.57? (host63-46-dynamic.32-79-r.retail.telecomitalia.it [79.32.46.63]) by mx.google.com with ESMTPS id p17sm8281963fka.10.2009.02.27.07.06.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 27 Feb 2009 07:06:31 -0800 (PST) Message-ID: <49A80173.5080104@gmail.com> Date: Fri, 27 Feb 2009 16:06:27 +0100 From: Maciej Gawinecki User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: SQL scipts parser Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200902/52 X-Sequence-Number: 19327 I'm looking for Java open-source SQL script reader/parser. That would allow me to find SQL comments about tables and columns, usually given in the neighbourhood of CREATE TABLE, ALTER TABLE commands. I suppose there's something like this in JDBC for PostgreSQL. Can you point me the sources/classes containing such a parser? Best, Maciej