Re: row filtering for logical replication
От | Alvaro Herrera |
---|---|
Тема | Re: row filtering for logical replication |
Дата | |
Msg-id | 202107131921.r3w3hv2uvuij@alvherre.pgsql обсуждение исходный текст |
Ответ на | Re: row filtering for logical replication (Tomas Vondra <tomas.vondra@enterprisedb.com>) |
Ответы |
Re: row filtering for logical replication
|
Список | pgsql-hackers |
On 2021-Jul-13, Tomas Vondra wrote: > On 7/13/21 5:44 PM, Jeff Davis wrote: > > * Andres also mentioned that the function should not leak memory. > > * One use case for this feature is when sharding a table, so the > > expression should allow things like "hashint8(x) between ...". I'd > > really like to see this problem solved, as well. > > I think built-in functions should be fine, because generally don't get > dropped etc. (And if you drop built-in function, well - sorry.) > > Not sure about the memory leaks - I suppose we'd free memory for each row, > so this shouldn't be an issue I guess ... I'm not sure we need to be terribly strict about expression evaluation not leaking any memory here. I'd rather have a memory context that can be reset per row. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
В списке pgsql-hackers по дате отправления: