From: Ian Barwick <ian.barwick@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Brent Bates <BBates@langleyfcu.org>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: [EXT EMAIL] Re: First Time Starting Up PostgreSQL and Having Problems
Date: Fri, 21 Jun 2019 00:34:55 +0900
Message-ID: <249c7bcb-6ddb-1783-154f-d66ae5d7f48f@2ndquadrant.com> (raw)
In-Reply-To: <8328.1561042535@sss.pgh.pa.us>
References: <CY4PR1301MB22001D3FAAB3499C5D41DE23A9E50@CY4PR1301MB2200.namprd13.prod.outlook.com>
<21255.1560973885@sss.pgh.pa.us>
<CY4PR1301MB2200377D6725169DE4F2EFF8A9E50@CY4PR1301MB2200.namprd13.prod.outlook.com>
<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>
<CY4PR1301MB2200049B776A33C559EBA2AFA9E40@CY4PR1301MB2200.namprd13.prod.outlook.com>
<8328.1561042535@sss.pgh.pa.us>
On 6/20/19 11:55 PM, Tom Lane wrote:
> Brent Bates <BBates@langleyfcu.org> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: ian.barwick@2ndquadrant.com, tgl@sss.pgh.pa.us, BBates@langleyfcu.org
Subject: Re: [EXT EMAIL] Re: First Time Starting Up PostgreSQL and Having Problems
In-Reply-To: <249c7bcb-6ddb-1783-154f-d66ae5d7f48f@2ndquadrant.com>
References: <CY4PR1301MB22001D3FAAB3499C5D41DE23A9E50@CY4PR1301MB2200.namprd13.prod.outlook.com> <21255.1560973885@sss.pgh.pa.us> <CY4PR1301MB2200377D6725169DE4F2EFF8A9E50@CY4PR1301MB2200.namprd13.prod.outlook.com> <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> <CY4PR1301MB2200049B776A33C559EBA2AFA9E40@CY4PR1301MB2200.namprd13.prod.outlook.com> <8328.1561042535@sss.pgh.pa.us> <249c7bcb-6ddb-1783-154f-d66ae5d7f48f@2ndquadrant.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox