Re: porting question: funky uid names?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: porting question: funky uid names?
Дата
Msg-id 9329.984175684@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: porting question: funky uid names?  (Mark Bixby <mark@bixby.org>)
Список pgsql-hackers
Mark Bixby <mark@bixby.org> writes:
> Tom Lane wrote:
>> But none of these fully explain Mark's problem.  If we knew where the
>> "syntax error 25 : -> ." came from, we'd be closer to an answer.

> After scanning the source for "syntax error", line 126 of
> backend/bootstrap/bootscanner.l seems to be the likely culprit.

Oh, of course: foo.bar is not a single token to the boot scanner.
It needs to be in quotes.  Try this patch (line numbers are for 7.1
but probably OK for 7.0.*)

*** src/include/catalog/pg_shadow.h~    Wed Jan 24 16:01:30 2001
--- src/include/catalog/pg_shadow.h     Fri Mar  9 16:57:53 2001
***************
*** 73,78 ****  * user choices.  * ----------------  */
! DATA(insert OID = 0 ( POSTGRES PGUID t t t t _null_ _null_ ));
 #endif         /* PG_SHADOW_H */
--- 73,78 ----  * user choices.  * ----------------  */
! DATA(insert OID = 0 ( "POSTGRES" PGUID t t t t _null_ _null_ ));
 #endif         /* PG_SHADOW_H */


You'll need to rebuild global.bki (over in src/backend/catalog)
afterwards, but the executables don't change.
        regards, tom lane


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

Предыдущее
От: Kaare Rasmussen
Дата:
Сообщение: Internationalized dates (was Internationalized error messages)
Следующее
От: Mark Bixby
Дата:
Сообщение: Re: porting question: funky uid names?