Re: User defined data types in Logical Replication - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: User defined data types in Logical Replication
Date
Msg-id 20180105185334.gk4zus3cnkuf6mcf@alvherre.pgsql
Whole thread Raw
In response to Re: User defined data types in Logical Replication  (Masahiko Sawada <sawada.mshk@gmail.com>)
Responses Re: User defined data types in Logical Replication
List pgsql-hackers
hash_seq_init in logicalrep_typmap_invalidate_cb is useless after your
patch.  If you remove it, the function becomes empty, so why is it there
an invalidation callback at all?

Are we now leaking memory if types keep repeatedly being re-created in
the origin?  I suppose it's not a common use pattern, but it'd be good
to avoid everlasting memleaks.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Beena Emerson
Date:
Subject: Re: [HACKERS] Runtime Partition Pruning
Next
From: Jeff Janes
Date:
Subject: Re: Speeding up pg_upgrade