Re: psql tab completion enhancements - Mailing list pgsql-patches

From Tom Lane
Subject Re: psql tab completion enhancements
Date
Msg-id 599.1139001332@sss.pgh.pa.us
Whole thread Raw
In response to Re: psql tab completion enhancements  (Joachim Wieland <joe@mcknight.de>)
Responses Re: psql tab completion enhancements
Re: psql tab completion enhancements
List pgsql-patches
Joachim Wieland <joe@mcknight.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

pgsql-patches by date:

Previous
From: Joachim Wieland
Date:
Subject: Re: psql tab completion enhancements
Next
From: Joachim Wieland
Date:
Subject: Re: psql tab completion enhancements