Re: [HACKERS] Re: [INTERFACES] retrieving varchar size

From: "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: Byron Nikolaidis <byronn(at)insightdist(dot)com>, hannu(at)trust(dot)ee, daveh(at)insightdist(dot)com, pgsql-hackers(at)postgresql(dot)org, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Date: 1998-04-27 15:20:25
Message-ID: 3544A239.FD32AF09@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

> > > 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas G. Lockhart 1998-04-27 16:39:43 Re: [HACKERS] Re: [QUESTIONS] Practical SQL Handbook - demo script for postgreSQL
Previous Message The Hermit Hacker 1998-04-27 14:55:41 Re: [HACKERS] postgres init script things solved

Browse pgsql-interfaces by date

  From Date Subject
Next Message Sbragion Denis 1998-04-27 16:22:18 Re: [INTERFACES] Odbc and Visual Basic
Previous Message Bruce Momjian 1998-04-27 14:54:13 Re: [HACKERS] Re: [INTERFACES] retrieving varchar size