diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-01-20 02:24:50 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-01-20 02:24:50 +0000 |
commit | 7476e3718b038f563d39ea7f108fbff156275c94 (patch) | |
tree | a93a49f59461e6d5966bb2e1a666a6bfc1082338 /src/pl/plperl/plperl.c | |
parent | 08195a43f318581e373792fd30e00813ab3ad9fc (diff) | |
download | postgresql-7476e3718b038f563d39ea7f108fbff156275c94.tar.gz postgresql-7476e3718b038f563d39ea7f108fbff156275c94.zip |
Assign a typmod of -1 to unadorned CHAR and NUMERIC type specs. This
allows casts without specific length requirements to continue to work
as they did before; that is, x::char will not truncate the value of x,
whereas x::char(1) will. Likewise for NUMERIC precision/scale.
The column length defaults of char(1) and numeric(30,6) are now inserted
in analyze.c's processing of CREATE TABLE.
Diffstat (limited to 'src/pl/plperl/plperl.c')
0 files changed, 0 insertions, 0 deletions