Shouldn't validateForeignKeyConstraint() reset memory context?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Shouldn't validateForeignKeyConstraint() reset memory context?

Andres Freund
Hi,

while looking at the pluggable storage patch I noticed that
validateForeignKeyConstraint() calls RI_FKey_check() for each row
without resetting a memory / expression context.  There's not too much
leakage in the called code, but there's some I think.

Greetings,

Andres Freund

Previous Thread Next Thread