On 6/19/24 14:55, David G. Johnston wrote:
> On Wednesday, June 19, 2024, Adrian Klaver <adrian.klaver@aklaver.com
> <mailto:adrian.klaver@aklaver.com>> wrote:
>
> On 6/19/24 14:33, Rich Shepard wrote:
>
> On Wed, 19 Jun 2024, Adrian Klaver wrote:
>
> I should have added to previous post:
> What is the exact command string you are using to launch psql?
>
>
> $ psql bustrac
>
>
> I find it difficult to believe that actually runs.
>
> psql -d test -U postgres -bustrac
>
> psql: hint: Try "psql --help" for more information.
>
>
> You hallucinated a dash in front of the bustrac. psql bustract is a
> perfectly valid psql command. User gets inferred from the OS user.
As in?:
psql -d test -U postgres bustrac
psql: warning: extra command-line argument "bustrac" ignored
psql (16.3 (Ubuntu 16.3-1.pgdg22.04+1), server 15.7 (Ubuntu
15.7-1.pgdg22.04+1))
Type "help" for help.
test=#
In which case bustrac is ignored.
>
> David J.
>
--
Adrian Klaver
adrian.klaver@aklaver.com