Re: last comma inside "CREATE TABLE ()" statements

From: "Mitch Vincent" <mitch(at)venux(dot)net>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: last comma inside "CREATE TABLE ()" statements
Date: 2001-04-22 18:48:36
Message-ID: 005101c0cb5c$d6d7f1c0$0200000a@windows
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> I suppose it isn't a major problem, but enforcing strict grammar
> helps to show up inadvertent errors. Suppose I have a set of schema
> building files for a whole system; the way I do things, there may be fifty
> or more files, one per table. If one of these gets corrupted in editing
> (perhaps a line gets deleted by mistake) it would be nice to know about it
> through a parser error. Of course, an error may be such that the parser
> won't detect it, but why remove protection by gratuitously departing from
> the standard?

I agree -- while it would be a huge problem, it's a matter of following
the rules.. I don't see any reason why we can't expect users to follow the
proper syntax rules.. I missed the first post so I don't know how the person
who posted this was actually putting the comma there -- perhaps there was a
good reason for it..

Just my $0.02 worth..

-Mitch

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Richardson 2001-04-22 18:53:37 sysconfdir
Previous Message Oliver Elphick 2001-04-22 18:44:46 Re: last comma inside "CREATE TABLE ()" statements