Re: [BUGS] BUG #6729: Install of postgresql-devel for x86_84 and i686 fails

2012-07-12 Thread Yogesh_Sharma
What about following: %ifarch x86_64 %define PGLIBDIR lib64 %else %define PGLIBDIR lib %endif In %install use /usr/pgsql-9.1/%{LIBDIR}/ same in %files pg_config impacted ? Thanks, Yogesh Sharma Devrim GÜNDÜZ wrote on 07/12/2012 01:42:56 PM: > > Hi, > > On Thu, 2012-07-12 at 16:36 -0400,

Re: [BUGS] BUG #6729: Install of postgresql-devel for x86_84 and i686 fails

2012-07-12 Thread Yogesh_Sharma
Hi Devrim, How things are going, long time since we exchanged any email. May be different lib folders can be used: /usr/pgsql-9.1/lib/libecpg.a /usr/pgsql-9.1/lib64/libecpg.a glibc-devel.i686 and glibc-devel.x86_64 does similar thing. rpm -ql glibc-devel.i686 |grep .a$ /usr/lib/libbsd-compat.a

Re: [BUGS] BUG #6733: All Tables Empty After pg_upgrade (PG 9.2.0 beta 2)

2012-07-12 Thread Bruce Momjian
On Thu, Jul 12, 2012 at 05:21:31PM -0700, Mike Wilson wrote: > This can be closed. I figured out what I was doing wrong, which was > after the conversion I was cleaning up the old datadir by deleting it, > which destroyed the hard links to the data since I am using pg_upgrade > --link Uh, actuall

Re: [BUGS] BUG #6733: All Tables Empty After pg_upgrade (PG 9.2.0 beta 2)

2012-07-12 Thread Mike Wilson
This can be closed. I figured out what I was doing wrong, which was after the conversion I was cleaning up the old datadir by deleting it, which destroyed the hard links to the data since I am using pg_upgrade --link Mike Wilson On Jul 12, 2012, at 3:49 PM, Bruce Momjian wrote: > On Thu, Jul

Re: [BUGS] BUG #6732: Build issue when using gettext on FreeBSD 9

2012-07-12 Thread Christian Ullrich
* Christian Ullrich wrote: I think I have a pretty good fix: Early in configure, see if the linker understands --no-copy-dt-needed-entries, or alternatively --no-add-needed (which is a deprecated name for the same thing). This is the "light" version of --as-needed: It does not discard unneeded l

Re: [BUGS] BUG #6732: Build issue when using gettext on FreeBSD 9

2012-07-12 Thread Christian Ullrich
* Tom Lane wrote: ch...@chrullrich.net writes: Could we make the problem go away for you if we changed the order in which these libraries are probed for? That's a hack, surely, but it seems like one much less likely to break other working cases than any of the alternatives you suggest. To

Re: [BUGS] BUG #6733: All Tables Empty After pg_upgrade (PG 9.2.0 beta 2)

2012-07-12 Thread Bruce Momjian
On Thu, Jul 12, 2012 at 06:44:06PM -0400, Tom Lane wrote: > mfwil...@gmail.com writes: > > This runs without errors and I am able to start the new upgraded PG92beta2 > > cluster. The schemas appear to be correct as well as the table definitions > > and other schema objects. The tables themselves

Re: [BUGS] BUG #6733: All Tables Empty After pg_upgrade (PG 9.2.0 beta 2)

2012-07-12 Thread Bruce Momjian
On Thu, Jul 12, 2012 at 10:16:18PM +, mfwil...@gmail.com wrote: > The following bug has been logged on the website: > > Bug reference: 6733 > Logged by: Mike Wilson > Email address: mfwil...@gmail.com > PostgreSQL version: 9.1.4 > Operating system: Solaris 10 > Description

Re: [BUGS] BUG #6733: All Tables Empty After pg_upgrade (PG 9.2.0 beta 2)

2012-07-12 Thread Tom Lane
mfwil...@gmail.com writes: > This runs without errors and I am able to start the new upgraded PG92beta2 > cluster. The schemas appear to be correct as well as the table definitions > and other schema objects. The tables themselves though are all empty. Hmm, maybe it's confused about XID past/fut

[BUGS] BUG #6733: All Tables Empty After pg_upgrade (PG 9.2.0 beta 2)

2012-07-12 Thread mfwilson
The following bug has been logged on the website: Bug reference: 6733 Logged by: Mike Wilson Email address: mfwil...@gmail.com PostgreSQL version: 9.1.4 Operating system: Solaris 10 Description: Filing this under PG914 since there isn't an option for PG9.2beta2. Poss

Re: [BUGS] BUG #6729: Install of postgresql-devel for x86_84 and i686 fails

2012-07-12 Thread Devrim GÜNDÜZ
Hi, On Thu, 2012-07-12 at 16:36 -0400, Tom Lane wrote: > Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= writes: > > It is not a bug, but it might be a missing feature (and I'm not sure > how > > to fix it :-) ) > > It's fairly common for -devel packages of different architectures to > conflict. If you wer

Re: [BUGS] BUG #6729: Install of postgresql-devel for x86_84 and i686 fails

2012-07-12 Thread Tom Lane
Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= writes: > It is not a bug, but it might be a missing feature (and I'm not sure how > to fix it :-) ) It's fairly common for -devel packages of different architectures to conflict. If you were to try to fix it, you'd likely need the 64-bit versions to install th

Re: [BUGS] BUG #6729: Install of postgresql-devel for x86_84 and i686 fails

2012-07-12 Thread Devrim GÜNDÜZ
Hi, It is not a bug, but it might be a missing feature (and I'm not sure how to fix it :-) ) Regards, On Wed, 2012-07-11 at 23:16 +, ysha...@cymer.com wrote: > The following bug has been logged on the website: > > Bug reference: 6729 > Logged by: Yogesh Sharma > Email address

Re: [BUGS] BUG #6732: Build issue when using gettext on FreeBSD 9

2012-07-12 Thread Tom Lane
ch...@chrullrich.net writes: > PostgreSQL 9.1 does not build on FreeBSD 9 if --enable-nls and a Heimdal > Kerberos build from ports is used. The build fails due to undefined > references to functions from gettext's libintl. Ugh. > Proposed workaround: Do not use --as-needed at all. Not really ac

[BUGS] BUG #6732: Build issue when using gettext on FreeBSD 9

2012-07-12 Thread chris
The following bug has been logged on the website: Bug reference: 6732 Logged by: Christian Ullrich Email address: ch...@chrullrich.net PostgreSQL version: 9.1.4 Operating system: FreeBSD 9 Description: PostgreSQL 9.1 does not build on FreeBSD 9 if --enable-nls and a H

[BUGS] BUG #6729: Install of postgresql-devel for x86_84 and i686 fails

2012-07-12 Thread ysharma
The following bug has been logged on the website: Bug reference: 6729 Logged by: Yogesh Sharma Email address: ysha...@cymer.com PostgreSQL version: 9.1.4 Operating system: CentOS 6.3 Description: For compilation of 64bit as well 32bit program I am trying to install bo