Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W99Jb-0002zR-Pm for pgsql-bugs@arkaria.postgresql.org; Fri, 31 Jan 2014 08:19:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W99Jb-00053I-5o for pgsql-bugs@arkaria.postgresql.org; Fri, 31 Jan 2014 08:19:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W99Ja-00053C-GF for pgsql-bugs@postgresql.org; Fri, 31 Jan 2014 08:19:06 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W99JX-0001S9-1K for pgsql-bugs@postgresql.org; Fri, 31 Jan 2014 08:19:05 +0000 MIME-Version: 1.0 Subject: BUG #9050: pg_stat_statements() contains rows with the same dbid, userid and query To: pgsql-bugs@postgresql.org From: bashtanov@imap.cc Date: Fri, 31 Jan 2014 08:18:24 +0000 Message-ID: <20140131081824.26694.23233@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.1 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 9050 Logged by: Alexey Bashtanov Email address: bashtanov@imap.cc PostgreSQL version: 9.3.1 Operating system: Linux Description: hello! such a query run under superuser produces non-empty result: select userid, dbid, query from pg_stat_statements() group by 1,2,3 having count(1) > 1; I am not sure how to reproduce it, but it can be reproduced only on those instances having several databases on it. Regards, Alexey -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs