| From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
|---|---|
| To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | unused/redundant foreign key code |
| Date: | 2018-08-08 19:34:36 |
| Message-ID: | 2fb8d28c-a4e1-f206-898b-69cd22a393a1@2ndquadrant.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
I found some unused and some redundant code in ri_triggers.c that was
left around by some previous changes that aimed to optimize away certain
trigger invocations. See attached patches.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-Remove-dead-foreign-key-optimization-code.patch | text/plain | 2.9 KB |
| 0002-Apply-RI-trigger-skipping-tests-also-for-DELETE.patch | text/plain | 6.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bossart, Nathan | 2018-08-08 19:36:22 | Re: REINDEX and shared catalogs |
| Previous Message | Peter Eisentraut | 2018-08-08 19:19:16 | Re: memory leak when serializing TRUNCATE in reorderbuffer |