pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Revert "Fix an O(N^2) problem in foreign key references".
4+ messages / 1 participants
[nested] [flat]

* pgsql: Revert "Fix an O(N^2) problem in foreign key references".
@ 2015-09-15 15:09 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2015-09-15 15:09 UTC (permalink / raw)
  To: pgsql-committers

Revert "Fix an O(N^2) problem in foreign key references".

Commit 5ddc72887a012f6a8b85707ef27d85c274faf53d does not actually work
because it will happily blow away ri_constraint_cache entries that are
in active use in outer call levels.  In any case, it's a very ugly,
brute-force solution to the problem of limiting the cache size.
Revert until it can be redesigned.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3d9e8db9e56beb0501d168779ae9644587924061

Modified Files
--------------
src/backend/utils/adt/ri_triggers.c |   38 +++--------------------------------
1 file changed, 3 insertions(+), 35 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Revert "Fix an O(N^2) problem in foreign key references".
@ 2015-09-15 15:09 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2015-09-15 15:09 UTC (permalink / raw)
  To: pgsql-committers

Revert "Fix an O(N^2) problem in foreign key references".

Commit 5ddc72887a012f6a8b85707ef27d85c274faf53d does not actually work
because it will happily blow away ri_constraint_cache entries that are
in active use in outer call levels.  In any case, it's a very ugly,
brute-force solution to the problem of limiting the cache size.
Revert until it can be redesigned.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/ed301d6dbe32eaad4f226903d430336e5a0d72aa

Modified Files
--------------
src/backend/utils/adt/ri_triggers.c |   38 +++--------------------------------
1 file changed, 3 insertions(+), 35 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Revert "Fix an O(N^2) problem in foreign key references".
@ 2015-09-15 15:09 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2015-09-15 15:09 UTC (permalink / raw)
  To: pgsql-committers

Revert "Fix an O(N^2) problem in foreign key references".

Commit 5ddc72887a012f6a8b85707ef27d85c274faf53d does not actually work
because it will happily blow away ri_constraint_cache entries that are
in active use in outer call levels.  In any case, it's a very ugly,
brute-force solution to the problem of limiting the cache size.
Revert until it can be redesigned.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/541ec18acf2f6c8df095e45af980f59b82475d1e

Modified Files
--------------
src/backend/utils/adt/ri_triggers.c |   38 +++--------------------------------
1 file changed, 3 insertions(+), 35 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Revert "Fix an O(N^2) problem in foreign key references".
@ 2015-09-15 15:09 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2015-09-15 15:09 UTC (permalink / raw)
  To: pgsql-committers

Revert "Fix an O(N^2) problem in foreign key references".

Commit 5ddc72887a012f6a8b85707ef27d85c274faf53d does not actually work
because it will happily blow away ri_constraint_cache entries that are
in active use in outer call levels.  In any case, it's a very ugly,
brute-force solution to the problem of limiting the cache size.
Revert until it can be redesigned.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/be136b2430e59b3aafd08c6df1ae8289e1a0922b

Modified Files
--------------
src/backend/utils/adt/ri_triggers.c |   38 +++--------------------------------
1 file changed, 3 insertions(+), 35 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2015-09-15 15:09 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-09-15 15:09 pgsql: Revert "Fix an O(N^2) problem in foreign key references". Tom Lane <tgl@sss.pgh.pa.us>
2015-09-15 15:09 pgsql: Revert "Fix an O(N^2) problem in foreign key references". Tom Lane <tgl@sss.pgh.pa.us>
2015-09-15 15:09 pgsql: Revert "Fix an O(N^2) problem in foreign key references". Tom Lane <tgl@sss.pgh.pa.us>
2015-09-15 15:09 pgsql: Revert "Fix an O(N^2) problem in foreign key references". Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox