You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tom Lane
166f69f769
Fix O(N^2) performance issue in pg_publication_tables view.
...
The original coding of this view relied on a correlated IN sub-query.
Our planner is not very bright about correlated sub-queries, and even
if it were, there's no way for it to know that the output of
pg_get_publication_tables() is duplicate-free, making the de-duplicating
semantics of IN unnecessary. Hence, rewrite as a LATERAL sub-query.
This provides circa 100X speedup for me with a few hundred published
tables (the whole regression database), and things would degrade as
roughly O(published_relations * all_relations) beyond that.
Because the rules.out expected output changes, force a catversion bump.
Ordinarily we might not want to do that post-beta1; but we already know
we'll be doing a catversion bump before beta2 to fix pg_statistic_ext
issues, so it's pretty much free to fix it now instead of waiting for v13.
Per report and fix suggestion from PegoraroF10.
Discussion: https://postgr.es/m/1551385426763-0.post@n3.nabble.com
6 years ago
..
access
In transam.h, don't expose static inline functions to frontend code.
6 years ago
bootstrap
Update copyright for 2019
7 years ago
catalog
Fix O(N^2) performance issue in pg_publication_tables view.
6 years ago
commands
Add TRUNCATE parameter to VACUUM.
6 years ago
common
Move logging.h and logging.c from src/fe_utils/ to src/common/.
6 years ago
datatype
Update copyright for 2019
7 years ago
executor
Restructure creation of run-time pruning steps.
6 years ago
fe_utils
Move logging.h and logging.c from src/fe_utils/ to src/common/.
6 years ago
foreign
Store tuples for EvalPlanQual in slots, rather than as HeapTuples.
7 years ago
jit
Fix duplicated words in comments
6 years ago
lib
Add IntegerSet, to hold large sets of 64-bit ints efficiently.
7 years ago
libpq
Fix detection of passwords hashed with MD5 or SCRAM-SHA-256
6 years ago
mb
Update copyright for 2019
7 years ago
nodes
Restructure creation of run-time pruning steps.
6 years ago
optimizer
Use Append rather than MergeAppend for scanning ordered partitions.
7 years ago
parser
Avoid order-of-execution problems with ALTER TABLE ADD PRIMARY KEY.
6 years ago
partitioning
Restructure creation of run-time pruning steps.
6 years ago
port
Fix previous MinGW fix.
7 years ago
portability
Update copyright for 2019
7 years ago
postmaster
Refactor the fsync queue for wider use.
7 years ago
regex
Partial implementation of SQL/JSON path language
7 years ago
replication
Fix duplicated words in comments
6 years ago
rewrite
Update copyright for 2019
7 years ago
snowball
Update copyright for 2019
7 years ago
statistics
Fix mvdistinct and dependencies size calculations
6 years ago
storage
Standardize ItemIdData terminology.
6 years ago
tcop
Update copyright for 2019
7 years ago
tsearch
Update copyright for 2019
7 years ago
utils
Fix and improve SnapshotType comments.
6 years ago
.gitignore
Refactor dlopen() support
7 years ago
Makefile
Get rid of jsonpath_gram.h and jsonpath_scanner.h
7 years ago
c.h
Fix duplicated words in comments
6 years ago
fmgr.h
Change function call information to be variable length.
7 years ago
funcapi.h
Update copyright for 2019
7 years ago
getaddrinfo.h
Update copyright for 2019
7 years ago
getopt_long.h
Update copyright for 2019
7 years ago
miscadmin.h
Convert [autovacuum_]vacuum_cost_delay into floating-point GUCs.
7 years ago
pg_config.h.in
Make use of compiler builtins and/or assembly for CLZ, CTZ, POPCNT.
7 years ago
pg_config.h.win32
Stamp 12beta1.
6 years ago
pg_config_ext.h.in
…
pg_config_ext.h.win32
…
pg_config_manual.h
Update copyright for 2019
7 years ago
pg_getopt.h
Use our own getopt() on OpenBSD.
7 years ago
pg_trace.h
Update copyright for 2019
7 years ago
pgstat.h
Rearrange pgstat_bestart() to avoid failures within its critical section.
6 years ago
pgtar.h
Update copyright for 2019
7 years ago
pgtime.h
Update copyright for 2019
7 years ago
port.h
Cygwin and Mingw floating-point fixes.
7 years ago
postgres.h
Change function call information to be variable length.
7 years ago
postgres_ext.h
Phase 2 of pgindent updates.
8 years ago
postgres_fe.h
Update copyright for 2019
7 years ago
rusagestub.h
Update copyright for 2019
7 years ago
windowapi.h
Update copyright for 2019
7 years ago