postgresql 7.0.2-2 with phpPgAdmin & ppc - Mailing list pgsql-ports

From Neil Jolly
Subject postgresql 7.0.2-2 with phpPgAdmin & ppc
Date
Msg-id 39D94961.ABDB0BD1@home.com
Whole thread Raw
List 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@acm.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
----------------------------------------------------------

pgsql-ports by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Patch to FAQ_SCO for PostgreSQL 7.1
Next
From: Neil Jolly
Date:
Subject: postgresql 7.0.2-2 with phpPgAdmin & ppc