pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: boli9301@163.com
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16316: The application has lost the database connection:
Date: Wed, 25 Mar 2020 20:27:04 +0100
Message-ID: <20200325192704.ljvn4tgcjrnl76qu@development> (raw)
In-Reply-To: <16316-19aad78ae94264dd@postgresql.org>
References: <16316-19aad78ae94264dd@postgresql.org>

Hi,

On Tue, Mar 24, 2020 at 05:46:33PM +0000, PG Bug reporting form wrote:
>The following bug has been logged on the website:
>
>Bug reference:      16316
>Logged by:          bo li
>Email address:      boli9301@163.com
>PostgreSQL version: 12.2
>Operating system:   mac os 10.15
>Description:
>
>I used a PostgreSQL 12  to storage my data. I use python to connect my SQL
>and query my SQL to export the csv file. When I want to query the table with
>500MB, there will be an error that shows the The application has lost the
>database connection. If I truncate this table, it's ok. I wonder how to fix
>this problem. Thank you
>

It's impossible to answer this question, because it's impossible to say
what's the root cause - it might be a failure at the application level,
it might be a PostgreSQL issue, or something entirely different.

You have to check if there's an error written into the PostgreSQL server
log, for example. If there is some relevant info, post it here.

It also helps to say which python drivers you're using, what's the exact
error message you get, show some code so that we can try reproducing the
issue, etc.

regards

-- 
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





view thread (3+ messages)  latest in thread

Message-ID: <20200325192704.ljvn4tgcjrnl76qu@development>
Permalink:  ../20200325192704.ljvn4tgcjrnl76qu@development/
Also on:    postgresql.org/message-id/20200325192704.ljvn4tgcjrnl76qu@development

 · 

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-bugs@postgresql.org
  Cc: tomas.vondra@2ndquadrant.com, boli9301@163.com
  Subject: Re: BUG #16316: The application has lost the database connection:
  In-Reply-To: <20200325192704.ljvn4tgcjrnl76qu@development>
  References: <16316-19aad78ae94264dd@postgresql.org> <20200325192704.ljvn4tgcjrnl76qu@development>

* 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