pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Hemil Ruparel <hemilruparel2002@gmail.com>
To: Julien Rouhaud <rjuju123@gmail.com>
Cc: robert@redo2oo.ch <robert@redo2oo.ch>
Cc: robert rottermann <robert@redcor.ch>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: ubuntu 18: PostgreSQL does not start. how can I totally remove and reinstall it
Date: Sun, 24 Jan 2021 14:02:57 -0800
Message-ID: <41daa336-cdab-e312-f221-26e9b8e23695@aklaver.com> (raw)
In-Reply-To: <CANW1aT9WkW=D0p0Uy9PMOvtYkz01JNDOPHGKZsNQ1n3YGFijvA@mail.gmail.com>
References: <82dcf27f-2399-412c-30e9-c9b6d03f62c9@redcor.ch>
	<90b62d7f-1659-513a-ca25-3d803329e235@aklaver.com>
	<2df6a113-10ea-2e48-accf-e0db8909a581@redo2oo.ch>
	<CAOBaU_bjyqL49wiPe4rFHt0zrBaSmJU9Ru61JORUdjRWaUSScg@mail.gmail.com>
	<CANW1aT9WkW=D0p0Uy9PMOvtYkz01JNDOPHGKZsNQ1n3YGFijvA@mail.gmail.com>

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.klaver@aklaver.com





view thread (9+ messages)

Message-ID: <41daa336-cdab-e312-f221-26e9b8e23695@aklaver.com>
Permalink:  ../41daa336-cdab-e312-f221-26e9b8e23695@aklaver.com/
Also on:    postgresql.org/message-id/41daa336-cdab-e312-f221-26e9b8e23695@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, hemilruparel2002@gmail.com, rjuju123@gmail.com, robert@redo2oo.ch, robert@redcor.ch
  Subject: Re: ubuntu 18: PostgreSQL does not start. how can I totally remove and reinstall it
  In-Reply-To: <41daa336-cdab-e312-f221-26e9b8e23695@aklaver.com>
  References: <82dcf27f-2399-412c-30e9-c9b6d03f62c9@redcor.ch> <90b62d7f-1659-513a-ca25-3d803329e235@aklaver.com> <2df6a113-10ea-2e48-accf-e0db8909a581@redo2oo.ch> <CAOBaU_bjyqL49wiPe4rFHt0zrBaSmJU9Ru61JORUdjRWaUSScg@mail.gmail.com> <CANW1aT9WkW=D0p0Uy9PMOvtYkz01JNDOPHGKZsNQ1n3YGFijvA@mail.gmail.com> <41daa336-cdab-e312-f221-26e9b8e23695@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox