pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Muthukumar.GK <muthankumar@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Multiple result set not displayed in PgAdmin4
Date: Mon, 23 Nov 2020 08:11:27 -0800
Message-ID: <8e5fc1a7-d1fb-70f9-e4c5-adc2473e2266@aklaver.com> (raw)
In-Reply-To: <CA+rAWg=4juFub_GtfWeCPqEEHfHAy+C+nQ0Q=yafX9V=WKoUQg@mail.gmail.com>
References: <CA+rAWgkvCSkCF13p-g900rG0_J9USRdPrfauspCi-evnyaQgzA@mail.gmail.com>
	<b8adcc68-2486-e9df-2743-26302ab609e3@aklaver.com>
	<CA+rAWg=4juFub_GtfWeCPqEEHfHAy+C+nQ0Q=yafX9V=WKoUQg@mail.gmail.com>

On 11/23/20 8:07 AM, Muthukumar.GK wrote:
> Hi Adrian,
> 
> If PG admin 4 return only last result set then,  how can we call the  
> procedure/function to get the multiple result set from dot net application.

pgAdmin4 != Postgres, it is just a GUI client and in this case has a 
limitation.

Run the procedure in the command line client psql and you will see the 
results. I'm sure you will be able to get what you want in your .Net 
application.

> 
> we are planning to migrate things from SQL to postgresql.. most of our 
> existing SQL stored procedures will return multiple result sets. So we 
> need to achieve Same multiple result set in postgreSql.. Kindly advise me..
> 
> Regards
> Muthukumar.GK
> 
> On Mon, Nov 23, 2020, 8:49 PM Adrian Klaver <adrian.klaver@aklaver.com 
> <mailto:adrian.klaver@aklaver.com>> wrote:
> 
>     On 11/22/20 8:53 PM, Muthukumar.GK wrote:
>      > Hi Team,
>      >
>      > I have created function in postgre sql 13 which  will return two
>     result.
>      > But when execute i can able to see the last cursor (query result
>     set of
>      > last select )result set  in Data output window of Pgadmin4. i tried
>      > executing the  cursor inside the transaction as well
>     (BEING.....COMMIT).
>      > but i still do not see both result set one by one (likeSQL) in data
>      > output window. Please let me know if there is any limitation in
>     pgadmin4
>      > tool that multiple result set will not be displayed in Data
>     output Window.
> 
>       From what I remember pgAdmin4 will only display the last result.
> 
>      >
>      > Regards
>      > Muthukumar
> 
> 
>     -- 
>     Adrian Klaver
>     adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (5+ messages)  latest in thread

Message-ID: <8e5fc1a7-d1fb-70f9-e4c5-adc2473e2266@aklaver.com>
Permalink:  ../8e5fc1a7-d1fb-70f9-e4c5-adc2473e2266@aklaver.com/
Also on:    postgresql.org/message-id/8e5fc1a7-d1fb-70f9-e4c5-adc2473e2266@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, muthankumar@gmail.com
  Subject: Re: Multiple result set not displayed in PgAdmin4
  In-Reply-To: <8e5fc1a7-d1fb-70f9-e4c5-adc2473e2266@aklaver.com>
  References: <CA+rAWgkvCSkCF13p-g900rG0_J9USRdPrfauspCi-evnyaQgzA@mail.gmail.com> <b8adcc68-2486-e9df-2743-26302ab609e3@aklaver.com> <CA+rAWg=4juFub_GtfWeCPqEEHfHAy+C+nQ0Q=yafX9V=WKoUQg@mail.gmail.com> <8e5fc1a7-d1fb-70f9-e4c5-adc2473e2266@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