Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 3FFE59F9918 for ; Tue, 16 Oct 2007 05:19:28 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 76192-03 for ; Tue, 16 Oct 2007 05:19:18 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by postgresql.org (Postfix) with ESMTP id 426769F961D for ; Tue, 16 Oct 2007 05:19:20 -0300 (ADT) Received: by an-out-0708.google.com with SMTP id c36so128879ana for ; Tue, 16 Oct 2007 01:19:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; bh=/U7vXiCJgWaLmaaZaDy2XuIKnpzSYgnnpKKzqXUB0gc=; b=bFHFDXJyHIKIJNbsC4uWOIGAVfW1S9//YRgpfPo+gM3L4UMqwipaIMwnAaeCn47bvPJxdKjQVPNrKsUWQJCeP9iUv7aW8syY24B5yPOwRNIMb0w9+nw9stf/JLZ53NUfPeJVvgoIXA9Km8NSQfL1xpqL9GHyx5cUDpxXNt0TBGc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=SGzilr9OuXUy66hd7JkQWy5F164udwFadem2tPxGlUsnCE7uZBLKaU81k1jyyLVZvoPsDhIxIgT6qvddqF30Xj8pF7/iy54TzqB3xXC6cL6flS2LTHz6vhgoY9ZA94uRA7t8PSiR8bjhJhiAgC6VagYLTn/aqfH4vI4VaXmHubA= Received: by 10.150.58.5 with SMTP id g5mr1213199yba.1192522759603; Tue, 16 Oct 2007 01:19:19 -0700 (PDT) Received: from ?192.168.1.33? ( [86.31.43.146]) by mx.google.com with ESMTPS id k10sm6421588nfh.2007.10.16.01.19.17 (version=SSLv3 cipher=RC4-MD5); Tue, 16 Oct 2007 01:19:18 -0700 (PDT) Message-ID: <471473C7.6070200@enterprisedb.com> Date: Tue, 16 Oct 2007 09:18:15 +0100 From: Heikki Linnakangas User-Agent: Icedove 1.5.0.12 (X11/20070730) MIME-Version: 1.0 To: Tore Halset CC: pgsql-jdbc@postgresql.org Subject: Re: text metadata References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/81 X-Sequence-Number: 17653 Tore Halset wrote: > This is with PostgreSQL 8.2.3 and jdbc driver 8.2-504. > > I have a table with a "text" column. When using DatabaseMetaData to > inspect the column, it is returned as type Types.VARCHAR. I expected it > to be reported as Types.CLOB. > > Am I doing something wrong? No. It's just your expectation that is wrong. :) -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com