Re: Is this doable using Postgresql crosstab or some other function?
В списке pgsql-general по дате отправления:
| От | |
|---|---|
| Тема | Re: Is this doable using Postgresql crosstab or some other function? |
| Дата | |
| Msg-id | 730e01a71133cc3c094bc786827ee1e8@digikartta.net обсуждение |
| Ответ на | Re: Is this doable using Postgresql crosstab or some other function? (David Johnston <polobo@yahoo.com>) |
| Список | pgsql-general |
This schema is in use in one quite big system, which utilizes different DB than Postgresql. It is fully functional. - mika - On Tue, 10 Apr 2012 02:19:14 -0700, David Johnston <polobo@yahoo.com> wrote: > On Apr 10, 2012, at 1:52, <mika@digikartta.net> wrote: > >> >> Quite challanging, right? >> > > Aside from the possibly extremely rare case where this is actually > functional the only challenging task is to tell off whomever gave you > the idea/requirement that your schema is desirable - even if that > person is yourself. > > That aside, judicious use of CASE constructs, and probably UNION, > will get you your answers. Keep in mind that you likely need to end > up casting all of your values to varchar/text in the end. > > You may also want to look at the HSTORE extension. > > Given the generic nature of your inquiry actual specific advice is > impossible to give. > > David J.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера