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

Поиск
Список
Период
Сортировка
От Gurjeet Singh
Тема BUG #3363: Unable to load a plugin/library using -c switch to the psql
Дата
Msg-id 200706051620.l55GKr08041015@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #3363: Unable to load a plugin/library using -c switch to the psql  (Douglas Toltzman <doug@oakstreetsoftware.com>)
Re: BUG #3363: Unable to load a plugin/library using -c switch to the psql  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      3363
Logged by:          Gurjeet Singh
Email address:      singh.gurjeet@gmail.com
PostgreSQL version: 8.3devel
Operating system:   Windows
Description:        Unable to load a plugin/library using -c switch to the
psql
Details:

The following command fails:

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

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

    But if the same 'load' command is fired by the same user after log-in
using psql, then the command succeeds.

postgres=> load '$libdir/plugins/index_adviser.dll';
NOTICE:  IND ADV: Loaded; PID: 1164
LOAD
postgres=>

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #3362: xlog corruption just after initdb on irix
Следующее
От: "Simon Riggs"
Дата:
Сообщение: Re: BUG #3362: xlog corruption just after initdb on irix