Search Postgresql Archives

Re: Transaction issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/19/24 14:55, David G. Johnston wrote:
On Wednesday, June 19, 2024, Adrian Klaver <adrian.klaver@xxxxxxxxxxx <mailto:adrian.klaver@xxxxxxxxxxx>> 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@xxxxxxxxxxx






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux