aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/trigger.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2014-10-23 08:18:45 -0400
committerRobert Haas <rhaas@postgresql.org>2014-10-23 08:18:45 -0400
commit5ac372fc1a7cc673cc7d4cf26ba651d52495b27a (patch)
tree0a7e62bc9cd02ff6eb908a416d5aebe76c85f0f4 /src/backend/commands/trigger.c
parentc7371c4a607872c4d799e0dac0c9367574067cdc (diff)
downloadpostgresql-5ac372fc1a7cc673cc7d4cf26ba651d52495b27a.tar.gz
postgresql-5ac372fc1a7cc673cc7d4cf26ba651d52495b27a.zip
Add a function to get the authenticated user ID.
Previously, this was not exposed outside of miscinit.c. It is needed for the pending pg_background patch, and will also be needed for parallelism. Without it, there's no way for a background worker to re-create the exact authentication environment that was present in the process that started it, which could lead to security exposures.
Diffstat (limited to 'src/backend/commands/trigger.c')
0 files changed, 0 insertions, 0 deletions