Re: ubuntu 18: PostgreSQL does not start. how can I totally remove and reinstall it

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Hemil Ruparel <hemilruparel2002(at)gmail(dot)com>, Julien Rouhaud <rjuju123(at)gmail(dot)com>
Cc: "robert(at)redo2oo(dot)ch" <robert(at)redo2oo(dot)ch>, robert rottermann <robert(at)redcor(dot)ch>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: ubuntu 18: PostgreSQL does not start. how can I totally remove and reinstall it
Date: 2021-01-24 22:02:57
Message-ID: 41daa336-cdab-e312-f221-26e9b8e23695@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 1/23/21 11:08 PM, Hemil Ruparel wrote:
> One small note. Aside from the fact that your server is running from a
> different port, psycopg2 does not support authentication without
> password afaik. It has bit me twice

Some thinking on this made me realize where you could get into this
situation. Namely if you are using psycopg2 compiled against an older
version of libpq that you then use to connect to a newer version of the
server that is using an authentication method that the libpq version
does not know about. This however is a generic issue of mismatched
libraries and not unique to psycopg2.

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Demitri Muna 2021-01-25 00:38:08 CLUSTER, VACUUM, and TABLESPACEs (oh my)
Previous Message Daniele Varrazzo 2021-01-24 18:57:09 Re: ubuntu 18: PostgreSQL does not start. how can I totally remove and reinstall it