Re: REFERENCES error message complaint, suggestion - Mailing list pgsql-general

From Bruce Momjian
Subject Re: REFERENCES error message complaint, suggestion
Date
Msg-id 200403051456.i25Eu1W05852@candle.pha.pa.us
Whole thread Raw
In response to Re: REFERENCES error message complaint, suggestion  (Enrico Weigelt <weigelt@metux.de>)
List pgsql-general
Enrico Weigelt wrote:
> * Tom Lane <tgl@sss.pgh.pa.us> [2004-03-04 11:24:11 -0500]:
>
> <snip>
> > Double quotes are for names (identifiers).  Single quotes are
> > for string literals (constants).
>
> BTW: is this general SQL syntax or just PostgeSQL ?

We follow the SQL standard on this, and I think most other vendors do as
well.

> mysql does no distinction (which is IMHO very unclean), and it gets
> even worse since mysqldump's output does it exactly the wrong way:
> identifiers in '' and string constants in "" ...

That is pretty amazing.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-general by date:

Previous
From: "beer"
Date:
Subject: Re: Trigger Update Issue
Next
From: phil campaigne
Date:
Subject: Setting up Postgresql on Linux