Received: from golem.jpl.nasa.gov (root@hectic-3.jpl.nasa.gov [128.149.68.205]) by hub.org (8.8.8/8.7.5) with ESMTP id LAA10536; Mon, 27 Apr 1998 11:18:53 -0400 (EDT) Received: from alumni.caltech.edu (localhost [127.0.0.1]) by golem.jpl.nasa.gov (8.8.5/8.8.5) with ESMTP id PAA14460; Mon, 27 Apr 1998 15:20:25 GMT Sender: tgl@mythos.jpl.nasa.gov Message-ID: <3544A239.FD32AF09@alumni.caltech.edu> Date: Mon, 27 Apr 1998 15:20:25 +0000 From: "Thomas G. Lockhart" Organization: Caltech/JPL X-Mailer: Mozilla 4.03 [en] (X11; I; Linux 2.0.30 i686) MIME-Version: 1.0 To: Bruce Momjian CC: Byron Nikolaidis , hannu@trust.ee, daveh@insightdist.com, pgsql-hackers@postgresql.org, pgsql-interfaces@postgresql.org Subject: Re: [HACKERS] Re: [INTERFACES] retrieving varchar size References: <199804240405.AAA25030@candle.pha.pa.us> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > > > We could pass back atttypmod as part of the PGresult. I can add > > > that to the TODO list. Would that help? > > Yes, that would do it! > > Thank you for listening to our ravings on this issue. > Added to TODO: > * Add pg_attribute.atttypmod/Resdom->restypmod to PGresult structure > This is a good suggestion. How do we determine atttypmod for queries like select '123' || '456'; ?? I might be able to address this with my upcoming type conversion work but I don't know if we have enough hooks for this right now... - Tom