pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jonathan Gennick <jgennick@oreilly.com>
To: Jan Wieck <JanWieck@Yahoo.com>
Cc: Jeff Davis <jdavis-pgsql@empires.org>
Cc: SCassidy@overlandstorage.com
Cc: pgsql-advocacy@postgresql.org
Subject: Re: [GENERAL] Oracle buys Innobase
Date: Fri, 21 Oct 2005 11:40:25 -0400
Message-ID: <115271350861.20051021114025@oreilly.com> (raw)
In-Reply-To: <4358FB57.7000809@Yahoo.com>
References: <OFBE456C34.0104A41E-ON8825709F.0058F6F8-8825709F.005C9F73@overlandstorage.com>
	<43588398.9050100@empires.org>
	<4358FB57.7000809@Yahoo.com>

I hope it's ok if I jump in here. I am having a difficult time
following Jan's logic:

JW> The Restrictions for Entry level SQL say that

JW>          a) A <general literal> shall not be a <national character string
JW>            literal>.

JW>          b) A <general literal> shall not be a <datetime literal> or
JW>            <interval literal>.

JW> There are no restrictions that say a <general literal> cannot be a 
JW> <numeric literal>.

I just took a look at my copy of SQL:2003, and I do agree that there
is no rule per se stating that "a <general literal>" cannot be a <numeric
literal>". However, I also find nothing to indicate that a <general
literal> *can* be a <numeric literal>. Looking at the definition for
<general literal>, I see:

<general literal> ::=
<character string literal>
| <national character string literal>
| <Unicode character string literal>
| <binary string literal>
| <datetime literal>
| <interval literal>
| <boolean literal>

I see seven possible manifestations of a general literal (<boolean
literal>, <interval literal>, and so forth). None of these
manifestations has to do with numeric values.

I see numeric literals defined as follows:

<signed numeric literal> ::= [ <sign> ] <unsigned numeric literal>

<unsigned numeric literal> ::=
<exact numeric literal>
| <approximate numeric literal>

And, digging down further, I see no quotes anywhere in the
definitions.



view thread (241+ messages)  latest in thread

Message-ID: <115271350861.20051021114025@oreilly.com>
Permalink:  ../115271350861.20051021114025@oreilly.com/
Also on:    postgresql.org/message-id/115271350861.20051021114025@oreilly.com

 · 

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-general@postgresql.org
  Cc: jgennick@oreilly.com, JanWieck@Yahoo.com, jdavis-pgsql@empires.org, SCassidy@overlandstorage.com, pgsql-advocacy@postgresql.org
  Subject: Re: [GENERAL] Oracle buys Innobase
  In-Reply-To: <115271350861.20051021114025@oreilly.com>
  References: <OFBE456C34.0104A41E-ON8825709F.0058F6F8-8825709F.005C9F73@overlandstorage.com> <43588398.9050100@empires.org> <4358FB57.7000809@Yahoo.com> <115271350861.20051021114025@oreilly.com>

* 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