Re: Observed an issue in CREATE TABLE syntax

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Rajeev rastogi <rajeev(dot)rastogi(at)huawei(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Observed an issue in CREATE TABLE syntax
Date: 2014-04-04 14:39:35
Message-ID: 6551.1396622375@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Rajeev rastogi <rajeev(dot)rastogi(at)huawei(dot)com> writes:
> Should we not throw error for above syntaxes?

No. There's nothing wrong with those statements, and complaining about
them will accomplish nothing except to break applications that used to
work. Admittedly, code that generates such declarations would be a bit
sloppy, but people won't thank us for breaking it.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2014-04-04 14:44:46 Re: tests for client programs
Previous Message Heikki Linnakangas 2014-04-04 14:32:08 pgsql: In checkpoint, move the check for in-progress xacts out of criti