Re: psql tab completion enhancements

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joachim Wieland <joe(at)mcknight(dot)de>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-patches(at)postgresql(dot)org
Subject: Re: psql tab completion enhancements
Date: 2006-02-03 21:15:32
Message-ID: 599.1139001332@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Joachim Wieland <joe(at)mcknight(dot)de> writes:
> - Should all the
> const char* foocompletion = { "BAR", "BAZ" };
> be changed to
> char* foocompletion = { "BAR", "BAZ" };

Removing const decoration sure seems like the wrong direction to be
going in. Why can't you still have const on the functions that expect
to take non-modifiable lists?

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Joachim Wieland 2006-02-03 21:41:38 Re: psql tab completion enhancements
Previous Message Mark Woodward 2006-02-03 20:28:54 Re: Multiple logical databases