postgresql/src/backend
Robert Haas 7188b9b0fd Fix bug in DROP OWNED BY.
Commit 6566133c5f broke the case where
the role passed to DROP OWNED BY owns a database.

Report by Rushabh Lathia, who also provided a patch, but this patch
takes a slightly different approach to fixing the problem.

Discussion: http://postgr.es/m/CAGPqQf2vO+nbo=3yAdZ8v26Rbug7bY4YjPaPLZx=L1NZ9-CC3w@mail.gmail.com
2022-09-28 10:42:07 -04:00
..
access Revert 56-bit relfilenode change and follow-up commits. 2022-09-28 09:55:28 -04:00
backup Revert 56-bit relfilenode change and follow-up commits. 2022-09-28 09:55:28 -04:00
bootstrap meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
catalog Fix bug in DROP OWNED BY. 2022-09-28 10:42:07 -04:00
commands Revert 56-bit relfilenode change and follow-up commits. 2022-09-28 09:55:28 -04:00
executor Message style improvements 2022-09-24 18:41:25 -04:00
foreign meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
jit meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
lib meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
libpq meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
main meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
nodes Revert 56-bit relfilenode change and follow-up commits. 2022-09-28 09:55:28 -04:00
optimizer meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
parser Remove ALL keyword from TABLES IN SCHEMA for publication 2022-09-22 19:02:25 +02:00
partitioning meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
po meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
port meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
postmaster Message style improvements 2022-09-24 18:41:25 -04:00
regex Remove uses of register due to incompatibility with C++17 and up 2022-09-24 12:08:37 -07:00
replication Revert 56-bit relfilenode change and follow-up commits. 2022-09-28 09:55:28 -04:00
rewrite meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
snowball meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
statistics meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
storage Revert 56-bit relfilenode change and follow-up commits. 2022-09-28 09:55:28 -04:00
tcop Enable WRITE_READ_PARSE_PLAN_TREES of rewritten utility statements 2022-09-26 16:32:16 +02:00
tsearch Convert *GetDatum() and DatumGet*() macros to inline functions 2022-09-27 20:50:21 +02:00
utils Revert 56-bit relfilenode change and follow-up commits. 2022-09-28 09:55:28 -04:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
Makefile Move gramparse.h to src/backend/parser 2022-09-14 10:57:13 +07:00
common.mk Blind attempt to fix LLVM dependency in the backend 2022-09-15 10:53:48 +07:00
meson.build meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
nls.mk NLS: Put list of available languages into LINGUAS files 2022-07-13 08:19:17 +02:00