Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id B79B42E3043 for ; Wed, 19 Dec 2007 21:26:01 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 30974-04-2 for ; Wed, 19 Dec 2007 21:25:57 -0400 (AST) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id D45722E306B for ; Wed, 19 Dec 2007 21:25:57 -0400 (AST) 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 lBK1Pi24001812; Wed, 19 Dec 2007 20:25:44 -0500 (EST) To: Oliver Jowett cc: Daniel Migowski , Gregory Stark , pgsql-jdbc@postgresql.org Subject: Re: TypeInfoCache In-reply-to: <476989C7.8020307@opencloud.com> References: <47692DEB.9070307@ikoffice.de> <877ijan2cp.fsf@oxford.xeocode.com> <47693B10.3040804@ikoffice.de> <873atymzpu.fsf@oxford.xeocode.com> <4769604A.9050006@ikoffice.de> <476989C7.8020307@opencloud.com> Comments: In-reply-to Oliver Jowett message dated "Thu, 20 Dec 2007 10:14:47 +1300" Date: Wed, 19 Dec 2007 20:25:44 -0500 Message-ID: <1811.1198113944@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/155 X-Sequence-Number: 18010 Oliver Jowett writes: > Daniel Migowski wrote: >> I think a VARCHAR(50) and text are not interchangeable. > But a "varchar" (with no limit) and "text" *are* interchangeable, which > is why we identify text as VARCHAR But note that varchar-with-no-limit is itself a Postgres-ism: it's not allowed by the standard. regards, tom lane