| От | Tom Lane |
|---|---|
| Тема | Re: Shouldn't pg_settings.enumvals be array of text? |
| Дата | |
| Msg-id | 3221.1223302511@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Shouldn't pg_settings.enumvals be array of text? (Magnus Hagander <magnus@hagander.net>) |
| Ответы |
Re: Shouldn't pg_settings.enumvals be array of text?
|
| Список | pgsql-hackers |
Magnus Hagander <magnus@hagander.net> writes:
> Agreed, it can certainly be bettered. text[] seems to be the cleanest,
> but then we still have the issue with wide output in psql, no? But
> should we really design the view around the single use-case of psql? You
> can still just omit that column from the SELECT if you want...
Well, if we present as text[] then someone could easily use
array_to_string to format the column the other way. So probably
text[] is the right thing.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера