Re: Old source code needed - Mailing list pgsql-general

From Jan de Visser
Subject Re: Old source code needed
Date
Msg-id 565867B4.6090200@de-visser.net
Whole thread Raw
In response to Re: Old source code needed  (NTPT <NTPT@seznam.cz>)
Responses Re: Old source code needed
List pgsql-general

On 2015-11-27 4:31 AM, NTPT wrote:
> Thanx for help,  I grab the source code  that match old cluster fs
> backup.
>
> However: Should it run fine compiled  with recent gcc 4.9.3 ?

You realize how old 9.0 is, right? And you understand how nonsensical
your question is? How can you guarantee that code compiles properly on a
compiler which is released years after you write the code?

>
> while compiled with this gcc , I got a lot of strange errors like
>
> ERROR:  could not identify an ordering operator for type name at
> character 3336
> HINT:  Use an explicit ordering operator or modify the query.
>
> with \dt or \list  or other  commands and select.
>
>
> Hovever compiling it with gcc 3.4.6 and everythig works.
>
> Is it intended (expected) behavior or a compiller bug (Being on
> Gentoo, compiller bug scary me a lot).
>
> thanx
>

jan


pgsql-general by date:

Previous
From: Benedikt Grundmann
Date:
Subject: Re: Problems with pg_upgrade after change of unix user running db.
Next
From: Adrian Klaver
Date:
Subject: Re: Old source code needed