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 1jefg5-0003Wz-Hl for pgsql-general@arkaria.postgresql.org; Fri, 29 May 2020 14:08:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jefg3-0004uP-S7 for pgsql-general@arkaria.postgresql.org; Fri, 29 May 2020 14:08:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jefg3-0004uI-J3 for pgsql-general@lists.postgresql.org; Fri, 29 May 2020 14:08:03 +0000 Received: from mail.sonicle.com ([109.168.117.71]) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jefg0-0006kF-N1 for pgsql-general@lists.postgresql.org; Fri, 29 May 2020 14:08:03 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.sonicle.com (Postfix) with ESMTP id 27C2C54B938; Fri, 29 May 2020 16:08:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sonicle.com; h= content-type:content-type:mime-version:subject:subject :references:in-reply-to:message-id:from:from:date:date:received :received; s=dkim; t=1590761280; x=1592575681; bh=JZRgEX0sMSWRqw p6/KNZp/XNzm7Ue3m2lJ0L+VKPwuk=; b=UtzVctsOEqE4PhjtDaIp3bPIdUTIVp vPpgO1ukRv+TOkfQTkcOsWrTfXR6HoqTDe3T9jUU5LUGNGZS/zX6E6pwNR7BPniP b0bXRYibJhYofMvhkurOtGDs092Z5BfVH0eXfxY86s/rnuztGM+l4cPBYo6wRmxx FOqAST5iw0NMk= Received: from www ([127.0.0.1]) by localhost (mail.sonicle.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id stqvYK8jCJp0; Fri, 29 May 2020 16:08:00 +0200 (CEST) Received: from www (www [192.168.222.200]) by www with SMTP (SubEthaSMTP 3.1.7) id KASA6ZAS; Fri, 29 May 2020 16:08:00 +0200 (CEST) Date: Fri, 29 May 2020 16:08:00 +0200 (CEST) From: Gabriele Bulfon To: Adrian Klaver , pgsql-general@lists.postgresql.org Message-ID: <2062209251.2306.1590761280051@www> In-Reply-To: <99f08a33-ab14-0315-2894-4a9f0b8a85b0@aklaver.com> References: <249521783.2243.1590759167512@www> <99f08a33-ab14-0315-2894-4a9f0b8a85b0@aklaver.com> Subject: Re: problem with self built postgres 9.0.9 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2304_996318742.1590761280050" Forwarded-From: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_2304_996318742.1590761280050 Content-Type: multipart/alternative; boundary="----=_Part_2305_470099652.1590761280050" ------=_Part_2305_470099652.1590761280050 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Amazing! Rebuilt without -O and it worked like a charm! Thanks, at the moment I need to stick to 9.0.9 on this machine to be able t= o reuse the same database files. =C2=A0 Thanks! Gabriele =C2=A0 =C2=A0 Sonicle S.r.l.=C2=A0 :=C2=A0 http://www.sonicle.com Music:=C2=A0 http://www.gabrielebulfon.com Quantum Mechanics :=C2=A0 http://www.cdbaby.com/cd/gabrielebulfon ---------------------------------------------------------------------------= ------- Da: Adrian Klaver A: Gabriele Bulfon pgsql-general@lists.postgresql.org Data: 29 maggio 2020 15.45.32 CEST Oggetto: Re: problem with self built postgres 9.0.9 On 5/29/20 6:32 AM, Gabriele Bulfon wrote: Hi, I had to build postgres 9.0.9 from sources to run it under our new XStreamOS/illumos release. First 9.0 is ~ 5 years past EOL and it ended at 9.0.23. Second this is as close as I could come to a solution: https://www.postgresql.org/message-id/17948.1365090217%40sss.pgh.pa.us Given that you say you are building against a new OS release I would look at what changed in the development stack. It used to build and run without problems in previous releases. On this, just by running initdb I get these errors: sonicle@xstorage1:/sonicle$ initdb -D /sonicle/pgdata The files belonging to this database system will be owned by user "sonicle"= . This user must also own the server process. The database cluster will be initialized with locale en_US.UTF-8. The default database encoding has accordingly been set to UTF8. The default text search configuration will be set to "english". creating directory /sonicle/pgdata ... ok creating subdirectories ... ok selecting default max_connections ... 100 selecting default shared_buffers ... 32MB creating configuration files ... ok creating template1 database in /sonicle/pgdata/base/1 ... ok initializing pg_authid ... FATAL: column is not in index child process exited with exit code 1 initdb: removing data directory "/sonicle/pgdata" Even running postgres over an already previously populated pgdata, any attempt to connect to the database results in "FATAL: column is not in index". Any idea where the problem may be? Thanks! Gabriele *Sonicle S.r.l. *: http://www.sonicle.com *Music: *http://www.gabrielebulfon.com *Quantum Mechanics : *http://www.cdbaby.com/cd/gabrielebulfon -- Adrian Klaver adrian.klaver@aklaver.com ------=_Part_2305_470099652.1590761280050 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Amazing! Rebuilt without -O and it worked like a cha= rm!
Thanks, at the moment I need to stick to 9.0.9 on this machine to = be able to reuse the same database files.
 =
Thanks= !

Gabriele

 
 
Sonic= le S.r.l. : http://www.sonicle.com



-----------------------------------------------------= -----------------------------

Da: Adrian Klaver <adrian.klave= r@aklaver.com>
A: Gabriele Bulfon <gbulfon@sonicle.com> pgsql= -general@lists.postgresql.org
Data: 29 maggio 2020 15.45.32 CEST
Oggetto: Re: problem with self built postgres 9.0.9

On 5/29/20 6:32 AM, Gabriele Bulfon wrote:
> Hi= , I had to build postgres 9.0.9 from sources to run it under our new
= > XStreamOS/illumos release.

First 9.0 is ~ 5 years past= EOL and it ended at 9.0.23.

Second this is as close as I could = come to a solution:

https://www.postgresql.org/message-id/17948.= 1365090217%40sss.pgh.pa.us

Given that you say you are building a= gainst a new OS release I would
look at what changed in the developme= nt stack.


> It used to build and run without problems i= n previous releases.
> On this, just by running initdb I get these = errors:
>
> sonicle@xstorage1:/sonicle$ initdb -D /sonicle= /pgdata
> The files belonging to this database system will be owned= by user "sonicle".
> This user must also own the server process.>
> The database cluster will be initialized with locale en= _US.UTF-8.
> The default database encoding has accordingly been set= to UTF8.
> The default text search configuration will be set to "e= nglish".
>
> creating directory /sonicle/pgdata ... ok
> creating subdirectories ... ok
> selecting default max_conne= ctions ... 100
> selecting default shared_buffers ... 32MB
>= ; creating configuration files ... ok
> creating template1 database= in /sonicle/pgdata/base/1 ... ok
> initializing pg_authid ... FATA= L: column is not in index
> child process exited with exit code 1> initdb: removing data directory "/sonicle/pgdata"
> Even r= unning postgres over an already previously populated pgdata, any
>= attempt to connect to the database results in "FATAL: column is not in > index".
> Any idea where the problem may be?
> Than= ks!
> Gabriele
>
> *Sonicle S.r.l. *: http://www.s= onicle.com <http://www.sonicle.com/>
> *Music: *http://www.ga= brielebulfon.com <http://www.gabrielebulfon.com/>
> *Quantum = Mechanics : *http://www.cdbaby.com/cd/gabrielebulfon


-- Adrian Klaver
adrian.klaver@aklaver.com


------=_Part_2305_470099652.1590761280050-- ------=_Part_2304_996318742.1590761280050--