Re: Is this logical? - Mailing list pgsql-general

From Tom Lane
Subject Re: Is this logical?
Date
Msg-id 29796.1157852096@sss.pgh.pa.us
Whole thread Raw
In response to Re: Is this logical?  ("Behrang Saeedzadeh" <behrangsa@gmail.com>)
List pgsql-general
"Behrang Saeedzadeh" <behrangsa@gmail.com> writes:
> Actually I read in a blog that this works in PostgreSQL (the author
> expected this) and not in MySQL. But to me, the way MySQL is handling
> this looks more reasonable.

MySQL's way of doing things is seldom reasonable.  In the example
given, they are clearly inventing a default value out of thin air.
There is *no* support for that in the SQL spec.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: How to use SPI_saveplan
Next
From: Ron Johnson
Date:
Subject: Re: Is this logical?