Re: Duplicated assignment of slot_name in walsender.c

Euler Taveira <euler@timbira.com.br>

From: Euler Taveira <euler@timbira.com.br>
To: Bernd Helmle <mailings@oopsware.de>, pgsql-hackers@postgresql.org
Date: 2015-10-21T19:56:02Z
Lists: pgsql-hackers

Attachments

On 20-10-2015 08:28, Bernd Helmle wrote:
> The 2nd assignment to slot_name looks unnecessary?
>
Yes, it is. Seems to be an oversight. Patch attached.


-- 
    Euler Taveira                   Timbira - http://www.timbira.com.br/
    PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento

Commits

  1. Measure string lengths only once