Re: [PORTS] alpha/64bit & mkoidname problem (fwd)

Поиск
Список
Период
Сортировка
От Brett McCormick
Тема Re: [PORTS] alpha/64bit & mkoidname problem (fwd)
Дата
Msg-id 13562.2518.83019.581903@abraxas.scene.com
обсуждение исходный текст
Список pgsql-hackers
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:

> 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

В списке pgsql-hackers по дате отправления:

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: [DOCS] Re: [HACKERS] Re: [QUESTIONS] varchar vs text
Следующее
От: ocie@paracel.com
Дата:
Сообщение: Re: [HACKERS] Is "CREATE DOMAIN" in 6.3 ??