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 1hdz5d-0000GI-K9 for pgsql-general@arkaria.postgresql.org; Thu, 20 Jun 2019 15:35:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hdz5c-0000LG-GS for pgsql-general@arkaria.postgresql.org; Thu, 20 Jun 2019 15:35:04 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hdz5b-0000L9-Vq for pgsql-general@lists.postgresql.org; Thu, 20 Jun 2019 15:35:04 +0000 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hdz5Z-0005uj-4a for pgsql-general@lists.postgresql.org; Thu, 20 Jun 2019 15:35:02 +0000 Received: by mail-pg1-x543.google.com with SMTP id 145so1780114pgh.4 for ; Thu, 20 Jun 2019 08:35:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=n8cpNO2OJ69fJOSzGezy5IS97hpMXtBpU9d1pMqVnfM=; b=K1RxaU/Rqgqt/sOPh77ryvlFwNcRWc320YkMxVy/7hq926JX9mDuBlEnHCDANqJC/N s2ZTXtBM8ybR4DoUswEIeY2tH2y7G2azSBZhgXys4rEGmxjJcPQ0/uXqyWSTSsploHWE 2y+v+vtB3ABupGdoWmUFKrTYb3ITU075jJ9BLVVjn2JM3F/pVQXiQk18tGTtER7qKwFj QC0HfLpB9iQxyMs7nHmrE3PrFIjg65CXvpnjTAJr8OYHFUVu8M/88r/UqTvyZ9syoxsf Xt1sFZ33x4AIDBW90JdBfN/JYceVk8MzbIKk0sVKCIMHO+sjPnMy4YvDEqFKClxrklFn mwlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=n8cpNO2OJ69fJOSzGezy5IS97hpMXtBpU9d1pMqVnfM=; b=IY9+KgtDVjkK2942UisS8ZDL7CSoMrz7AJHQdP6WYbp0N/GtGeEUOG+Lx8fyuheMQe aIRzqekohPJfZIIToaefAZDDlcA3omEv1UCApISR14k0Ls8bncvSDy2fPV6OKGt824T6 GJyAktAOaWnY8t1e79yzrFvj0llWqqTbmQZhrMiuUOp3fB4zuNy8Hdp+bMiBDa69AHDq olviVCfDl4Krwfy9OdcqW36PYjNJPrJWbRlqhaAtXa5jslyj+VIMU+BbBKoNzykMXBo2 1SoVXNkap/4XmHuJNPwqG+o9UQTkpTKXE9nD7HjI5uLCJocmMN6l9N2vfKQBBSYT8zs2 Td/A== X-Gm-Message-State: APjAAAXYDih3nChB02VVRJ3kKz1Sc22RnYtzYrr96Htspkgdc3BPEYix 7Fq2KKkP9qaE3B+umYdjG738DAkUS+lDfGkFvktC5dG5cR+tiQREIv50gQYtICNSPECoDi5medf XGn6JYcIfAGRiOw70xQ4Bf7hxmvKu+JShnW71WHne/Zorhi6H/jiA7KbVn3Fjejplwd4HP51NEG yU1fRs1VqokSwzhvgO2UQF X-Google-Smtp-Source: APXvYqxAgk4IrjghAkxFEpqPsUas/EpSZ0oONsenLljTvngFlpN9YZZUmicg8WF/TPmAhENnlV3uUQ== X-Received: by 2002:a62:303:: with SMTP id 3mr14692246pfd.118.1561044899221; Thu, 20 Jun 2019 08:34:59 -0700 (PDT) Received: from osaka.octopusnet (p14091-ipngn9701marunouchi.tokyo.ocn.ne.jp. [153.219.173.91]) by smtp.gmail.com with ESMTPSA id y11sm23940528pfb.119.2019.06.20.08.34.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Jun 2019 08:34:58 -0700 (PDT) Subject: Re: [EXT EMAIL] Re: First Time Starting Up PostgreSQL and Having Problems To: Tom Lane , Brent Bates Cc: "pgsql-general@lists.postgresql.org" References: <21255.1560973885@sss.pgh.pa.us> <23419.1560977391@sss.pgh.pa.us> <8e91d3bb-bdfd-5394-02a0-5288317f7e61@gmail.com> <87blyt18mm.fsf@news-spur.riddles.org.uk> <83665778.11249317.1561022638471@mail.yahoo.com> <8328.1561042535@sss.pgh.pa.us> From: Ian Barwick Message-ID: <249c7bcb-6ddb-1783-154f-d66ae5d7f48f@2ndquadrant.com> Date: Fri, 21 Jun 2019 00:34:55 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <8328.1561042535@sss.pgh.pa.us> 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 6/20/19 11:55 PM, Tom Lane wrote: > Brent Bates writes: >> I found the problem. I cleared everything out and started from scratch, then slowly added my changes back to the configuration files. The problem was in the postgresql.conf. At the bottom of the file I had uncommented all the ‘include’ lines, so they looked like this: >> include_dir = '' # include files ending in '.conf' from >> # a directory, e.g., 'conf.d' >> include_if_exists = '' # include file only if it exists >> include = '' # include file > >> The first one is what caused all the headaches. I recommented out these lines and everything works now. Thanks for all the quick suggestions. > > Ah-hah! I wonder if we should disallow empty values for these GUCs? > And/or put in some kind of test for recursive opening of the same > config file? I don't think it'd occurred to anyone that it's this > easy to get the code to try to do that. Funnily enough I was looking at that code the other day for totally other reasons and vaguely wondered if there was any potential for circular inclusions and the like. There's a check for nesting depth, but I'm not sure what else. I could take a look in the next few days if no-one else wants to. Regards Ian Barwick -- Ian Barwick https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services