Re: porting question: funky uid names?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mark Bixby <mark(at)bixby(dot)org>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: porting question: funky uid names?
Date: 2001-03-09 22:08:04
Message-ID: 9329.984175684@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Mark Bixby <mark(at)bixby(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Bixby 2001-03-09 22:10:24 Re: porting question: funky uid names?
Previous Message Kaare Rasmussen 2001-03-09 21:58:02 Internationalized dates (was Internationalized error messages)