Return-Path: owner-postman Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id IAA01063 for postgres-redist; Wed, 29 Jun 1994 08:37:28 -0700 Resent-From: POSTGRES mailing list Resent-Message-Id: <199406291537.IAA01063@nobozo.CS.Berkeley.EDU> X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol Sender: owner-postman@postgres.Berkeley.EDU X-Return-Path: owner-postman Received: from ks.mpi-dortmund.mpg.de (ks.mpi-dortmund.mpg.de [141.5.68.16]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id IAA01053 for ; Wed, 29 Jun 1994 08:37:03 -0700 Received: from dl.mpi-dortmund.mpg.de by ks.mpi-dortmund.mpg.de (4.1/SMI-4.1MHS-mpi-1.4.93) id AA06163; Wed, 29 Jun 94 17:36:40 +0200 Received: by dl.mpi-dortmund.mpg.de (4.1/SMI-4.1-mpi-30.3.93) id AA13564; Wed, 29 Jun 94 17:36:38 +0200 Date: Wed, 29 Jun 94 17:36:38 +0200 From: joerg.plewe@mpi-dortmund.mpg.de (J.Plewe) Message-Id: <9406291536.AA13564@dl.mpi-dortmund.mpg.de> To: postgres@postgres.Berkeley.EDU Subject: create: syntax error Resent-To: postgres-redist@postgres.Berkeley.EDU Resent-Date: Wed, 29 Jun 94 08:37:27 -0700 Resent-XMts: smtp Sigh, I'm quite new to Postgres and this may be the reason for having so much problems. Sorry. Now I failed with a create-statement and don't know why: /* Definition der Klasse mvd_visfunc */ destroy mvd_visfunc \g create mvd_visfunc ( classid = int4, function = text, classname = text, attribute = text ) \g Query sent to backend is "create mvd_visfunc ( classid = int4, function = text, classname = text, attribute = text ) " WARN:Jun 29 15:25:33:parser: syntax error at or near "function" When I replace 'function' against 'funcname' it works. Why?? - Joerg ********************************************************************* Dipl. Phys. Joerg Plewe joerg.plewe@mpi-dortmund.mpg.de MPI fuer molekulare Physiologie Rheinlanddamm 201 44139 Dortmund Germany +49 (0)231 1206 384 ********************************************************************* ============================================================================== To add/remove yourself to/from the POSTGRES mailing list: send mail with the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU" If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and a human will deal with it. DO NOT post to the "postgres" mailing list. ==============================================================================