all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Martin Steffen <msteffen@ifi.uio.no>
Cc: help-gnu-emacs@gnu.org
Subject: Re: pg.el: pg:connect -> Backend error: FATAL unsupported frontend protocol 1.0: server supports 2.0 to 3.0
Date: Wed, 28 Nov 2018 03:48:10 +0100	[thread overview]
Message-ID: <20181128024810.GU22109@protected.rcdrun.com> (raw)
In-Reply-To: <xk92r2f8tbis.fsf@rijkaard.ifi.uio.no>

On Mon, Nov 26, 2018 at 10:48:27AM +0100, Martin Steffen wrote:
> I encountered a problem with postgres/pg.el after a recent upgrade of
> the OS (fedora/postgres). It well might be that pg.el is not the
> ``culprit'' but I was not able to properly nail it down and I don't know
> how to localize is.
> 
> On a very high level, the problem is: connecting to an existing data base
> via pg.el yields the message
> 
> --------------------------
>     pg:connect: Backend error: FATAL:  unsupported frontend protocol 1.0: server supports 2.0 to 3.0    

Hello Martin,

I cannot say that this may help you. But I do
remember I had similar problem.

I am user of PostgreSQL who often installs it
myself, not by distribution and I sometimes
install one version more than what distribution
offers me.

So before months I have encountered the same
problem.

Read more about it here:
https://github.com/anse1/emacs-libpq/issues/7

Thus in the version 10 or 10.1 the protocol 1.0
has been dropped. So pg.el does not work any more,
unless somebody updates it.

My solution was to install that same module libpq
which does the work just well since 10 months
without problems.

https://github.com/anse1/emacs-libpq

Packages depending on pg.el may not work. But they
can be easily updated or modified.

I guess that the more users start using new
version of PostgreSQL there will be more reports
on how pg.el does not work any more.

Jean Louis



  parent reply	other threads:[~2018-11-28  2:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-26  9:48 pg.el: pg:connect -> Backend error: FATAL unsupported frontend protocol 1.0: server supports 2.0 to 3.0 Martin Steffen
2018-11-27 18:23 ` Stefan Monnier
2018-11-28  2:48 ` Jean Louis [this message]
     [not found] ` <mailman.4740.1543343005.1284.help-gnu-emacs@gnu.org>
2018-11-28  5:58   ` martin.sputnik
2018-11-30 15:51     ` Stefan Monnier

Reply instructions:

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

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

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181128024810.GU22109@protected.rcdrun.com \
    --to=bugs@gnu.support \
    --cc=help-gnu-emacs@gnu.org \
    --cc=msteffen@ifi.uio.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.