From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Konstantin Knizhnik <k(dot)knizhnik(at)postgrespro(dot)ru> |
Cc: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Subject: | Re: Memory leak in RelationBuildRowSecurity |
Date: | 2020-09-25 13:48:19 |
Message-ID: | 1852787.1601041699@sss.pgh.pa.us |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Konstantin Knizhnik <k(dot)knizhnik(at)postgrespro(dot)ru> writes:
> There is memory leak in RelationBuildRowSecurity function - it converts
> node to expression tree in current memory context:
Hm ... this smells a whole lot like the issue we fixed recently for
partition expressions, namely: what the devil are we doing reloading
these expressions during RelationClearRelation? We should delay
populating that cache until the value is requested.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Max Vikharev | 2020-09-25 13:53:55 | Re: BUG #16620: Autovacuum does not process certain databases after migration from postgresql 10 |
Previous Message | PG Bug reporting form | 2020-09-25 13:36:52 | BUG #16636: Upper case issue in JSONB type |