Re: last comma inside "CREATE TABLE ()" statements - Mailing list pgsql-general

From Alex Pilosov
Subject Re: last comma inside "CREATE TABLE ()" statements
Date
Msg-id Pine.BSO.4.10.10104221208000.17529-100000@spider.pilosoft.com
Whole thread Raw
In response to last comma inside "CREATE TABLE ()" statements  (Louis-David Mitterrand <vindex@apartia.ch>)
List pgsql-general
On Sun, 22 Apr 2001, Louis-David Mitterrand wrote:

> Is it against the SQL standard to accept a trailing comma in a table
> declaration?
Yes it is.

> CREATE TABLE "currency" (
>     currency_id varchar(3),
>     rate float, <-------------------- BOOM! parse error
> );
>
> As in perl, it would make life easier to simply ignore/accept a trailing
> comma on table declarations.
Yeah it would, wouldn't it? ;)

-laex


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: Trusted plperl
Next
From: Tom Lane
Date:
Subject: Re: last comma inside "CREATE TABLE ()" statements