Re: [BUGS]

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Shra <shravan(at)yaskatech(dot)com>
Cc: "PostgreSQL- Development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [BUGS]
Date: 2002-04-27 15:07:28
Message-ID: 20598.1019920048@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-committers pgsql-hackers

Shra <shravan(at)yaskatech(dot)com> writes:
> [ where to get declared-length info for var-length columns ]

This is encoded in the atttypmod field (see PQfmod). I'd recommend
using format_type() to decode the info, but if you don't mind possibly
having to change your code from time to time, you could just wire
knowledge of the interpretation of typmod into your code.

In future, kindly be more selective about the lists you cross-post to.
I generally make a practice of ignoring questions posted to the bugs
list, for example.

regards, tom lane

In response to

  • at 2002-04-26 19:29:55 from Shra

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Shra 2002-04-29 06:20:25 MetaData (size of datatype)
Previous Message medassist 2002-04-27 09:11:00 problem with lo_import()

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2002-04-27 15:30:07 pgsql/src/backend/commands user.c
Previous Message Tom Lane 2002-04-27 03:45:03 pgsql/src backend/catalog/aclchk.c backend/cat ...

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-04-27 23:28:09 Vacation in May
Previous Message Thomas Lockhart 2002-04-27 14:56:53 Mandrake 8.1 RPMs posted