pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: António Silva <asilva@wirelessmundi.com>
To: pgsql-admin@postgresql.org
Subject: Error FATAL: invalid frontend message type 21
Date: Mon, 28 Aug 2017 17:54:03 +0200
Message-ID: <fc5807f5-2c23-33fb-abad-7274b938bfa4@wirelessmundi.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Hi,

What could be the cause for error message, FATAL:  invalid frontend 
message type 21?
My application notices that the postgres connection is gone and it 
reconnects, but i'm wondering what could cause this?

I've  connected with odbc (unixodbc), unixsockect and using localhost, i 
always see this message.


Running postgresql in debian 8, version:

ii  libpq5:amd64 9.4.13-0+deb8u1                    amd64        
PostgreSQL C client library
ii  postgresql-9.4 9.4.13-0+deb8u1                    amd64        
object-relational SQL database, version 9.4 server
ii  postgresql-client-9.4 9.4.13-0+deb8u1                    
amd64        front-end programs for PostgreSQL 9.4


conf:
# -----------------------------
# PostgreSQL configuration file
# -----------------------------

data_directory = '/var/lib/postgresql/9.4/main'
hba_file = '/etc/postgresql/9.4/main/pg_hba.conf'
ident_file = '/etc/postgresql/9.4/main/pg_ident.conf'
external_pid_file = '/var/run/postgresql/9.4-main.pid'

# - Connection Settings -
listen_addresses = '127.0.0.1'
port = 5432
max_connections = 100
unix_socket_directories = '/var/run/postgresql'
ssl = false
shared_buffers = 128MB
dynamic_shared_memory_type = posix

log_destination = 'syslog'
syslog_facility = 'LOCAL0'
syslog_ident = 'postgres'
log_line_prefix = '%t [%p-%l] %q%u@%d '
log_timezone = 'localtime'
stats_temp_directory = '/var/run/postgresql/9.4-main.pg_stat_tmp'
datestyle = 'iso, mdy'
timezone = 'localtime'
lc_messages = 'C'
lc_monetary = 'C'
lc_numeric = 'C'
lc_time = 'C'
default_text_search_config = 'pg_catalog.english'



-- 
Saludos / Regards / Cumprimentos
António Silva



-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



Message-ID: <fc5807f5-2c23-33fb-abad-7274b938bfa4@wirelessmundi.com>
Permalink:  ../fc5807f5-2c23-33fb-abad-7274b938bfa4@wirelessmundi.com/
Also on:    postgresql.org/message-id/fc5807f5-2c23-33fb-abad-7274b938bfa4@wirelessmundi.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-admin@postgresql.org
  Cc: asilva@wirelessmundi.com
  Subject: Re: Error FATAL: invalid frontend message type 21
  In-Reply-To: <fc5807f5-2c23-33fb-abad-7274b938bfa4@wirelessmundi.com>
  References: <fc5807f5-2c23-33fb-abad-7274b938bfa4@wirelessmundi.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