postgresql/src/backend/utils
Tom Lane 303696c3b4 Install a data-type-based solution for protecting pg_get_expr().
Since the code underlying pg_get_expr() is not secure against malformed
input, and can't practically be made so, we need to prevent miscreants
from feeding arbitrary data to it.  We can do this securely by declaring
pg_get_expr() to take a new datatype "pg_node_tree" and declaring the
system catalog columns that hold nodeToString output to be of that type.
There is no way at SQL level to create a non-null value of type pg_node_tree.
Since the backend-internal operations that fill those catalog columns
operate below the SQL level, they are oblivious to the datatype relabeling
and don't need any changes.
2010-09-03 01:34:55 +00:00
..
adt Install a data-type-based solution for protecting pg_get_expr(). 2010-09-03 01:34:55 +00:00
cache Fix up flushing of composite-type typcache entries to be driven directly by 2010-09-02 03:16:46 +00:00
error Bring some sanity to the trace_recovery_messages code and docs. 2010-08-19 22:55:01 +00:00
fmgr pgindent run for 9.0 2010-02-26 02:01:40 +00:00
hash pgindent run for 9.0 2010-02-26 02:01:40 +00:00
init Arrange to fsync the contents of lockfiles (both postmaster.pid and the 2010-08-16 17:32:46 +00:00
mb Remove extra newlines at end and beginning of files, add missing newlines 2010-08-19 05:57:36 +00:00
misc Bring some sanity to the trace_recovery_messages code and docs. 2010-08-19 22:55:01 +00:00
mmgr Oops, in the previous fix to prevent a cursor that's being used in a FOR 2010-07-13 09:02:30 +00:00
resowner Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
sort pgindent run for 9.0 2010-02-26 02:01:40 +00:00
time pgindent run for 9.0 2010-02-26 02:01:40 +00:00
.cvsignore Cleanup to ensure good state of derived files in tarballs. 2000-06-09 02:38:36 +00:00
Gen_dummy_probes.sed Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
Gen_fmgrtab.pl Fix genbki.pl and Gen_fmgrtab.pl to use PID-specific temp file names, 2010-01-05 20:23:32 +00:00
Makefile Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
probes.d Further dtrace adjustments for the backend-IDs-in-relpath patch. 2010-08-14 02:22:10 +00:00