pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: rob stone <floriparob@gmail.com>
Cc: Justin Pryzby <pryzby@telsasoft.com>
Cc: PegoraroF10 <marcos@f10.com.br>
Cc: pgsql-general@postgresql.org
Subject: Re: Server goes to Recovery Mode when run a SQL
Date: Tue, 12 Feb 2019 12:24:32 +0900
Message-ID: <20190212032432.GH1475@paquier.xyz> (raw)
In-Reply-To: <b89edc1e814863db892ba74332ad6ccaf4eccc9f.camel@gmail.com>
References: <1549209182255-0.post@n3.nabble.com>
	<1549209942200-0.post@n3.nabble.com>
	<1549660293178-0.post@n3.nabble.com>
	<20190209214651.GP31721@telsasoft.com>
	<b89edc1e814863db892ba74332ad6ccaf4eccc9f.camel@gmail.com>

On Sun, Feb 10, 2019 at 03:15:38PM +1100, rob stone wrote:
> Down around line 87 onwards there are generate_series without any
> parameters, and further dubious usage of EPOCH, as well as DOW.
> 
> Not having the table definitions is obviously clouding the analysis.

That seems like the root issue for now.

> If there is a bug in the parser, then one of the experts will have to
> opine about that.

If you actually extract the SQL query and the schema which are used to
make the problem reproducible?  That would help a bit instead of
having to guess based on the sparse information on this thread.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (36+ messages)  latest in thread

Message-ID: <20190212032432.GH1475@paquier.xyz>
Permalink:  ../20190212032432.GH1475@paquier.xyz/
Also on:    postgresql.org/message-id/20190212032432.GH1475@paquier.xyz

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-general@postgresql.org
  Cc: michael@paquier.xyz, floriparob@gmail.com, pryzby@telsasoft.com, marcos@f10.com.br
  Subject: Re: Server goes to Recovery Mode when run a SQL
  In-Reply-To: <20190212032432.GH1475@paquier.xyz>

* 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