| От | Tom Lane |
|---|---|
| Тема | Re: [GENERAL] Sample in documentation |
| Дата | |
| Msg-id | 9545.1494116543@sss.pgh.pa.us обсуждение |
| Ответы |
Re: [GENERAL] Sample in documentation
|
| Список | pgsql-general |
Igor Korot <ikorot01@gmail.com> writes: > I tried to implement the code found in > https://www.postgresql.org/docs/current/static/libpq-example.html. > ... > I am getting an error: > [quote] > Non-constant-expression cannot be narrowed from type 'size_t' (aka > 'unsigned long') to 'int' in initializer list > [/quote] > on the line that tries to create a length[2] array. > > Now I should probably change it to "size_t length{2}" instead of "int > length[2]", but > I feel that this should be changed in the documentation. I do not see any arrays named "length", nor even any arrays of size 2, on that page, so I'm pretty confused what you're talking about. Please be more specific. regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера