pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: alaindewit@skynet.be
Subject: BUG #16096: psql (non-interactive mode) SQL multi-request commands don't report all feedback ?!
Date: Wed, 06 Nov 2019 11:20:15 +0000
Message-ID: <16096-6744a334bbd01a04@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      16096
Logged by:          Alain DE WIT
Email address:      alaindewit@skynet.be
PostgreSQL version: 12.0
Operating system:   Centos 7.7.1908
Description:        

When performing one INSERT SQL command in non-interactive mode I get a
feedback about the number of line inserted. OK
When performing the INSERT command SQL request following by for example a
select ; I don't get any feedback of the insert command !!??

NOT A BIG ISSUE !!

Example (screen-shot):
[adw@postgresql12 ~]$ psql -h 127.0.0.1 -U portefeuille -d portefeuille -c
"INSERT INTO ma_table ( SELECT 1, SUM(valeur) FROM ma_table WHERE classe =
2);"
INSERT 0 1
[adw@postgresql12 ~]$
[adw@postgresql12 ~]$
[adw@postgresql12 ~]$ psql -h 127.0.0.1 -U portefeuille -d portefeuille -c
"INSERT INTO ma_table ( SELECT 1, SUM(valeur) FROM ma_table WHERE classe =
2); SELECT * FROM ma_table WHERE classe = 1;"
 classe | valeur
--------+--------
      1 |     10
      1 |     20
      1 |    300
      1 |    990
      1 |    990
      1 |    990
      1 |    990
(7 rows)



Test enviroment (I'm new at Postgres but have more than 10 years
porfessional exeprience in Oracle):
-°) Centos 7.7.1908 runnig under VirtualBox version 6.0.10
-°) Postgres 12.0 installed from the yum Repository
-°) Putty 
-°) postgresql.conf not modified


Regards



view thread (2+ messages)  latest in thread

Message-ID: <16096-6744a334bbd01a04@postgresql.org>
Permalink:  ../16096-6744a334bbd01a04@postgresql.org/
Also on:    postgresql.org/message-id/16096-6744a334bbd01a04@postgresql.org

 · 

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: noreply@postgresql.org, alaindewit@skynet.be
  Subject: Re: BUG #16096: psql (non-interactive mode) SQL multi-request commands don't report all feedback ?!
  In-Reply-To: <16096-6744a334bbd01a04@postgresql.org>
  References: <16096-6744a334bbd01a04@postgresql.org>

* 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