Re: some more error location support

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: some more error location support
Date: 2018-08-28 06:58:59
Message-ID: alpine.DEB.2.21.1808280854560.21980@lancre
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


>> Even if there is some under-the-hood garbage collection, I'd suggest to
>> add a free after the call to ComputePartitionAttrs.
>
> Hmm, I didn't know about free_parsestate(). It doesn't seem to be used
> consistently. I suppose you'll want to use it when you have a target
> relation that will be closed by it, but otherwise, for DDL commands,
> it's not all that useful.

Probably.

The majority rule (34 make & 22 free) suggest that it is more often use
than not. I'd suggest to stick to that for consistency & homogeneity.

--
Fabien.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2018-08-28 07:14:04 Re: Copy function for logical replication slots
Previous Message Alexander Kukushkin 2018-08-28 06:33:11 Re: Would it be possible to have parallel archiving?