pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Etienne Robillard <erob@gthcfoundation.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@commandprompt.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5937: initdb: FATAL error: could not open relation with OID 2608
Date: Tue, 22 Mar 2011 18:48:26 -0400
Message-ID: <4D89273A.3000702@gthcfoundation.org> (raw)
In-Reply-To: <8545.1300832797@sss.pgh.pa.us>
References: <201103211151.p2LBpQAh071852@wwwmaster.postgresql.org>
	<22484.1300719639@sss.pgh.pa.us>
	<4D876EBD.9060502@gthcfoundation.org>
	<1300805338-sup-6980@alvh.no-ip.org>
	<4D892148.5000400@gthcfoundation.org>
	<8545.1300832797@sss.pgh.pa.us>

On 22/03/11 06:26 PM, Tom Lane wrote:
>
> I'd bet on that being the issue.  How recent is your copy of llvm?
> We know that llvm produced bad code for PG up till not too long ago
> (maybe a year, I'm not sure).
>
> 			regards, tom lane
>   
$ llvm-gcc --version
llvm-gcc (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Definitely the error was the --with-CC=llvm-gcc option. I wonder if
clang would produces
the same results..

Regards,

-- 
Etienne Robillard

Company: Green Tea Hackers Club
Occupation: Software Developer (and CEO)
E-mail:     erob@gthcfoundation.org
Work phone: 450-936-2123
Website (Company):  https://gthc.org/
Website (Blog):     https://gthc.org/blog/
PGP public key fingerprint:    F2A9 32EA 8E7C 460F 1728  A1A7 649C 7F17 A086 DDEC

During times of universal deceit, telling the truth becomes a revolutionary act. -- George Orwell 

If a free society cannot help the many who are poor, it cannot save the few who are rich. -- John F. Kennedy




view thread (7+ messages)

Message-ID: <4D89273A.3000702@gthcfoundation.org>
Permalink:  ../4D89273A.3000702@gthcfoundation.org/
Also on:    postgresql.org/message-id/4D89273A.3000702@gthcfoundation.org

 · 

reply

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-bugs@postgresql.org
  Cc: erob@gthcfoundation.org, tgl@sss.pgh.pa.us, alvherre@commandprompt.com
  Subject: Re: BUG #5937: initdb: FATAL error: could not open relation with OID 2608
  In-Reply-To: <4D89273A.3000702@gthcfoundation.org>
  References: <201103211151.p2LBpQAh071852@wwwmaster.postgresql.org> <22484.1300719639@sss.pgh.pa.us> <4D876EBD.9060502@gthcfoundation.org> <1300805338-sup-6980@alvh.no-ip.org> <4D892148.5000400@gthcfoundation.org> <8545.1300832797@sss.pgh.pa.us> <4D89273A.3000702@gthcfoundation.org>

* 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