pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Multiple result set not displayed in PgAdmin4
5+ messages / 3 participants
[nested] [flat]

* Multiple result set not displayed in PgAdmin4
@ 2020-11-23 04:53 Muthukumar.GK <muthankumar@gmail.com>
  2020-11-23 15:19 ` Re: Multiple result set not displayed in PgAdmin4 Adrian Klaver <adrian.klaver@aklaver.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Muthukumar.GK @ 2020-11-23 04:53 UTC (permalink / raw)
  To: pgsql-general

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.

Regards
Muthukumar

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Multiple result set not displayed in PgAdmin4
  2020-11-23 04:53 Multiple result set not displayed in PgAdmin4 Muthukumar.GK <muthankumar@gmail.com>
@ 2020-11-23 15:19 ` Adrian Klaver <adrian.klaver@aklaver.com>
  2020-11-23 16:07   ` Re: Multiple result set not displayed in PgAdmin4 Muthukumar.GK <muthankumar@gmail.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Adrian Klaver @ 2020-11-23 15:19 UTC (permalink / raw)
  To: Muthukumar.GK <muthankumar@gmail.com>; pgsql-general

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





^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Multiple result set not displayed in PgAdmin4
  2020-11-23 04:53 Multiple result set not displayed in PgAdmin4 Muthukumar.GK <muthankumar@gmail.com>
  2020-11-23 15:19 ` Re: Multiple result set not displayed in PgAdmin4 Adrian Klaver <adrian.klaver@aklaver.com>
@ 2020-11-23 16:07   ` Muthukumar.GK <muthankumar@gmail.com>
  2020-11-23 16:11     ` Re: Multiple result set not displayed in PgAdmin4 Adrian Klaver <adrian.klaver@aklaver.com>
  2020-11-23 17:16     ` Re: Multiple result set not displayed in PgAdmin4 Joshua Drake <jd@commandprompt.com>
  0 siblings, 2 replies; 5+ messages in thread

From: Muthukumar.GK @ 2020-11-23 16:07 UTC (permalink / raw)
  To: Adrian Klaver <adrian.klaver@aklaver.com>; +Cc: pgsql-general

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.

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>
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
>

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Multiple result set not displayed in PgAdmin4
  2020-11-23 04:53 Multiple result set not displayed in PgAdmin4 Muthukumar.GK <muthankumar@gmail.com>
  2020-11-23 15:19 ` Re: Multiple result set not displayed in PgAdmin4 Adrian Klaver <adrian.klaver@aklaver.com>
  2020-11-23 16:07   ` Re: Multiple result set not displayed in PgAdmin4 Muthukumar.GK <muthankumar@gmail.com>
@ 2020-11-23 16:11     ` Adrian Klaver <adrian.klaver@aklaver.com>
  1 sibling, 0 replies; 5+ messages in thread

From: Adrian Klaver @ 2020-11-23 16:11 UTC (permalink / raw)
  To: Muthukumar.GK <muthankumar@gmail.com>; +Cc: pgsql-general

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





^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Multiple result set not displayed in PgAdmin4
  2020-11-23 04:53 Multiple result set not displayed in PgAdmin4 Muthukumar.GK <muthankumar@gmail.com>
  2020-11-23 15:19 ` Re: Multiple result set not displayed in PgAdmin4 Adrian Klaver <adrian.klaver@aklaver.com>
  2020-11-23 16:07   ` Re: Multiple result set not displayed in PgAdmin4 Muthukumar.GK <muthankumar@gmail.com>
@ 2020-11-23 17:16     ` Joshua Drake <jd@commandprompt.com>
  1 sibling, 0 replies; 5+ messages in thread

From: Joshua Drake @ 2020-11-23 17:16 UTC (permalink / raw)
  To: Muthukumar.GK <muthankumar@gmail.com>; +Cc: Adrian Klaver <adrian.klaver@aklaver.com>; pgsql-general

Howdy,

I believe you would receive more help from the proper forum for PgAdmin4:

https://www.pgadmin.org/support/list/

This is a list for PostgreSQL and it's software. PostgreSQL's client is
psql which is a command line client.

Thanks!
JD



>>
>>

^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2020-11-23 17:16 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-11-23 04:53 Multiple result set not displayed in PgAdmin4 Muthukumar.GK <muthankumar@gmail.com>
2020-11-23 15:19 ` Adrian Klaver <adrian.klaver@aklaver.com>
2020-11-23 16:07   ` Muthukumar.GK <muthankumar@gmail.com>
2020-11-23 16:11     ` Adrian Klaver <adrian.klaver@aklaver.com>
2020-11-23 17:16     ` Joshua Drake <jd@commandprompt.com>

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