Go to file
David Rowley bc397e5cdb De-dupicate Memoize cache keys
It was possible when determining the cache keys for a Memoize path that
if the same expr appeared twice in the parameterized path's ppi_clauses
and/or in the Nested Loop's inner relation's lateral_vars.  If this
happened the Memoize node's cache keys would contain duplicates.  This
isn't a problem for correctness, all it means is that the cache lookups
will be suboptimal due to having redundant work to do on every hash table
lookup and insert.

Here we adjust paraminfo_get_equal_hashops() to look for duplicates and
ignore them when we find them.

Author: David Rowley
Reviewed-by: Richard Guo
Discussion: https://postgr.es/m/422277.1706207562%40sss.pgh.pa.us
2024-01-26 20:51:36 +13:00
config jit: Require at least LLVM 10. 2024-01-25 15:42:34 +13:00
contrib Revert "Add support for parsing of large XML data (>= 10MB)" 2024-01-26 10:15:32 +09:00
doc Support TZ and OF format codes in to_timestamp(). 2024-01-25 17:47:08 -05:00
src De-dupicate Memoize cache keys 2024-01-26 20:51:36 +13:00
.cirrus.star
.cirrus.tasks.yml ci: Enable injection points in builds 2024-01-23 12:01:18 +09:00
.cirrus.yml
.dir-locals.el
.editorconfig
.git-blame-ignore-revs Add previous commit to .git-blame-ignore-revs. 2024-01-13 13:56:46 -05:00
.gitattributes
.gitignore
aclocal.m4
configure jit: Require at least LLVM 10. 2024-01-25 15:42:34 +13:00
configure.ac Add backend support for injection points 2024-01-22 10:15:50 +09:00
COPYRIGHT
GNUmakefile.in
HISTORY
Makefile
meson_options.txt Add backend support for injection points 2024-01-22 10:15:50 +09:00
meson.build jit: Require at least LLVM 10. 2024-01-25 15:42:34 +13:00
README

PostgreSQL Database Management System
=====================================

This directory contains the source code distribution of the PostgreSQL
database management system.

PostgreSQL is an advanced object-relational database management system
that supports an extended subset of the SQL standard, including
transactions, foreign keys, subqueries, triggers, user-defined types
and functions.  This distribution also contains C language bindings.

Copyright and license information can be found in the file COPYRIGHT.

General documentation about this version of PostgreSQL can be found at:
https://www.postgresql.org/docs/devel/
In particular, information about building PostgreSQL from the source
code can be found at:
https://www.postgresql.org/docs/devel/installation.html

The latest version of this software, and related software, may be
obtained at https://www.postgresql.org/download/.  For more information
look at our web site located at https://www.postgresql.org/.