Re: REFERENCES error message complaint, suggestion

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: REFERENCES error message complaint, suggestion
Дата
Msg-id 200403051456.i25Eu1W05852@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: REFERENCES error message complaint, suggestion  (Enrico Weigelt <weigelt@metux.de>)
Список 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 по дате отправления:

Предыдущее
От: "beer"
Дата:
Сообщение: Re: Trigger Update Issue
Следующее
От: phil campaigne
Дата:
Сообщение: Setting up Postgresql on Linux