postgresql/src/include/rewrite
Peter Eisentraut 7724cb9935 Add some const qualifiers enabled by typeof_unqual change on copyObject
The recent commit to change copyObject() to use typeof_unqual allows
cleaning up some APIs to take advantage of this improved qualifier
handling.  EventTriggerCollectSimpleCommand() is a good example: It
takes a node tree and makes a copy that it keeps around for its
internal purposes, but it can't communicate via its function signature
that it promises not scribble on the passed node tree.  That is now
fixed.

Reviewed-by: David Geier <geidav.pg@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/92f9750f-c7f6-42d8-9a4a-85a3cbe808f3%40eisentraut.org
2026-03-19 06:35:54 +01:00
..
prs2lock.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
rewriteDefine.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
rewriteGraphTable.h SQL Property Graph Queries (SQL/PGQ) 2026-03-16 10:14:18 +01:00
rewriteHandler.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
rewriteManip.h Add some const qualifiers enabled by typeof_unqual change on copyObject 2026-03-19 06:35:54 +01:00
rewriteRemove.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
rewriteSearchCycle.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
rewriteSupport.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
rowsecurity.h Update copyright for 2026 2026-01-01 13:24:10 -05:00