Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1khERC-0008Kq-CT for pgsql-general@arkaria.postgresql.org; Mon, 23 Nov 2020 16:11:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1khERB-0003Ef-7A for pgsql-general@arkaria.postgresql.org; Mon, 23 Nov 2020 16:11:33 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1khERA-0003Cu-7c for pgsql-general@lists.postgresql.org; Mon, 23 Nov 2020 16:11:32 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1khER7-00086H-Ua for pgsql-general@postgresql.org; Mon, 23 Nov 2020 16:11:31 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id D6F125C00C3; Mon, 23 Nov 2020 11:11:28 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 23 Nov 2020 11:11:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=w V6oSHZ2JiABj2bvskp2ft3Q2nCNisWme2VDPsASGM0=; b=TpAUvLo7bHToem4Pn lun4tSwLv88wWHDPwTjR+k3kWcxjyV9ToosGUjQwyDbozdPeC8G0ry6W8Q9MF0db KL97Z+RYBIs36H1xvjZKWeymmMrTu44f+IHuTMCzkFHmsqTP9gm21EiWVJdweXkI Qutv9BhSlNleIMQh6i5MlUcOXh+VQL1byA/gCtcIfFB8wGc5AZXlCWTiQ+nWfWRh jTPa3xIA71+Ps2FBK20aRX57G+elll/EkOz0FFFicV71TAdKQ/p/MzXKeRBQ3fVk PqCgZAAyc84synAn+X1TqNVnSQTHyLBuMPqef/qSXAGh4zDeDNI1cVLrKfpOprFl ZOCaQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=wV6oSHZ2JiABj2bvskp2ft3Q2nCNisWme2VDPsASG M0=; b=H6S7u1crcVWWoDad5OvdxvChUuZXN6Q7z12/yra0DzNkRASRRizpSNBRY MRf67lchrg8ApGAXrdlWdWcyBGvfkknGImc+MgdCIf05Rz/1vohi4Yg9hg/6KRsl 65E6UO1EnJzo/xFaThxBCm1iy80S8C9/LZBL3/y2RJQPHc1zn8CgJHHR/SKNcnwU +1F+HtcOasPI29GQbuw5WSG8ssFavV6658Le0wobWHLNUtQc+YeR6mwg9z1ntHxy 1IzaDNGxzF3io+k/PbIb3do4AHIJG2Lyfm31I8PbKW48/7/4ukMKkqnA9LfoCTPf kA5pAXbdlfSkzwNrUzyBGVOI7N5Kg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudegiedgkeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtke ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepjeeiteefge euhfeghfetvdeiffdtieejveefgfduvdejffekjeevtdevueetfeffnecuffhomhgrihhn peihohhurhdrnhgvthenucfkphepjeehrddujedvrdduledrudefleenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghv vghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: from [192.168.1.4] (75-172-19-139.tukw.qwest.net [75.172.19.139]) by mail.messagingengine.com (Postfix) with ESMTPA id EB2943064AA6; Mon, 23 Nov 2020 11:11:27 -0500 (EST) Subject: Re: Multiple result set not displayed in PgAdmin4 To: "Muthukumar.GK" Cc: pgsql-general@postgresql.org References: From: Adrian Klaver Message-ID: <8e5fc1a7-d1fb-70f9-e4c5-adc2473e2266@aklaver.com> Date: Mon, 23 Nov 2020 08:11:27 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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 > 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 > -- Adrian Klaver adrian.klaver@aklaver.com