Should extension--unpackaged-$ver.sql's \echo use FROM unpackaged;?

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Should extension--unpackaged-$ver.sql's \echo use FROM unpackaged;?
Дата
Msg-id 20140702192641.GD22738@awork2.anarazel.de
обсуждение исходный текст
Ответы Re: Should extension--unpackaged-$ver.sql's \echo use FROM unpackaged;?  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
Hi,

Fujii noticed that I'd used
\echo Use "CREATE EXTENSION pg_buffercache" to load this file. \quit
in an extension upgrade script. That's obviously wrong, because it
should say ALTER EXTENSION. The reason it's that way is that I copied
the line from the unpackaged--1.0.sql file.
I noticed all unpackaged--$version transition files miss the "FROM
unpackaged" in that echo.
I guess that's just a oversight which we should correct? Or is there
some rationale behind it?

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: alter user set local_preload_libraries.
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: log_error_verbosity and unexpected errors