Reece Hart <reece(at)in-machina(dot)com> writes:
> The RL_PROMPT_* markers are undocumented features of readline. The patch
> I sent works fine with RL 4.2 and 4.3 on linux-x86. From the readline
> changelogs, I deduced that these were added with 4.0 (ca. Feb 1999).
Hm. I don't recall whether we still pretend to support pre-4.0 readlines.
The "undocumented" bit actually bothers me rather more. I guess what we
can do is wrap the code in "ifdef RL_PROMPT_START_IGNORE" to keep from
blowing up if it's not present.
> Let's chop the #else clause and leave it at that.
> BTW, is there a coding style guide or pgsql-patch guide somewhere?
Not really; so far we've gotten away with "do like you see established
> example, are patches acceptable as attachments (as opposed to inline)?
Doesn't matter. We ask for "diff -c" format (plain diff is unsafe if
there have been any other changes in the files, and diff -u is harder to
read, at least in the opinions of those who are likely to review PG
patches). How you package it in your message is your choice. If you
use a mail program that might munge whitespace or linebreaks then an
attachment is probably the safest plan.
> And, is it preferred to diff against cvs instead? If so, which branch?
In general a diff against CVS HEAD will be the least pain to apply. In
this particular case it won't matter much, since those files haven't
regards, tom lane
In response to
pgsql-patches by date
|Next:||From: Alvaro Herrera||Date: 2004-01-19 22:36:13|
|Subject: trivial typos|
|Previous:||From: Tom Lane||Date: 2004-01-19 19:15:08|
|Subject: Patch for search_path --- apply to 7.4 branch?|