Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gM8JL-0004Oa-8P for pgsql-bugs@arkaria.postgresql.org; Mon, 12 Nov 2018 09:15:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gM8JH-0005Qf-Lh for pgsql-bugs@arkaria.postgresql.org; Mon, 12 Nov 2018 09:15:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gM8JH-0005QX-CO for pgsql-bugs@lists.postgresql.org; Mon, 12 Nov 2018 09:15:07 +0000 Received: from pegasus.bbbm.mdc-berlin.de ([141.80.25.20]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gM8JE-000803-24 for pgsql-bugs@lists.postgresql.org; Mon, 12 Nov 2018 09:15:06 +0000 Received: from localhost (localhost [127.0.0.1]) by pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTP id B3806BA15F0 for ; Mon, 12 Nov 2018 10:15:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-transfer-encoding:content-language:content-type :content-type:in-reply-to:mime-version:user-agent:date:date :message-id:from:from:references:subject:subject:received :received:received; s=mdc; t=1542014097; x=1543828498; bh=5jHORe 2i8F9vLJXh2EZgxv37RCOg5PhEAtji/Z+mJDI=; b=As4xrLzd3NVUZpuvESKSG/ 98jrkrXCODTvoucbuFvZ2sa+RcLvmtZkYVtyF+f8D97CXlNurKbAVJJVQNni8SxD nAwoWnGSh4yLTLcyH7rnl4PlRLzNF93A/uuaI0BcUTjIyztPHKAeCOwN0Ye/GD4w 5Fka/xMjyOYw3boQsefes= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from pegasus.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (pegasus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sg5Lu7UVpG7k for ; Mon, 12 Nov 2018 10:14:57 +0100 (CET) Received: from SW-IT-P-CAS4.mdc-berlin.net (puck.citx.mdc-berlin.de [141.80.36.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTPS for ; Mon, 12 Nov 2018 10:14:57 +0100 (CET) Received: from localhost.localdomain (141.80.121.45) by SW-IT-P-CAS4.mdc-berlin.net (141.80.113.59) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 12 Nov 2018 10:14:56 +0100 Subject: Re: BUG #15493: Wrong name of fields/missing fields for the internal statistic References: <15493-c69664b13991e9b6@postgresql.org> <19084.1541688491@sss.pgh.pa.us> To: From: =?UTF-8?Q?Frank_B=c3=bcttner?= Message-ID: Date: Mon, 12 Nov 2018 10:14:56 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <19084.1541688491@sss.pgh.pa.us> Content-Type: text/plain; charset="utf-8" Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Originating-IP: [141.80.121.45] X-TM-AS-Product-Ver: SMEX-12.5.0.1684-8.5.1010-24218.006 X-TM-AS-Result: No-9.477600-8.000000-10 X-TMASE-MatchedRID: O/y65JfDwwunykMun0J1wkhEDfw/93BuINC+F8tjh5W4VumInQhdyS6A G0ScuumiB2qn6nNtRrEPWizbxAgWccaw7ObUn1tcM8ORI7N4NZZ9dcdZFPV3M6awmuBeuZgrOGj 73Ju1zWO8xaeR/ZRIahJMxC9rrim+saYKl6IqtEGeAiCmPx4NwLTrdaH1ZWqC1kTfEkyaZdz6C0 ePs7A07SAJgyd9wrc8lI4y9hLh09xRQCCRNXczissToA4kH23vfyCtJ/ogC3szKQ+FP+HvGA== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--9.477600-8.000000 X-TMASE-Version: SMEX-12.5.0.1684-8.5.1010-24218.006 X-TM-SNTS-SMTP: A0F0C24875E70181A17388A05EAED741361EA6B967159BBBDAE0755650E626472000:9 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi Tom, thanks for the hint. In the background there was an extreme old monitoring script running. But I didn't know about it. Now it is fixed. Regards, Frank Am 08.11.2018 um 15:48 schrieb Tom Lane: > =?utf-8?q?PG_Bug_reporting_form?= writes: >> After some times, many errors are logged about not existing fields. >> < 2018-11-08 14:21:59.820 CET >ERROR: column "procpid" does not exist at >> character 132 >> < 2018-11-08 14:21:59.820 CET >STATEMENT: SELECT datname, datid, usename, >> client_addr, '' AS state, COALESCE(ROUND(EXTRACT(epoch FROM >> now()-query_start)),0) AS seconds, >> procpid as pid, regexp_replace(current_query, E'[\n\r\u2028]+', ' >> ', 'g' ) AS current_query FROM pg_stat_activity WHERE (query_start IS NOT >> NULL AND current_query NOT LIKE '%') ORDER BY query_start, procpid >> DESC; > > The procpid and current_query columns disappeared from pg_stat_activity in > Postgres 9.2 (or more accurately, they were renamed because they changed > meaning a bit). Apparently you're using some very old monitoring software > that hasn't been updated to know about that. > > regards, tom lane >