alpha/64bit & mkoidname problem

Started by Brett McCormickalmost 28 years ago3 messages
#1Brett McCormick
brett@work.chicken.org

I'm willing to throw some time towards this -- is there anyone who is
currently investigating this? please drop me an e-mail. also, if I
could be informed of progress to date/underlying issues that we know
about that would be great.

thanks in advance,
--brett

#2Bruce Momjian
maillist@candle.pha.pa.us
In reply to: Brett McCormick (#1)
Re: [PORTS] alpha/64bit & mkoidname problem

I'm willing to throw some time towards this -- is there anyone who is
currently investigating this? please drop me an e-mail. also, if I
could be informed of progress to date/underlying issues that we know
about that would be great.

I have no idea where we stand on the alpha issues, alpha/linux and
alpha/dec unix.

-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)
#3Brett McCormick
brett@work.chicken.org
In reply to: Bruce Momjian (#2)
Re: [PORTS] alpha/64bit & mkoidname problem (fwd)

From the calls to postgres in initdb, correct? Has anyone come up

with a decent way of wrapping gdb around postgres in initdb?

Here's what I've got so far -- A file called doit.gdb with the contents:

break DefineIndex
run -boot -C -F -D/usr/local/pgsql/data -d template1

and I've been experimenting with things like this:

cat $TEMPLATE \
| sed -e "s/postgres PGUID/$POSTGRES_SUPERUSERNAME $POSTGRES_SUPERUID/" \
-e "s/NAMEDATALEN/$NAMEDATALEN/g" \
-e "s/OIDNAMELEN/$OIDNAMELEN/g" \
-e "s/PGUID/$POSTGRES_SUPERUID/" \

/tmp/fifo &

echo foo
gdb -batch -tty /tmp/fifo -x /tmp/doit.gdb postgres

the above certainly doesn't work, and I've gotten it more functional
than this, but never actually functional. If I had better knowledge
of named pipes that would certainly help.

It doesn't look like I'll be able to take care of this by release date
(today, tomorrow)..

Does this mean that alpha is not supported?

On Thu, 26 February 1998, at 11:36:36, Vadim B. Mikheev wrote:

Show quoted text

Try to set break point inside defind.c:DefineIndex() and continue with 's'
after got there... This is also good to check that args of DefineIndex()
are Ok - look @ bootparse.y how they get values...

You have to find place where backend tries to get OID of index function name
(mkoidname).

Vadim