| От | Tom Lane |
|---|---|
| Тема | Re: Patch to add a primary key using an existing index |
| Дата | |
| Msg-id | 10207.1295892022@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Patch to add a primary key using an existing index (Steve Singer <ssinger_pg@sympatico.ca>) |
| Ответы |
Re: Patch to add a primary key using an existing index
|
| Список | pgsql-hackers |
Steve Singer <ssinger_pg@sympatico.ca> writes:
> src/backend/parser/parse_utilcmd.c: 1452
> Your calling strdup on the attribute name. I don't have a good enough
> grasp on the code to be able to trace this through to where the memory
> gets free'd. Does it get freed? Should/could this be a call to pstrdup
strdup() is pretty much automatically wrong in the parser, not to
mention most of the rest of the backend. pstrdup is likely what was
meant. If that's the only issue then I don't see any need to wait on
the author, so will take this one.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера