Thread: postgresql 7.0.2-2 with phpPgAdmin & ppc

postgresql 7.0.2-2 with phpPgAdmin & ppc

From
Neil Jolly
Date:
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
----------------------------------------------------------