Re: BUG #3363: Unable to load a plugin/library using -c switch to the psql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #3363: Unable to load a plugin/library using -c switch to the psql
Дата
Msg-id 20861.1181063769@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #3363: Unable to load a plugin/library using -c switch to the psql  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Ответы Re: BUG #3363: Unable to load a plugin/library using -c switch to the psql  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Список pgsql-bugs
"Gurjeet Singh" <singh.gurjeet@gmail.com> writes:
> The following command fails:

> psql postgres test -X -c "load '$libdir/plugins/index_adviser.dll';"

Define "fails".  I get complaints about the arguments being out of
order, which they are ...

>     Here, 'test' user (non-superuser) is trying to connect to 'postgres'
> database, and wishes to load a plugin as the first step.

If you think that -c means "run this command and then go into normal
interactive mode", you're wrong anyway.

            regards, tom lane

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

Предыдущее
От: Volodymyr Kostyrko
Дата:
Сообщение: password auth woes on sparc64/FreeBSD
Следующее
От: "Gurjeet Singh"
Дата:
Сообщение: Re: BUG #3363: Unable to load a plugin/library using -c switch to the psql