Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fuYgz-00076N-I2 for pgsql-general@arkaria.postgresql.org; Tue, 28 Aug 2018 07:45:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fuYgx-0006Yo-9W for pgsql-general@arkaria.postgresql.org; Tue, 28 Aug 2018 07:45:35 +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 1fuYgw-0006Yg-Ul for pgsql-general@lists.postgresql.org; Tue, 28 Aug 2018 07:45:35 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fuYgj-0003RR-28 for pgsql-general@postgresql.org; Tue, 28 Aug 2018 07:45:34 +0000 Received: by mail-pf1-x444.google.com with SMTP id p12-v6so348476pfh.2 for ; Tue, 28 Aug 2018 00:45:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:date:in-reply-to:references:mime-version :content-transfer-encoding; bh=999QDJRKBqDokco+WBBWO6l501Om6R1lZIN7nkxZh+g=; b=B8XuCBL2O1zPlb0mMldzFznTqH+WfW9NqpiXPqjHqYjEc5+GGg9u2ERDH5swKOJafC ogz/54CH1KtH0HijrJ5PMXR9JWfLowqDiYiCbzU8L/cr+3wg3Ls8VGQffB4GDmuqpxEN P5LGWlfzQrZY6fObtpkz8THFODQ/SOV1NlDGOB7E55neoqUCiq2hTdbcy4bP5Qiw/KyY uummmONMpiCEeHIwG9QELbJAPHw4IDV7nQydSmcNS1/5Lkn137ZrKO4o4zFrwHy6elof 5kppZ5OapPlf917EgaMwrcHhCxDNTTd1bx3sQE3L+ZKWITLg6ekpOJD2vbvkRl71jhdr WErg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=999QDJRKBqDokco+WBBWO6l501Om6R1lZIN7nkxZh+g=; b=T3cRdqV6qtzEkMBFazgmQRBIatF1tZEmywH5iXuONCYT4HyfkqTKtYLC7AFUeQx6H2 OdXhgdDMKfbxl/relyAILszlyGlUzIZGPOG2lS90If+QTt6+3k7h+cD67KzoQpNnrwe8 ayas2Z0m9CqSYIyH0Ix7B9p3v2hX3yyAkC5HcoGkZFhJzEMG7t62YJvf+Row69QRmHJ8 jM/uJqHW3VHsjNlZeuuZg7MnNb7+YtmGQeRk6+x9DfdtRpgp7dbxR1DY1EiV06U6i5ho 9zwv+BPKEynxAUmROQ/SAhQApUpe8s+lIQwycd+hQ3UpXKhARppB8erPJ7Yvmss3JASI 31fA== X-Gm-Message-State: APzg51Cwgqm72t42UK1US+JrdSTSuf9Cu9Qz8c2IBhjkofh/wYv2/WCq 16tjuBoxfPTZyQa0qVYFrr4= X-Google-Smtp-Source: ANB0Vda8UDlL2W+mXvVcWNv6FWnbbj2EHzawKzsiua+e+4JOdgLb9tcnYfLPonTR2rrFpWemPHTzvg== X-Received: by 2002:a63:6054:: with SMTP id u81-v6mr367996pgb.433.1535442318633; Tue, 28 Aug 2018 00:45:18 -0700 (PDT) Received: from roblaptop ([220.240.104.230]) by smtp.gmail.com with ESMTPSA id q80-v6sm679787pfd.15.2018.08.28.00.45.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 28 Aug 2018 00:45:18 -0700 (PDT) Message-ID: <26bbc1764d522d0710ed6f55f2eb9f8e82fdc9aa.camel@gmail.com> Subject: Re: Which background task looks for pg_xlog in 10? From: rob stone To: Johann Spies , "pgsql-general@postgresql.org" Date: Tue, 28 Aug 2018 17:45:14 +1000 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello On Tue, 2018-08-28 at 08:32 +0200, Johann Spies wrote: > I see this in /var/log/postgresql/postgresql-10-main.log: > > postgres postgres@template1 ERROR: could not open directory > "pg_xlog": No such file or directory > > postgres postgres@template1 STATEMENT: SELECT count(*) AS segments > FROM pg_ls_dir('pg_xlog') t(fn) \ > WHERE fn ~ '^[0-9A-Z]{24}$' > > Where does this come from? > > Regards > Johann > -- > Because experiencing your loyal love is better than life itself, > my lips will praise you. (Psalm 63:3) > There is no directory pg_xlog in V10. You might have some incompatible software somewhere or an application is running this query. Why does it say "postgres@template1? Cheers, Rob