postgresql/src/backend
Tom Lane 0bd4da23a4 Ensure that typmod decoration on a datatype name is validated in all cases,
even in code paths where we don't pay any subsequent attention to the typmod
value.  This seems needed in view of the fact that 8.3's generalized typmod
support will accept a lot of bogus syntax, such as "timestamp(foo)" or
"record(int, 42)" --- if we allow such things to pass without comment,
users will get confused.  Per a recent example from Greg Stark.

To implement this in a way that's not very vulnerable to future
bugs-of-omission, refactor the API of parse_type.c's TypeName lookup routines
so that typmod validation is folded into the base lookup operation.  Callers
can still choose not to receive the encoded typmod, but we'll check the
decoration anyway if it's present.
2007-11-11 19:22:49 +00:00
..
access Ensure that typmod decoration on a datatype name is validated in all cases, 2007-11-11 19:22:49 +00:00
bootstrap Move session_start out of MyProcPort stucture and make it a global called MyStartTime, 2007-08-02 23:39:45 +00:00
catalog If an index depends on no columns of its table, give it a dependency on the 2007-11-08 23:22:54 +00:00
commands Ensure that typmod decoration on a datatype name is validated in all cases, 2007-11-11 19:22:49 +00:00
executor Tweak new error messages to match the actual syntax of DECLARE CURSOR. 2007-10-25 13:48:57 +00:00
lib Increase the initial size of StringInfo buffers to 1024 bytes (from 256); 2007-08-12 20:18:06 +00:00
libpq Add parameter krb_realm used by GSSAPI, SSPI and Kerberos 2007-11-09 17:31:07 +00:00
main Cleanup the bootstrap code a little, and rename "dummy procs" in the code 2007-03-07 13:35:03 +00:00
nodes Fix EquivalenceClass code to handle volatile sort expressions in a more 2007-11-08 21:49:48 +00:00
optimizer Fix EquivalenceClass code to handle volatile sort expressions in a more 2007-11-08 21:49:48 +00:00
parser Ensure that typmod decoration on a datatype name is validated in all cases, 2007-11-11 19:22:49 +00:00
po Translation updates 2007-10-27 00:13:43 +00:00
port Add sentence-ending periods. 2007-11-08 14:47:41 +00:00
postmaster Wording changes 2007-11-08 14:47:51 +00:00
regex Add a useless return statement to suppress a warning seen with some 2007-10-22 01:02:22 +00:00
rewrite Make eval_const_expressions() preserve typmod when simplifying something like 2007-09-06 17:31:58 +00:00
snowball Rename default text search parser's "uri" token type to "url_path", 2007-10-27 16:01:09 +00:00
storage Prevent continuing disk-space bloat when profiling (with PROFILE_PID_DIR 2007-11-04 17:55:15 +00:00
tcop Support SET FROM CURRENT in CREATE/ALTER FUNCTION, ALTER DATABASE, ALTER ROLE. 2007-09-03 18:46:30 +00:00
tsearch Have text search thesaurus files use "?" for stop words. 2007-11-10 15:39:34 +00:00
utils Ensure that typmod decoration on a datatype name is validated in all cases, 2007-11-11 19:22:49 +00:00
Makefile Tsearch2 functionality migrates to core. The bulk of this work is by 2007-08-21 01:11:32 +00:00
nls.mk Add _ to gettext triggers. Must have been forgotten here when it was introduced. 2005-10-04 11:14:03 +00:00