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

From Tom Lane
Subject Re: BUG #3363: Unable to load a plugin/library using -c switch to the psql
Date
Msg-id 20861.1181063769@sss.pgh.pa.us
Whole thread Raw
In response to BUG #3363: Unable to load a plugin/library using -c switch to the psql  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Responses Re: BUG #3363: Unable to load a plugin/library using -c switch to the psql
List 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 by date:

Previous
From: Volodymyr Kostyrko
Date:
Subject: password auth woes on sparc64/FreeBSD
Next
From: "Gurjeet Singh"
Date:
Subject: Re: BUG #3363: Unable to load a plugin/library using -c switch to the psql