Re: [PATCHES] Calling a java program thru a trigger or a function in postgresql

2004-02-12 Thread Thomas Hallgren
I think your question is a bit off-topic on this mailinglist. You should probably post it to pgsql-general. Anyway, perhaps you'd be interested in looking at http://gborg.postgresql.org/project/pljava. Regards, Thomas Hallgren - Original Message - From: venky [EMAIL PROTECTED

[PATCHES] Some new SPI functions

2004-02-12 Thread Thomas Hallgren
is planned might find these functions useful. Thomas Hallgren Index: src/backend/executor/spi.c === retrieving revision 1.109 diff -u -r1.109 spi.c --- src/backend/executor/spi.c 2 Dec 2003 19:26:47 - 1.109 +++ src/backend/executor/spi.c

Re: [PATCHES] Some new SPI functions

2004-02-14 Thread Thomas Hallgren
Sure, I'll provide some docs. Just wasn't aware that patchers did that. - thomas - Original Message - From: Bruce Momjian [EMAIL PROTECTED] To: Thomas Hallgren [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, February 13, 2004 06:12 Subject: Re: [PATCHES] Some new SPI functions

Re: [PATCHES] Some new SPI functions

2004-02-15 Thread Thomas Hallgren
Who did you think would do it? regards, tom lane you :-) Seriously, I didn't give it much though. This is undoubtedly the best way although some projects handle it differently. A tech-writer perhaps, with better writing skills then programmers in general. But people like that are probabaly

[PATCHES] Configuration parameters for plugin modules

2004-05-09 Thread Thomas Hallgren
. This function should be called when a module has completed its variable definitions. At that time, no placeholders should remain for the class that the module uses. If they do, elog(INFO, ...) messages will be issued to inform the user that unrecognized variables are present. Kind regards, Thomas

[PATCHES] Patch for Makefile.shlib

2004-05-07 Thread Thomas Hallgren
Here's a patch that will allow external modules like pllang to set additional flags for the dlltool and dllwrap commands. More info here: http://archives.postgresql.org/pgsql-hackers/2004-05/msg00350.php regards, Thomas Hallgren -- A ship in harbor is safe, but that is not what ships are built

Re: [PATCHES] Run-as-admin warning for win32

2004-05-04 Thread Thomas Hallgren
security ยท Make system-wide operating system and application changes that affect other users of the system Kind regards, Thomas Hallgren ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http

Re: [PATCHES] Run-as-admin warning for win32

2004-05-04 Thread Thomas Hallgren
Sorry. That link was internal to the document. This one should work. http://download.microsoft.com/download/1/b/8/1b8fc001-6f67-4ea1-b0f2-8add1da8cbc0/SecDefs2003.doc Regards, Thomas Hallgren Shachar Shemesh [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Thomas Hallgren wrote

Re: [PATCHES] Configuration parameters for plugin modules

2004-05-19 Thread Thomas Hallgren
Same patch as before but I added a small change to the gram.y enabling SET command to use qualified names. - thomas Index: doc/src/sgml/runtime.sgml === RCS file: /projects/cvsroot/pgsql-server/doc/src/sgml/runtime.sgml,v retrieving

[PATCHES] Link errors on win32

2004-05-28 Thread Thomas Hallgren
):not_in.c: undefined reference to `ltruncate' utils/SUBSYS.o(.text+0x6c2cc):fmgr.c: undefined reference to `nth' make[2]: *** [postgres] Error 1 make[2]: Leaving directory `/ws/pgsql/src/backend' Regards, Thomas Hallgren ---(end of broadcast)--- TIP 9

Re: [PATCHES] Link errors on win32

2004-05-28 Thread Thomas Hallgren
/contrib' make: *** [clean] Error 2 Anyway, I removed everything and downloaded a new fresh version, reapplied my patch for postmaster.c, and recompiled. Everything links ok now. Thanks, Thomas Hallgren ---(end of broadcast)--- TIP 5: Have you checked

Re: [PATCHES] Link errors on win32

2004-05-28 Thread Thomas Hallgren
Tom Lane wrote: Thomas Hallgren [EMAIL PROTECTED] writes: I did a make clean. But it encountered an error and terminated prematurely and I missed it... make[2]: Entering directory `/ws/pgsql/contrib/earthdistance' make[2]: *** No rule to make target `clean'. Stop. make[2]: Leaving

Re: [PATCHES] Link errors on win32

2004-05-28 Thread Thomas Hallgren
Bruce Momjian wrote: Thomas Hallgren wrote: Magnus Hagander [EMAIL PROTECTED] writes: This looks like it's missing stuff from Bruces move from backend/port/win32 to port/kill.c of the kill signal. Are you sure you pulled a new version of the port directory as well? And did you do a make

Re: [PATCHES] [HACKERS] dynamic_library_path on Win32

2004-06-07 Thread Thomas Hallgren
introduced, that actually finds path separators, is now the first_path_sep. The patch contains changes on all affected places of course. I also changed the documentation on dynamic_library_path to reflect the chagnes. Kind regards, Thomas Hallgren Bruce Momjian [EMAIL PROTECTED] wrote

Re: [PATCHES] [HACKERS] bug in GUC

2004-06-27 Thread Thomas Hallgren
for guc_alloc, guc_realloc, and guc_strdup that are used throughout the guc.c file. Kind regards, Thomas Hallgren Index: src/backend/utils/misc/guc.c === RCS file: /projects/cvsroot/pgsql-server/src/backend/utils/misc/guc.c,v

Re: [PATCHES] [HACKERS] CVS should die

2004-11-04 Thread Thomas Hallgren
is insufficient due to file moves to investigate subversion. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [PATCHES] pgxs under Win32 for PL/Java

2004-11-07 Thread Thomas Hallgren
of curiosity; why would anyone want to use cygwin with 8.0? Regards, Thomas Hallgren ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

Re: [PATCHES] pgxs patch for win32 (v2)

2004-11-18 Thread Thomas Hallgren
. Works like a charm. Thanks, Thomas Hallgren ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html

Re: [PATCHES] SQL:2003 keyword additions

2004-11-24 Thread Thomas Hallgren
will be more portable since other databases may recognize the keywords. 2. Migration to a future PostgreSQL version where the relevant commands has been implemented will be easier. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 3: if posting

[PATCHES] SPI function to investigate query semantics

2004-12-01 Thread Thomas Hallgren
= !SPI_iterate_query_roots(ePlan, rejectTransactionCommand, NULL); The patch has no side effects since it's a pure addon. Kind regards, Thomas Hallgren Index: doc/src/sgml/spi.sgml === RCS file: /projects/cvsroot/pgsql/doc/src/sgml

Re: [PATCHES] SPI function to investigate query semantics

2004-12-01 Thread Thomas Hallgren
(Savepoint sp); The Savepoint structure could then hold information about call level etc. needed to ensure proper behaviour when nesting. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

Re: [PATCHES] SPI function to investigate query semantics

2004-12-01 Thread Thomas Hallgren
is needed for the documentation to clarify this :-) So what *is* the appropriate way of starting, releasing, and rolling back savepoints then? Regards, Thomas Hallgren ---(end of broadcast)--- TIP 6: Have you searched our list archives? http

Re: [PATCHES] SPI function to investigate query semantics

2004-12-01 Thread Thomas Hallgren
on my connection object. From current discussions it seems similar functionality might be needed for other PL's. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org

Re: [PATCHES] SPI function to investigate query semantics

2004-12-01 Thread Thomas Hallgren
the docs. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [PATCHES] Patch that deals with that AtCommit_Portals encounters

2005-03-15 Thread Thomas Hallgren
Tom Lane wrote: Neil Conway [EMAIL PROTECTED] writes: Thomas Hallgren wrote: This patch will ensure that the hash table iteration performed by AtCommit_Portals is restarted when a portal is deleted. I'll apply this to HEAD within 24 hours, barring any objections. I don't

Re: [PATCHES] Patch that deals with that AtCommit_Portals encounters

2005-03-16 Thread Thomas Hallgren
Tom Lane wrote: Thomas Hallgren [EMAIL PROTECTED] writes: I'm not sure what you mean. Earlier you rejected my bug-report on the iterator because you it was the callers responsability to deal with it (hence this patch). Are you now suggesting that we fix that bug instead? Quite honestly

Re: [PATCHES] Patch that deals with that AtCommit_Portals encounters

2005-05-11 Thread Thomas Hallgren
consume CPU cycles is if there's a vast amount of Portals in the iteration that are not candidates for removal. I don't see that happen. Do you? Regards, Thomas Hallgren ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ

[PATCHES] Path to enable a module to change the stack_base_ptr

2005-10-02 Thread Thomas Hallgren
Here is a patch that will enable a module to change the stack_base_ptr temporarilly during a call. A background discussion can be found here: http://www.mail-archive.com/pgsql-hackers@postgresql.org/msg64586.html Regards, Thomas Hallgren Index: src/backend/tcop/postgres.c

Re: [PATCHES] Path to enable a module to change the stack_base_ptr

2005-10-02 Thread Thomas Hallgren
Tom Lane wrote: Thomas Hallgren [EMAIL PROTECTED] writes: Here is a patch that will enable a module to change the stack_base_ptr temporarilly during a call. I'm not really in favor of this ... I think you are trying to make the backend do something that will never work reliably

Re: [PATCHES] Path to enable a module to change the stack_base_ptr

2005-10-13 Thread Thomas Hallgren
that could be added to the patch? Regards, Thomas Hallgren ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through