Re: Unexpected result from selecting an aliased but non-existing column called "name"
В списке pgsql-general по дате отправления:
| От | Adrian Klaver |
|---|---|
| Тема | Re: Unexpected result from selecting an aliased but non-existing column called "name" |
| Дата | |
| Msg-id | 201003090621.09130.adrian.klaver@gmail.com обсуждение исходный текст |
| Ответ на | Unexpected result from selecting an aliased but non-existing column called "name" (Ian Barwick <barwick@gmail.com>) |
| Ответы |
Re: Unexpected result from selecting an aliased but
non-existing column called "name"
|
| Список | pgsql-general |
On Tuesday 09 March 2010 12:50:45 am Ian Barwick wrote: > Hi > > I was wondering where some spurious information in a query was > coming from - it looked like something was inserting all the > values of a table row as a comma-separated list. > > It turns out I was attempting to reference a non-existent column > called (literally) "name", which instead of throwing an error produces > the aforementioned list. This only seems to happen with "name", and > only if it is referenced with the table name or alias. > > > > > Ian Barwick See this recent thread for explanation: http://archives.postgresql.org/pgsql-general/2010-02/msg01038.php -- Adrian Klaver adrian.klaver@gmail.com
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера