diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-08-14 23:39:32 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-08-14 23:39:32 +0000 |
commit | 58538a0ffc7259419d1ee82feed93a9bef4bf726 (patch) | |
tree | 7e600a16059f12dc17b6de4ab152233e1d5ce6c7 /src/interfaces/ecpg/compatlib/informix.c | |
parent | 65b2f93b587be67ea1d5e4d98a99599937aa7b19 (diff) | |
download | postgresql-58538a0ffc7259419d1ee82feed93a9bef4bf726.tar.gz postgresql-58538a0ffc7259419d1ee82feed93a9bef4bf726.zip |
Cause '*' and 'foo.*' notations to mark the referenced RTE(s) as
requiring read permissions. Up till now there was no possible case
in which the RTEs wouldn't already have ACL_SELECT set ... but now that
you can say something like 'INSERT INTO foo ... RETURNING *' this is
an essential step. With this commit, a RETURNING clause adds the
requirement for SELECT permissions on the target table if and only if
the clause actually reads the value of at least one target-table column.
Diffstat (limited to 'src/interfaces/ecpg/compatlib/informix.c')
0 files changed, 0 insertions, 0 deletions