pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: GPT <gptmailinglists@gmail.com>
To: Christoph Moench-Tegeder <cmt@burggraben.net>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: rw_redis_fdw: SQL Errors when statement is within a function
Date: Mon, 29 Oct 2018 10:40:51 -0700
Message-ID: <2d87c1f0-acc8-7b53-0154-9f29d34f98b0@aklaver.com> (raw)
In-Reply-To: <CADep2PMWRc4H8W=zppco_YRQfOZCgamiKS6-b=7J_=igzyeC+Q@mail.gmail.com>
References: <CADep2PPVOo68kRsC0yDF0X_neUGd8pduTKnmyDp0RSaDajTuEg@mail.gmail.com>
	<20181025101948.r2hsnsm2ysn7q3ic@alap3.anarazel.de>
	<CADep2PN_T+frUJG07oKRJ0DfUALuuoaSbvKq_nposNNaSWjX2w@mail.gmail.com>
	<20181025215749.6yy3aparryceuker@squirrel.exwg.net>
	<CADep2PNC2f57EL8ZtKb999oXvYWNBok74m033xMRG4AFw03fMQ@mail.gmail.com>
	<20181026212725.33rqwraa73wpzq5f@squirrel.exwg.net>
	<CADep2PPhWwGVJb2YmvbUuQn+AaMXn-Q7SbXHPfSGNbN=1i5NKg@mail.gmail.com>
	<CADep2PO1H-b6BrjQKOiuezBmZhJMCWqicfa6Dbw8baoRD3Wpew@mail.gmail.com>
	<20181027221321.zil4ktkmpkxbpmzv@squirrel.exwg.net>
	<CADep2PMWRc4H8W=zppco_YRQfOZCgamiKS6-b=7J_=igzyeC+Q@mail.gmail.com>

On 10/29/18 3:58 AM, GPT wrote:
> Hi, I had a wonderful Sunday, and have no intention to change that sense!
> 
> Dear PG developers, young and/or middle age, and rest users, please
> check the errors the PG gave me.

> happen as Adrian wrote, and life goes on.
> 
> What I would like to ask from developers is:
> 
> Please, if possible improve the error system!

The improvement is already there:

https://github.com/nahanni/rw_redis_fdw/issues/14

"Turning on debugging, the first 5 tries parses the where clause as:"

For more information see:

https://www.postgresql.org/docs/10/static/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-WHEN

In particular: Table 19.1. Message Severity Levels.

> 
> Especially when there are internal changes which may affect
> dynamically the outcome (from expected results to ERROR or whatever)
> of a correct statement. For example, the error would include a
> note/warning similar to "... after change of plan" or "... . Plan was
> changed". Such a note/warning would have saved the whole situation and
> I would have something in my hand to search and ask for help from the
> very beginning.
> 
> As a simple end-user and not an IT folk, I have absolutely no word on
> what and how things happen under the hood. But I expect the best
> response, even if an error has appeared, which will safely enlighten
> me at the shortest time. Your time is valuable, my time, too. So,
> let´s respect our times and do the best to protect them against waste
> in future.
> 
> Thanks and have a nice day and a wonderful week!
> 
> 



-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (25+ messages)  latest in thread

Message-ID: <2d87c1f0-acc8-7b53-0154-9f29d34f98b0@aklaver.com>
Permalink:  ../2d87c1f0-acc8-7b53-0154-9f29d34f98b0@aklaver.com/
Also on:    postgresql.org/message-id/2d87c1f0-acc8-7b53-0154-9f29d34f98b0@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, gptmailinglists@gmail.com, cmt@burggraben.net
  Subject: Re: rw_redis_fdw: SQL Errors when statement is within a function
  In-Reply-To: <2d87c1f0-acc8-7b53-0154-9f29d34f98b0@aklaver.com>
  References: <CADep2PPVOo68kRsC0yDF0X_neUGd8pduTKnmyDp0RSaDajTuEg@mail.gmail.com> <20181025101948.r2hsnsm2ysn7q3ic@alap3.anarazel.de> <CADep2PN_T+frUJG07oKRJ0DfUALuuoaSbvKq_nposNNaSWjX2w@mail.gmail.com> <20181025215749.6yy3aparryceuker@squirrel.exwg.net> <CADep2PNC2f57EL8ZtKb999oXvYWNBok74m033xMRG4AFw03fMQ@mail.gmail.com> <20181026212725.33rqwraa73wpzq5f@squirrel.exwg.net> <CADep2PPhWwGVJb2YmvbUuQn+AaMXn-Q7SbXHPfSGNbN=1i5NKg@mail.gmail.com> <CADep2PO1H-b6BrjQKOiuezBmZhJMCWqicfa6Dbw8baoRD3Wpew@mail.gmail.com> <20181027221321.zil4ktkmpkxbpmzv@squirrel.exwg.net> <CADep2PMWRc4H8W=zppco_YRQfOZCgamiKS6-b=7J_=igzyeC+Q@mail.gmail.com> <2d87c1f0-acc8-7b53-0154-9f29d34f98b0@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