Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ibTqx-0001Xs-Sl for pgsql-general@arkaria.postgresql.org; Sun, 01 Dec 2019 18:21:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ibTqw-0001GC-9k for pgsql-general@arkaria.postgresql.org; Sun, 01 Dec 2019 18:21:50 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ibTqu-0001Fy-BZ for pgsql-general@lists.postgresql.org; Sun, 01 Dec 2019 18:21:50 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ibTqq-0001gT-UJ for pgsql-general@lists.postgresql.org; Sun, 01 Dec 2019 18:21:47 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 8B687224E4; Sun, 1 Dec 2019 13:21:42 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Sun, 01 Dec 2019 13:21:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=8 OFr2lE3Zz2NQOYuIQFgtzspEHK9RTHX54VGXbGd/eI=; b=kVSvQyHqjYVF1epcF wleZex2+/pI9GQ4NvoSpO9HgY9PV2F1ExAqOrUpAz+wx7BXjcTg/CYXKF43yGmP2 xTwi6aKNUCSudPeKuY+vaBfelLD60qtxD+bsGWUd0fSeNhUVEhKaJisFmyA2/3b/ ENXLXaoC0uVnq3CVwkt+rJ1/puVfG1qcDz2/JAt3oEatq25hdanr+F3gvUi60Ixp R5ek7rQEYp5WVv5kQrmAQvWn0mOL/GAzpvgbJbuTmsfV6vIQX7M4AbjnW2QZd8Iq qCe+xgOR10WEDvaKDBsSg8X7sGJeWS5Ss8DXvkuTLXD0virZWYrc2iARFTvGdyxn EF2lA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=8OFr2lE3Zz2NQOYuIQFgtzspEHK9RTHX54VGXbGd/ eI=; b=nHCQm3AwikNuGgHGhDlb70gS/lDzGDaJ4spGxpLThyBqilV+uRIibwqg0 0LT/RCILrhdKSQyrAWUOI9u/zo719eQnQJ+pf367YhGiPW/LyJ5wTsLmy1xxqAT6 7Epu4pBZK2aRvvQN0fxSV87NWOR/69kLRuLpPUyj3vI1bvy3eVxTvZKlMRphz4Wu pKTttUl2Y6abgwdE7K+Z5uqw9oNtuhhBjT5nlpf8N2SwgIoGYxfMIViqST1IdcCe wj0aA4LigC/rdLi3BnCeLHnJLmJ0eWZudyMtGXxJio+2KQwFU5AToEdJFYWqaOuu 21hKC4Q4wSCtNzfA6pb9JTQ5Vrlog== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudejfedguddufecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeehnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghenucfkphepudejgedr vddurdeikedrvdegfeenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklh grvhgvrhesrghklhgrvhgvrhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.2] (174-21-68-243.tukw.qwest.net [174.21.68.243]) by mail.messagingengine.com (Postfix) with ESMTPA id 04DBC30600D2; Sun, 1 Dec 2019 13:21:41 -0500 (EST) Subject: Re: Why are clobs always "0" To: Arnie Morein , pgsql-general@lists.postgresql.org References: <1575221495.4549.0@mac.com> From: Adrian Klaver Message-ID: Date: Sun, 1 Dec 2019 10:21:41 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <1575221495.4549.0@mac.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 12/1/19 9:31 AM, Arnie Morein wrote: > I have tested the most recent driver in three different SQL IDEs, and > now with an application I'm writing that uses JDBC metadata, the comment > on a field definition also isn't available as a string value. > > The only thing I ever see regarding data type "text" field values are > either a 0 or a 1; neither of which applies. > > So why is this happening, even from the JDBC metadata results as well? You are going to have to be more specific: 1) You refer to clob, but the clob datatype is not supported: https://www.postgresql.org/docs/11/unsupported-features-sql-standard.html So what are you referring to? 2) Comment on field definition is what exactly? 3) How are you fetching the metadata? -- Adrian Klaver adrian.klaver@aklaver.com