Re: Problem with database: FATAL 1: cannot find attribute 24
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Problem with database: FATAL 1: cannot find attribute 24 |
| Дата | |
| Msg-id | 25148.1000835980@sss.pgh.pa.us обсуждение исходный текст |
| Список | pgsql-general |
"Tauren Mills" <tauren@servlets.net> writes:
> Thanks for the help! I'm afraid I do not know how to do this. Is there
> somewhere that specifically explains how to run a standalone backend under
> gdb? How would I set a breakpoint at elog or get a stack trace?
You should look at the gdb documentation, but running a standalone
backend under gdb isn't hard:
gdb path-to-postgres-executable
gdb> break elog
gdb> run command-line-arguments-for-standalone-backend
...
... break at elog
...
gdb> bt (backtrace)
gdb> cont (continue till next breakpoint)
gdb> quit (when done)
> Does the RPM version of Postgres include debugging symbols,
Not sure, but I doubt it. If you don't see a symbolic backtrace
including routine names and argument values, then you haven't got
debugging symbols. In particular, if you can't see the string
being passed to elog then you'll have trouble telling which breakpoint
stop is the interesting one ...
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера