postgresql/src
Tom Lane 20b6847176 Fix new pg_publication_tables query.
The addition of published column names forgot to filter on attisdropped,
leading to cases where you could see "........pg.dropped.1........"
or the like as a reportedly-published column.

While we're here, rewrite the new subquery to get a more efficient plan
for it.

Hou Zhijie, per report from Jaime Casanova.  Back-patch to v15 where
the bug was introduced.  (Sadly, this means we need a post-beta4
catversion bump before beta4 has even hit the streets.  I see no
good alternative though.)

Discussion: https://postgr.es/m/Yxa1SU4nH2HfN3/i@ahch-to
2022-09-06 18:00:32 -04:00
..
backend Fix new pg_publication_tables query. 2022-09-06 18:00:32 -04:00
bin Add psql tab compression for SET COMPRESSION with ALTER TABLE 2022-09-06 15:36:42 +09:00
common Speed up lexing of long JSON strings 2022-09-02 09:36:22 +07:00
fe_utils Clean up inconsistent use of fflush(). 2022-08-29 13:55:41 -04:00
include Fix new pg_publication_tables query. 2022-09-06 18:00:32 -04:00
interfaces Revert SQL/JSON features 2022-09-01 17:07:14 -04:00
makefiles aix: when building with gcc, tell gcc we're building a shared library 2022-09-01 11:49:36 -07:00
pl Fix incorrect uses of Datum conversion macros 2022-09-05 13:30:44 +02:00
port Cleanup more code and comments related to Windows NT4 (XP days) 2022-08-30 09:52:58 +09:00
template Move darwin sysroot determination into separate file 2022-09-01 16:54:19 -07:00
test Fix new pg_publication_tables query. 2022-09-06 18:00:32 -04:00
timezone Expand the use of get_dirent_type(), shaving a few calls to stat()/lstat() 2022-09-02 16:58:06 +09:00
tools Fix cplusplusscheck in vpath builds 2022-09-06 13:51:15 +07:00
tutorial Update copyright for 2022 2022-01-07 19:04:57 -05:00
.gitignore
DEVELOPERS
Makefile Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04:00
Makefile.global.in Remove unused configure variable. 2022-08-18 11:22:13 -04:00
Makefile.shlib aix: Fix SHLIB_EXPORTS reference in VPATH builds 2022-08-24 20:39:46 -07:00
nls-global.mk Fix for make unportability 2022-07-13 09:15:01 +02:00