summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistutil.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-08-19 17:13:47 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-08-19 17:13:47 -0400
commit8299471c37fff0b0f5a777a12f920125310c0efe (patch)
tree06544621316dc0a644472e62d11cf5e5cfb8118c /src/backend/access/gist/gistutil.c
parent65a603e90328a7a8fb3ab30ed96f24bf8eb4cf84 (diff)
downloadpostgresql-8299471c37fff0b0f5a777a12f920125310c0efe.tar.gz
Use LEFT JOINs in some system views in case referenced row doesn't exist.
In particular, left join to pg_authid so that rows in pg_stat_activity don't disappear if the session's owning user has been dropped. Also convert a few joins to pg_database to left joins, in the same spirit, though that case might be harder to hit. We were doing this in other views already, so it was a bit inconsistent that these views didn't. Oskari Saarenmaa, with some further tweaking by me Discussion: <56E87CD8.60007@ohmu.fi>
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions