| От | Bryce Nesbitt |
|---|---|
| Тема | How to cast, if type has spaces in the name |
| Дата | |
| Msg-id | 46A84E35.7000609@obviously.com обсуждение исходный текст |
| Ответы |
Re: How to cast, if type has spaces in the name
Re: How to cast, if type has spaces in the name Re: How to cast, if type has spaces in the name |
| Список | pgsql-sql |
How do I specify a cast, if the type name has spaces? foo::integer is easy, but foo::'timestamp without time zone' is more murky. In my case I have a table, and a view. For no apparent reason the table has timestamp without time zone, but I need timestamp with time zone. I'm using "select column at time zone 'PST8PDT'" to solve this problem. But wonder about the general case of typecasting when the type name is not a single symbol.
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера