[HACKERS] psql's \r broken since e984ef5861d - Mailing list pgsql-hackers

From Julien Rouhaud
Subject [HACKERS] psql's \r broken since e984ef5861d
Date
Msg-id 95437d09-cc92-6260-f1d6-7e6cf7e4a5cf@dalibo.com
Whole thread Raw
Responses Re: [HACKERS] psql's \r broken since e984ef5861d
List pgsql-hackers
Hello,

Unless I miss something, \r isn't working anymore, since
exec_command_print() fallback to display previous_buf if query_buf has
been freed.

Trivial patch to fix issue (free both buffers in exec_command_reset())
attached.

Regards.

-- 
Julien Rouhaud

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: [HACKERS] Partition-wise join for join between (declaratively)partitioned tables
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] psql's \r broken since e984ef5861d