| От | Constantin Teodorescu |
|---|---|
| Тема | libpgtcl and array fields return format - PROPOSAL |
| Дата | |
| Msg-id | 37B1178F.1BDFB003@flex.ro обсуждение исходный текст |
| Ответы |
Re: [INTERFACES] libpgtcl and array fields return format - PROPOSAL
|
| Список | pgsql-interfaces |
Hi,
In libpgtcl, pg_select an array field is return as the following string:
{"red","blue","green"}
and it's rather difficult to process them as a normal tcl list.
The same thing for pg_exec, pg_result/tupleArray
I think it would be better to return the string as:
"red" "blue" "green"
and tcl users could directly process the array as an ordinary tcl list.
As far as I know, arrays are not heavily used by libpgtcl users (thought
it's an interesting feature) so changing format would not affect too
many applications but will encourage array field usage in future.
What do you think?
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера