Re: c extension
От | Kjetil Haaland |
---|---|
Тема | Re: c extension |
Дата | |
Msg-id | 200411041257.07505.kjetil.haaland@student.uib.no обсуждение исходный текст |
Ответ на | Re: c extension (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-novice |
On Wednesday 03 November 2004 20:53, Tom Lane wrote: > Joe Conway <mail@joeconway.com> writes: > > Kjetil Haaland wrote: > >> Is there any good reason it should work with integers and not with > >> characters? > > > > Not sure -- sheer luck ;-) > > Maybe it's a memory clobber, like writing one more array position than > you actually allocated? Check your address and sizing arithmetic. > > regards, tom lane Have checked it, and it is correct. I don't go pass what i have actually allocated. I have looked at your slides but i don't understand how I change the memorycontext. I now about the MemoryContextSwitchTo method but what i don't understand is how to define the correct memorycontext, let's say TopMemoryContext. Does anyone now how i do this? -Kjetil
В списке pgsql-novice по дате отправления: