Re: psql prompts with invisible characters, take III - Mailing list pgsql-patches

From Reece Hart
Subject Re: psql prompts with invisible characters, take III
Date
Msg-id 1074621024.5061.1548.camel@tallac
Whole thread Raw
In response to Re: psql prompts with invisible characters  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: psql prompts with invisible characters, take III  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom-

Here's take III of the patch, with the #ifdef for RL_PROMPT_START_IGNORE, the #else chopped, and made with diff -c against 7.4.1. A brief comment seemed warranted since this is an undocumented readline feature.

Note that the #if is:
#if defined (USE_READLINE) && defined (RL_PROMPT_START_IGNORE)
Although this is pedantic (R_P_S_I implies U_R), it seemed more transparent for those who come this way hence. Do as you like with it.

Fini?

-Reece

-- 
Reece Hart, http://www.in-machina.com/~reece/, GPG:0x25EC91A0
Attachment

pgsql-patches by date:

Previous
From: ohp@pyrenet.fr
Date:
Subject: Re: Patch for search_path --- apply to 7.4 branch?
Next
From: Tom Lane
Date:
Subject: Re: psql prompts with invisible characters, take III