Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gHyfH-00032h-B6 for pgsql-general@arkaria.postgresql.org; Wed, 31 Oct 2018 22:08:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gHyfF-00024R-2y for pgsql-general@arkaria.postgresql.org; Wed, 31 Oct 2018 22:08:37 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gHyfE-00024K-Nk for pgsql-general@lists.postgresql.org; Wed, 31 Oct 2018 22:08:36 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gHyfC-0002Xo-7Z for pgsql-general@postgresql.org; Wed, 31 Oct 2018 22:08:35 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id B36BB2201E; Wed, 31 Oct 2018 18:08:32 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 31 Oct 2018 18:08:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=D Bbq/uUsjYrLGxL5+8sXn5v0Vg3z+D1DaYaontCgiAI=; b=fz/aL2hFeDO/PaF6I sGxsvsWJAXHJoFavP5h/wIdEiY8xHQ+UsBcVEkfMiHxUkijPQqKAqAbZrW+1mLiG UvU1vdg588LcawrV3bLzd29QU4ObH0gpuCICozNq5X/sUq7xwKO2XKIQDEcpZYao Pm3BrhWauOs0fS/ew876rm/UN4K/Oywxb8/uQcZPXcD9Aj8FmCqvnucNeuA5sYqC JEEnoRUs6GGygnL0MV5ts24BTIZFMSQKfOmtWktYskzu8nbVVdu2M9qLzRz+XMhA liYYFunKDbDWU5bOyVKRfxgTcatBIvujCmNBSxWBFawduQXW2OYsod/UwX18PZv1 mzVxQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=DBbq/uUsjYrLGxL5+8sXn5v0Vg3z+D1DaYaontCgi AI=; b=iJ42ROMnz64kAWI3aLhD8y+M+RqQNy7iAM7hxIKiXYUsFMjSVJz4BKmfW y7ljguwlQlNrqovX9oz2cpSN1z7qDDA6mt/5GxVEPw5GV9+iyXaX6l560a3kT97j Lnmswb0sttcRvJ8u1nk+16rEU0yPgMShHqC6IdUVQV8gwjiqwkp/eshB34TleMfL eHl9too2vMcfFqGBGicnU6oto8Fd+Q1KVkTMg2nlsUC9TuVoKUo3WWy3VraOOsYs drnVOHmtX0LlSGZxcUtEKXMaJeBh/DnkhrNmTG0NBJKnv2TNmaitndjpnptGCY8f 1WcnKkH6rzljw36LnkHcOoon1hoGQ== X-ME-Sender: X-ME-Proxy: Received: from [192.168.1.3] (unknown [71.212.134.3]) by mail.messagingengine.com (Postfix) with ESMTPA id C3ACF102E4; Wed, 31 Oct 2018 18:08:31 -0400 (EDT) Subject: Re: Broken postgres links need to find callers To: Rich Shepard , pgsql-general@postgresql.org References: <87k1ly55pu.fsf@news-spur.riddles.org.uk> <87ftwl6bve.fsf@news-spur.riddles.org.uk> From: Adrian Klaver Message-ID: <02907192-3475-98f5-1dc1-fa6b67ed65d7@aklaver.com> Date: Wed, 31 Oct 2018 15:08:31 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: 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 10/31/18 3:03 PM, Rich Shepard wrote: > On Wed, 31 Oct 2018, Andrew Gierth wrote: > >> What this says is that you somehow have a pg 10.3 binary which has been >> compiled with ./configure --datadir=/usr/share/postgresql-10.2 >> >> which seems, to say the least, somewhat odd. > > Andrew, > >   Quite odd rather than somewhat odd because the configure options in the > build script point to version 10.3, not 10.2. Well there is something strange going. From a previous post: " When I run pg_config --configure this is the result: # ./pg_config --configure '--prefix=/usr/lib/postgresql/10.2' '--sysconfdir=/etc/postgresql/10.2' '--includedir=/usr/include' '--datarootdir=/usr/share' '--mandir=/usr/man' '--docdir=/usr/doc/postgresql-10.3' '--datadir=/usr/share/postgresql-10.2' '--with-openssl' '--with-tcl' '--with-perl' '--with-python' '--with-libxml' '--with-libxslt' '--enable-thread-safety' '--with-system-tzdata=/usr/share/zoneinfo' '--disable-nls' '--build=i586-slackware-linux' 'build_alias=i586-slackware-linux' 'CFLAGS=-O2 -march=i586 -mtune=i686' 'PKG_CONFIG_PATH=/usr/lib/pkgconfig " Note '--docdir=/usr/doc/postgresql-10.3' where everything else is pointing at 10.2/ > >> pg_config isn't used by the postgres binary to find paths, so "fixing" it >> wouldn't help. The same paths that were compiled into pg_config are >> compiled into the postgres binary, and pg_config and postgres contain the >> same relocation logic. > >   Okay. > >   I'll check with the SlackBuilds.org postgresql package maintainer and > confirm that re-building and re-installing 10.3 will not adversely affect > the data/ directory. Then I'll re-build and re-install it. > >   Why it worked flawlessly until today when I modified the postgresql.conf > file to add access by another host name and then broke is also quite odd. > > Thanks, > > Rich > > -- Adrian Klaver adrian.klaver@aklaver.com