Re: [HACKERS] external function proposal for 7.2

2000-12-13 Thread mlw
Hannu Krosing wrote: > > mlw wrote: > > > > Let me explain why I think the changes I mentioned are a good thing. > > > > (BTW gateway.mohawksoft.com seems to going to an old IP address that I > > haven't had for years, something is strange.) > > > > So, using the IP address, go to this web site.

Re: [HACKERS] external function proposal for 7.2

2000-12-13 Thread Vincent AE Scott
On Wed, 13 Dec 2000, mlw wrote: > Assuming all my assumptions are correct, (and I can't see how that is > possible ;-), I should also call the Init function at this time. > > The big problem is calling the "Exit" function. I am sure that will not > be easily done, or even doable, but we can drea

Re: [HACKERS] external function proposal for 7.2

2000-12-13 Thread Hannu Krosing
mlw wrote: > > Let me explain why I think the changes I mentioned are a good thing. > > (BTW gateway.mohawksoft.com seems to going to an old IP address that I > haven't had for years, something is strange.) > > So, using the IP address, go to this web site. > http://216.41.12.226/search

Re: [HACKERS] external function proposal for 7.2

2000-12-13 Thread mlw
Let me explain why I think the changes I mentioned are a good thing. (BTW gateway.mohawksoft.com seems to going to an old IP address that I haven't had for years, something is strange.) So, using the IP address, go to this web site. http://216.41.12.226/search.php3 This is a test pag

Re: [HACKERS] external function proposal for 7.2

2000-12-13 Thread mlw
Tom Lane wrote: > > mlw <[EMAIL PROTECTED]> writes: > > I just have to find where I call the exit function. > > That will be the hard part. > > FmgrInfo is not currently considered a durable data structure, and I > think you will be in for grief if you try to make any guarantees about > what wi

Re: [HACKERS] external function proposal for 7.2

2000-12-12 Thread Tom Lane
mlw <[EMAIL PROTECTED]> writes: > I just have to find where I call the exit function. That will be the hard part. FmgrInfo is not currently considered a durable data structure, and I think you will be in for grief if you try to make any guarantees about what will happen when one disappears. If

Re: [HACKERS] external function proposal for 7.2

2000-12-12 Thread Vincent AE Scott
As a lurker on the list this post caught my eye somewhat. I think this would be excellent functionality to have in postgres, i was considering doing something like this in a non intruse manner, by manipulating _init() and _fini functions of shared libraries. But what you have described below is

Re: [HACKERS] external function proposal for 7.2

2000-12-12 Thread mlw
Vincent AE Scott wrote: > > As a lurker on the list this post caught my eye somewhat. I think this > would be excellent functionality to have in postgres, i was considering > doing something like this in a non intruse manner, by manipulating > _init() and _fini functions of shared libraries. Bu

[HACKERS] external function proposal for 7.2

2000-12-12 Thread mlw
I think the newC function idea is pretty good, however, what would be great is just one more step of protocol, perhaps an API verson 2 or 3: One thing than makes writing a non-trivial function a bit problematic, and perhaps even less efficient, is that the function does not know when it is first