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 1o1gWZ-00049v-Ex for pgsql-hackers@arkaria.postgresql.org; Thu, 16 Jun 2022 03:50:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o1gWX-0000X9-21 for pgsql-hackers@arkaria.postgresql.org; Thu, 16 Jun 2022 03:50:25 +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 1o1gWW-0000Wy-L4 for pgsql-hackers@lists.postgresql.org; Thu, 16 Jun 2022 03:50:24 +0000 Received: from mail-io1-xd31.google.com ([2607:f8b0:4864:20::d31]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1o1gWO-0001aL-Pe for pgsql-hackers@lists.postgresql.org; Thu, 16 Jun 2022 03:50:23 +0000 Received: by mail-io1-xd31.google.com with SMTP id q11so313614iod.8 for ; Wed, 15 Jun 2022 20:50:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=CZvVhA8wxeSh2b+em7rgxmGuuAaWRLvyC4StU/mYqpk=; b=J2wC4EIQ6sl4odE9rEG9ykcpxG/zkYRrXWw5SQybjZJCZaFsFkOIVBleMo6zhG/3/C cHTXmpU8HtSTh9om8fqktzcXOt6bdIEsl0MQhyq32h6jWraQkx5MJM8z5BhNqBxQKe9I bEtXGwGJQ+zRxFjhmcr83tKQcYQSEd3a+oW07i+qNPTe/c+XNZJCNWETJmE+WtXUmGlm BcxnYrvJv5JCOTYqBNPu1qaiKhWn4xOFQzsep47wdlK4pwHFZzYy4lONPAZr8//YSlFi Oo+AeWqDeYXgoSKfefQHTbwOF8RZY9GUrzGZS2rnoXjXEESMoo5ArldQ+UETcdb2Vxso dK4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=CZvVhA8wxeSh2b+em7rgxmGuuAaWRLvyC4StU/mYqpk=; b=VvXNqSHTOeTmLazbZEmuhU4lzqAPxZAB57mQpTsJ70/1X89+dzGXqTCIBR351+sCIU 66V98GUmkdD/GQiksZ5jDEGUYd1t86gcUdcT19vnyCBnc4+2CTOenupYBhs0QjkiQetH hd9jMBLp2gnOvWue1eLiiVrjkqNXiD6KBjiZG00sidtgusc9RRkG0i45B407tTbb+0TW gD0jtfsToSJ4HhFEoPolSQkgglHr/KuxQIL1+JH6lCMVfM4PLFOK4q75qGRFu/1trwoW FYDItK8/mFHTcWyYXnT/cqK6Dz2jROcEMwoUNqkh8GTs4QmW5WWGVJ6KvdihMxw5mTIS /jHA== X-Gm-Message-State: AJIora/niF9aTxzLUifK+m7Gt8f6AGiwVBK81KzdXB6E5SbXxqSMSooB wvYY54AoQ899siClhRW5C1r+4w== X-Google-Smtp-Source: AGRyM1vcZwjGKAH6Rxz3CpQDTDv+TkZB5b+aGDb3JrdMHI/n60+Ay2a/aHQJYDP6623MjSQqEwWO1A== X-Received: by 2002:a6b:2c87:0:b0:669:c37b:342b with SMTP id s129-20020a6b2c87000000b00669c37b342bmr1544276ios.158.1655351415782; Wed, 15 Jun 2022 20:50:15 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id b3-20020a021903000000b00331b9a3c5adsm375897jab.170.2022.06.15.20.50.15 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Jun 2022 20:50:15 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 5DB7B80073B; Wed, 15 Jun 2022 22:50:14 -0500 (CDT) Date: Wed, 15 Jun 2022 22:50:14 -0500 From: Justin Pryzby To: Michael Paquier Cc: Tom Lane , Maciek Sakrejda , Robert Haas , "David G. Johnston" , Bharath Rupireddy , pgsql-hackers@lists.postgresql.org Subject: Re: warn if GUC set to an invalid shared library Message-ID: <20220616035014.GC29853@telsasoft.com> References: <164378196169.19783.12147751717180735532.pgcf@coridan.postgresql.org> <20220210015854.GV31460@telsasoft.com> <2779118.1648062143@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk I've started to think that we should really WARN whenever a (set of) GUC is set in a manner that the server will fail to start - not just for shared libraries. In particular, I think the server should also warn if it's going to fail to start like this: 2022-06-15 22:48:34.279 CDT postmaster[20782] FATAL: WAL streaming (max_wal_senders > 0) requires wal_level "replica" or "logical" -- Justin