postgresql 7.0.2-2 with phpPgAdmin & ppc

From: Neil Jolly <njolly(at)home(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: postgresql 7.0.2-2 with phpPgAdmin & ppc
Date: 2000-10-03 02:50:09
Message-ID: 39D94961.ABDB0BD1@home.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Postgresql works fine using psql, but when trying to
create, update, or insert with phpPgAdmin, I get an error messageas
follows:

PostgreSQL said: ERROR: getattproperties: no attribute tuple 1259 -2

The fix for this problem was suggested by Corey Minyard
<minyard(at)acm(dot)org>.

When you compile postgresql7 for the PowerPC, you need to apply the
"alpha" patches to the PowerPC as well. There are some lines that say:

%ifarch alpha
%patch0 -p1
%endif

in the postgresql.spec file (assuming you compiled it that way). You
need to change it to:

%ifarch alpha ppc
%patch0 -p1
%endif

I'm not sure if you folks are aware of this or not, but the ppc rpms on
your site are broken as well. Compiling as suggested above fixs this
problem.
--
"Computers let you make more mistakes faster than any other
invention in human history, with the possible exception of
handguns and tequila."

Mitch Radcliffe

Neil Jolly
----------------------------------------------------------
http://www.members.home.net/njolly/xppc/index.htm
----------------------------------------------------------

Browse pgsql-ports by date

  From Date Subject
Next Message Emils Klotins 2000-10-03 10:14:39 Re: Q: spinlock on Alpha? (PG7.0.2) - solved
Previous Message Bruce Momjian 2000-10-02 17:14:23 Re: BeOS port - files part 1