atttypmod encoding - Mailing list pgsql-general

From RW Shore
Subject atttypmod encoding
Date
Msg-id AANLkTik_MU-Enu+LS0UiTaLuHja-v_AA_O91x1+Lt7qV@mail.gmail.com
Whole thread Raw
List pgsql-general
Catalog pg_attribute contains interesting type-specific information in attribute atttypmod. Can someone verify that these encodings are correct?

CHAR and VARCHAR: 4 + the declared length. Example: CHAR(5) -> 9 in atttypmod
NUMERIC(p,s): 4 + the long with p in the left-most 4 bytes and s in the right-most

pgsql-general by date:

Previous
From: MOQUET Julien PP-DOSTL SDSIC DEPL
Date:
Subject: Re: [pgsql-fr-generale] créer une DLL pour Postgresql 9 avec visual C++ [2008
Next
From: Ray Stell
Date:
Subject: Re: PostgreSQL 9.0 Streaming Replication Configuration