Re: src/bin/psql/input.c

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: src/bin/psql/input.c
Дата
Msg-id 3409.1056554785@sss.pgh.pa.us
обсуждение исходный текст
Ответ на src/bin/psql/input.c  (Rod Taylor <rbt@rbt.ca>)
Ответы Re: src/bin/psql/input.c  (Rod Taylor <rbt@rbt.ca>)
Список pgsql-patches
Rod Taylor <rbt@rbt.ca> writes:
> It seems that readline() on my system (FreeBSD 4.8) isn't declared to
> take the prompt as a const.  Thus, remove const from gets_interactive()
> to remove the warning.

I think it would be a lot cleaner to just put a cast to char * into the
readline call (with a note about why).

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: greg@turnstep.com
Дата:
Сообщение: Re: Consistent timestamp input
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump with conbin