diff options
author | Bruce Momjian <bruce@momjian.us> | 2001-03-23 04:49:58 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2001-03-23 04:49:58 +0000 |
commit | 7cf952e7b4ad4d0d603ad13ab91f55c3ec41affe (patch) | |
tree | 21c9d56c3701e984573ecc3ff40e72c0f63d5baf /src/interfaces/odbc/info.c | |
parent | 4e911c847ce906094df6595700571b714d3bb537 (diff) | |
download | postgresql-7cf952e7b4ad4d0d603ad13ab91f55c3ec41affe.tar.gz postgresql-7cf952e7b4ad4d0d603ad13ab91f55c3ec41affe.zip |
Fix comments that were mis-wrapped, for Tom Lane.
Diffstat (limited to 'src/interfaces/odbc/info.c')
-rw-r--r-- | src/interfaces/odbc/info.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/interfaces/odbc/info.c b/src/interfaces/odbc/info.c index 764cb3a5889..e14a9d67ac9 100644 --- a/src/interfaces/odbc/info.c +++ b/src/interfaces/odbc/info.c @@ -1738,17 +1738,18 @@ SQLColumns( set_tuplefield_string(&row->tuple[5], field_type_name); - /* + /*---------- * Some Notes about Postgres Data Types: * * VARCHAR - the length is stored in the pg_attribute.atttypmod field * BPCHAR - the length is also stored as varchar is * - * NUMERIC - the scale is stored in atttypmod as follows: precision = - * ((atttypmod - VARHDRSZ) >> 16) & 0xffff scale = (atttypmod - * - VARHDRSZ) & 0xffff + * NUMERIC - the scale is stored in atttypmod as follows: * + * precision =((atttypmod - VARHDRSZ) >> 16) & 0xffff + * scale = (atttypmod - VARHDRSZ) & 0xffff * + *---------- */ qlog("SQLColumns: table='%s',field_name='%s',type=%d,sqltype=%d,name='%s'\n", table_name, field_name, field_type, pgtype_to_sqltype, field_type_name); |