| От | Eric G. Miller |
|---|---|
| Тема | Re: Table names / mixed case / Postgresql 7.0.3 |
| Дата | |
| Msg-id | 20010413194501.C31869@calico.local обсуждение исходный текст |
| Ответ на | Table names / mixed case / Postgresql 7.0.3 (Mathias Hohler <hohler@lasercomb.com>) |
| Список | pgsql-general |
On Thu, Apr 12, 2001 at 11:41:07AM +0200, Mathias Hohler wrote: > Hello, > > I think I`ve encoutered a problem in postgresql 7.0.3 (Linux). I want to > be able to access tables, for instance, by typing select * from table. > And it should be the same, whether the table name is TABLE or Table or > table. But I found out, that you can create tables with the name TABLE > or table and so on. Is there a way to fix this ? > Maybe I`m wrong ? Using double quotes around table names and column names makes them case sensitive. Better to not do such a dastardly thing in the first place. Otherwise they are all lowercased (as are queries provided the identifier isn't quoted). -- Eric G. Miller <egm2@jps.net>
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера