Return-Path: owner-postman
Received: from localhost (localhost [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id VAA16881 for postgres-dist; Sun, 6 Mar 1994 21:13:24 -0800
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199403070513.VAA16881@nobozo.CS.Berkeley.EDU>
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: owner-postman
Received: from faerie.CS.Berkeley.EDU (faerie.CS.Berkeley.EDU [128.32.149.14]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with ESMTP id VAA16872 for <postgres@postgres.Berkeley.EDU>; Sun, 6 Mar 1994 21:13:23 -0800
Received: from localhost (localhost [127.0.0.1]) by faerie.CS.Berkeley.EDU (8.6.4/8.1B) with SMTP id VAA03926; Sun, 6 Mar 1994 21:12:08 -0800
Message-Id: <199403070512.VAA03926@faerie.CS.Berkeley.EDU>
X-Authentication-Warning: faerie.CS.Berkeley.EDU: Host localhost didn't use HELO protocol
From: aoki@postgres.Berkeley.EDU (Paul M. Aoki)
To: yprj2167@cs.cuhk.hk (Final Year Project)
Cc: postgres@postgres.Berkeley.EDU
Subject: Re: Question about attributes of CLASS 
Reply-To: aoki@postgres.Berkeley.EDU (Paul M. Aoki)
In-reply-to: Your message of Mon, 7 Mar 94 11:39:37 +0800 
	     <9403070339.AA04436@cucs18.cs.cuhk.hk> 
Date: Sun, 06 Mar 94 21:12:08 -0800
X-Sender: aoki@postgres.Berkeley.EDU
Resent-To: postgres-dist@postgres.Berkeley.EDU
X-Mts: smtp
Resent-Date: Sun, 06 Mar 94 21:13:23 -0800
Resent-XMts: smtp

yprj2167@cs.cuhk.hk (Final Year Project) writes:
> What are the restrictions on the name of the attributes of Class ?
> I just found the syntax error if the name of the attributes was not
> started with alphabet. Are there any restrictions ? e.g. length of
> the name , etc. Thanks.

the lex syntax for identifiers (per the code -- always the most reliable 
source of info :-) is:

digit           [0-9]
letter          [_A-Za-z]
letter_or_digit [_A-Za-z0-9]

identifier      {letter}{letter_or_digit}*

this is true for all identifiers, including user names (which, as
"t-ishii" has discovered, is a botch on my part :-/)
--
  Paul M. Aoki  |  CS Div., Dept. of EECS, UCB  |  aoki@postgres.Berkeley.EDU
                |  Berkeley, CA 94720           |  ...!uunet!ucbvax!aoki
