| От | Andrew Sullivan |
|---|---|
| Тема | Re: rationale behind quotes for camel case? |
| Дата | |
| Msg-id | 20110628141113.GB4642@shinkuro.com обсуждение |
| Ответ на | Re: rationale behind quotes for camel case? (John R Pierce <pierce@hogranch.com>) |
| Список | pgsql-general |
On Tue, Jun 28, 2011 at 04:00:42AM -0700, John R Pierce wrote: > capitals (probably reflecting its 1980s IBM origins), but PG decided > a long time ago to default to lower case, since the final result has > the same effect. Well, it _sort of_ has the same effect. In a traditional SQL environment, if you use TABLENAME and "TABLENAME", they're equivalent, but tablename and "TABLENAME" are not. In PostgreSQL, that doesn't work: tablename and "tablename" are equivalent instead. This sometimes bites people when moving to Postgres, because their identifier quoting hasn't been consistent in their application. A -- Andrew Sullivan ajs@anvilwalrusden.com
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера