postgresql/src/backend/utils/adt
Teodor Sigaev 8983852e34 Improving various checks by Heikki Linnakangas <heikki@enterprisedb.com>
- add code to check that the query tree is well-formed. It was indeed
  possible to send malformed queries in binary mode, which produced all
  kinds of strange results.

- make the left-field a uint32. There's no reason to
  arbitrarily limit it to 16-bits, and it won't increase the disk/memory
  footprint either now that QueryOperator and QueryOperand are separate
  structs.

- add check_stack_depth() call to all recursive functions I found.
  Some of them might have a natural limit so that you can't force
  arbitrarily deep recursions, but check_stack_depth() is cheap enough
  that seems best to just stick it into anything that might be a problem.
2007-09-07 15:35:11 +00:00
..
Makefile Refactoring by Heikki Linnakangas <heikki@enterprisedb.com> with 2007-09-07 15:09:56 +00:00
acl.c Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 2007-02-27 23:48:10 +00:00
array_userfuncs.c Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 2007-02-27 23:48:10 +00:00
arrayfuncs.c Support varlena fields with single-byte headers and unaligned storage. 2007-04-06 04:21:44 +00:00
arrayutils.c Tweak the API for per-datatype typmodin functions so that they are passed 2007-06-15 20:56:52 +00:00
ascii.c Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
bool.c Downgrade implicit casts to text to be assignment-only, except for the ones 2007-06-05 21:31:09 +00:00
cash.c Fix cash_mul_int4 and cash_div_int4 for overenthusiastic substitution 2007-08-21 03:56:07 +00:00
char.c Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 2007-02-27 23:48:10 +00:00
date.c Switch over to using the src/timezone functions for formatting timestamps 2007-08-04 01:26:54 +00:00
datetime.c Switch over to using the src/timezone functions for formatting timestamps 2007-08-04 01:26:54 +00:00
datum.c Support varlena fields with single-byte headers and unaligned storage. 2007-04-06 04:21:44 +00:00
dbsize.c Relax permissions checks on dbsize functions, per discussion. Revert out all 2007-08-29 17:24:29 +00:00
domains.c Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
encode.c Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 2007-02-27 23:48:10 +00:00
enum.c Provide for binary input/output of enums, to fix complaint from Merlin Moncure. 2007-09-04 16:41:43 +00:00
float.c Downgrade implicit casts to text to be assignment-only, except for the ones 2007-06-05 21:31:09 +00:00
format_type.c Support enum data types. Along the way, use macros for the values of 2007-04-02 03:49:42 +00:00
formatting.c Switch over to using the src/timezone functions for formatting timestamps 2007-08-04 01:26:54 +00:00
genfile.c Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 2007-02-27 23:48:10 +00:00
geo_ops.c Remove copied comments from geo_ops.c source file and replace with new 2007-03-05 23:29:14 +00:00
geo_selfuncs.c Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
inet_net_ntop.c Fix another passel of include-file breakage. Kris Jurka, Tom Lane 2006-07-14 16:59:19 +00:00
inet_net_pton.c Fix another passel of include-file breakage. Kris Jurka, Tom Lane 2006-07-14 16:59:19 +00:00
int.c Downgrade implicit casts to text to be assignment-only, except for the ones 2007-06-05 21:31:09 +00:00
int8.c Fix int8mul so that overflow check is applied correctly for INT64_IS_BUSTED 2007-08-30 05:27:29 +00:00
like.c Improve efficiency of LIKE/ILIKE code, especially for multi-byte charsets, 2007-06-02 02:03:42 +00:00
like_match.c Improve efficiency of LIKE/ILIKE code, especially for multi-byte charsets, 2007-06-02 02:03:42 +00:00
lockfuncs.c Implement lazy XID allocation: transactions that do not modify any database 2007-09-05 18:10:48 +00:00
mac.c Downgrade implicit casts to text to be assignment-only, except for the ones 2007-06-05 21:31:09 +00:00
misc.c Provide for logfiles in machine readable CSV format. In consequence, rename 2007-08-19 01:41:25 +00:00
nabstime.c Switch over to using the src/timezone functions for formatting timestamps 2007-08-04 01:26:54 +00:00
name.c Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
network.c Downgrade implicit casts to text to be assignment-only, except for the ones 2007-06-05 21:31:09 +00:00
numeric.c Fix stddev_pop(numeric) and var_pop(numeric), which were incorrectly producing 2007-07-09 16:13:57 +00:00
numutils.c Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
oid.c Downgrade implicit casts to text to be assignment-only, except for the ones 2007-06-05 21:31:09 +00:00
oracle_compat.c Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 2007-02-27 23:48:10 +00:00
pg_locale.c Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
pg_lzcompress.c Fix up bad layout of some comments (probably pg_indent's fault), and 2007-08-04 21:53:00 +00:00
pgstatfuncs.c Implement "distributed" checkpoints in which the checkpoint I/O is spread 2007-06-28 00:02:40 +00:00
pseudotypes.c Fix up text concatenation so that it accepts all the reasonable cases that 2007-06-06 23:00:50 +00:00
quote.c Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 2007-02-27 23:48:10 +00:00
regexp.c Avoid memory leakage across successive calls of regexp_matches() or 2007-08-11 19:16:41 +00:00
regproc.c Tsearch2 functionality migrates to core. The bulk of this work is by 2007-08-21 01:11:32 +00:00
ri_triggers.c Repair problems occurring when multiple RI updates have to be done to the same 2007-08-15 19:15:47 +00:00
rowtypes.c Add resetStringInfo(), which clears the content of a StringInfo, and 2007-03-03 19:32:55 +00:00
ruleutils.c Implement CREATE TABLE LIKE ... INCLUDING INDEXES. Patch from NikhilS, 2007-07-17 05:02:03 +00:00
selfuncs.c Apply a band-aid fix for the problem that 8.2 and up completely misestimate 2007-08-31 23:35:22 +00:00
tid.c Make currtid() functions require SELECT privileges on the target table. 2007-08-27 00:57:36 +00:00
timestamp.c Switch over to using the src/timezone functions for formatting timestamps 2007-08-04 01:26:54 +00:00
tsginidx.c Refactoring by Heikki Linnakangas <heikki@enterprisedb.com> with 2007-09-07 15:09:56 +00:00
tsgistidx.c Refactoring by Heikki Linnakangas <heikki@enterprisedb.com> with 2007-09-07 15:09:56 +00:00
tsquery.c Improving various checks by Heikki Linnakangas <heikki@enterprisedb.com> 2007-09-07 15:35:11 +00:00
tsquery_cleanup.c Improving various checks by Heikki Linnakangas <heikki@enterprisedb.com> 2007-09-07 15:35:11 +00:00
tsquery_gist.c Tsearch2 functionality migrates to core. The bulk of this work is by 2007-08-21 01:11:32 +00:00
tsquery_op.c Refactoring by Heikki Linnakangas <heikki@enterprisedb.com> with 2007-09-07 15:09:56 +00:00
tsquery_rewrite.c Improving various checks by Heikki Linnakangas <heikki@enterprisedb.com> 2007-09-07 15:35:11 +00:00
tsquery_util.c Improving various checks by Heikki Linnakangas <heikki@enterprisedb.com> 2007-09-07 15:35:11 +00:00
tsrank.c Improving various checks by Heikki Linnakangas <heikki@enterprisedb.com> 2007-09-07 15:35:11 +00:00
tsvector.c Refactoring by Heikki Linnakangas <heikki@enterprisedb.com> with 2007-09-07 15:09:56 +00:00
tsvector_op.c Refactoring by Heikki Linnakangas <heikki@enterprisedb.com> with 2007-09-07 15:09:56 +00:00
tsvector_parser.c Refactoring by Heikki Linnakangas <heikki@enterprisedb.com> with 2007-09-07 15:09:56 +00:00
uuid.c Downgrade implicit casts to text to be assignment-only, except for the ones 2007-06-05 21:31:09 +00:00
varbit.c Fix potential access-off-the-end-of-memory in varbit_out(): it fetched the 2007-08-21 02:40:06 +00:00
varchar.c Tweak the API for per-datatype typmodin functions so that they are passed 2007-06-15 20:56:52 +00:00
varlena.c Make replace(), split_part(), and string_to_array() behave somewhat sanely 2007-07-19 20:34:20 +00:00
version.c Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 2007-02-27 23:48:10 +00:00
xid.c Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
xml.c Fix map_sql_typecoll_to_xmlschema_types() to not fail on dropped 2007-07-13 03:43:23 +00:00