From: Bruce Momjian <maillist@candle.pha.pa.us>
To: tgl@sss.pgh.pa.us
Cc: pgsql-hackers@postgreSQL.org
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [HACKERS] Revised proposal for libpq and FE/BE protocol changes
Date: Tue, 28 Apr 1998 12:42:51 -0400 (EDT)
Message-ID: <199804281642.MAA19492@candle.pha.pa.us> (raw)
In-Reply-To: <7040.893780515@sss.pgh.pa.us>
> 2. The RowDescription ('T') message is extended by adding a new value
> for each field. Just after the type-size value, there will now be
> an int16 "atttypmod" value. (Would someone provide text specifying
> exactly what this value means?) libpq will store this value in
> a new "adtmod" field of PGresAttDesc structs.
From src/include/catalog/pg_attribute.h:
/*
* atttypmod records type-specific modifications supplied at table
* creation time, and passes it to input and output functions as the
* third argument.
*/
Currently only used for char() and varchar(), and includes a 4-byte
header.
--
Bruce Momjian | 830 Blythe Avenue
maillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: maillist@candle.pha.pa.us, tgl@sss.pgh.pa.us, pgsql-hackers@postgreSQL.org
Subject: Re: [HACKERS] Revised proposal for libpq and FE/BE protocol changes
In-Reply-To: <199804281642.MAA19492@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox