| От | Tom Lane |
|---|---|
| Тема | Re: PQftype(copy_rset) returns zero OIDs??? |
| Дата | |
| Msg-id | 2127876.1709053919@sss.pgh.pa.us обсуждение |
| Ответ на | PQftype(copy_rset) returns zero OIDs??? (Dominique Devienne <ddevienne@gmail.com>) |
| Ответы |
Re: PQftype(copy_rset) returns zero OIDs???
|
| Список | pgsql-general |
Dominique Devienne <ddevienne@gmail.com> writes: > For the first time, I'm checking the OIDs returned > (via the result set's PQftype API), by "regular" SELECT: > ... > And to my surprise, they are not! > The ones from the COPY are all zeros. > Is that normal? The CopyInResponse and CopyOutResponse messages don't carry any column name or type indications, so yes it's normal. https://www.postgresql.org/docs/current/protocol-message-formats.html Maybe we missed a bet there, but AFAIR you are the first person to ask for this in twenty-plus years. regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера