Re: More schema queries
От | Dave Page |
---|---|
Тема | Re: More schema queries |
Дата | |
Msg-id | D85C66DA59BA044EB96AB9683819CF61015099@dogbert.vale-housing.co.uk обсуждение исходный текст |
Ответ на | More schema queries ("Dave Page" <dpage@vale-housing.co.uk>) |
Ответы |
Re: More schema queries
|
Список | pgsql-hackers |
> -----Original Message----- > From: Dave Page > Sent: 21 May 2002 14:39 > To: 'Tom Lane' > Cc: pgsql-hackers@postgresql.org > Subject: RE: [HACKERS] More schema queries > > > > Also, you could try setting a breakpoint at > > RangeVarGetCreationNamespace (in backend/catalog/namespace.c) > > to see what it thinks it's doing and what's in > > namespace_search_path at the time. > > I'm going to try to do this regardless of the fact it now > works - this will be my first play with gdb so it might take > me a while but would probably be a useful learning > experience. I'll let you know what I find. > Sorry Tom, I know this isn't strictly a PostgreSQL problem, but despite much time on Google I'm stuck with gdb. I can attach it to the standalone backend at the relevant point in initdb, and have got it to break in RangeVarGetCreationNamespace. I can also see the call stack & registers etc. What I cannot do is get it to show me anything useful. I only seem to be able to step through the assembly code (is it possible to load the C source?), and more importantly, adding a watch (or print-ing) namespace_search_path gives: 167839776. Attempting to watch or print namespaceId gives 'Error: No symbol "namespaceId" in current context.'. I'd appreciate any pointers you can give me... Regards, Dave.
В списке pgsql-hackers по дате отправления: