pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Mike Fowler <mike@mlfowler.com>
Cc: Jeff Wu <jwu@atlassian.com>
Cc: pgsql-bugs@postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: BUG #5974: UNION construct type cast gives poor error message
Date: Thu, 14 Apr 2011 16:28:40 -0500
Message-ID: <4DA720B8020000250003C856@gw.wicourts.gov> (raw)
In-Reply-To: <4DA72529.7080505@mlfowler.com>
References: <201104122018.p3CKIlWR042915@wwwmaster.postgresql.org>
	<9799.1302719551@sss.pgh.pa.us>
	<4DA711B6.4060306@mlfowler.com>
	<4DA6D50E020000250003C83A@gw.wicourts.gov>
	<4DA72529.7080505@mlfowler.com>

Mike Fowler <mike@mlfowler.com> wrote:
 
> So to summarise, Oracle and PostgreSQL need minor tweaks to run
> cleanly and SQLServer and MySQL do not.
 
The FROM DUAL in Oracle has nothing to do with the issue at hand. 
That is just because they always require a FROM clause on every
SELECT.  DUAL is a special table with one row you can use when you
just want to select a literal.
 
That means that all three of the databases you tested have
extensions to the standard similar to what is being contemplated for
PostgreSQL.  If nothing else, adding such an extension would ease
migration from those other products, but I think it would prevent
some user confusion and posts to the -bugs list, too.
 
-Kevin



view thread (20+ messages)  latest in thread

Message-ID: <4DA720B8020000250003C856@gw.wicourts.gov>
Permalink:  ../4DA720B8020000250003C856@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4DA720B8020000250003C856@gw.wicourts.gov

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, mike@mlfowler.com, jwu@atlassian.com, tgl@sss.pgh.pa.us
  Subject: Re: BUG #5974: UNION construct type cast gives poor error message
  In-Reply-To: <4DA720B8020000250003C856@gw.wicourts.gov>
  References: <201104122018.p3CKIlWR042915@wwwmaster.postgresql.org> <9799.1302719551@sss.pgh.pa.us> <4DA711B6.4060306@mlfowler.com> <4DA6D50E020000250003C83A@gw.wicourts.gov> <4DA72529.7080505@mlfowler.com> <4DA720B8020000250003C856@gw.wicourts.gov>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox