Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-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


pgsql-hackers by date

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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group