Re: [HACKERS] [GENERAL] Small patch for PL/Perl Misbehavior with Runtime Error Reporting

2002-10-04 Thread Tom Lane
John Worsley <[EMAIL PROTECTED]> writes: > Yeah, that's a cleaner solution. I take it anything pstrdup'd by > PostgreSQL gets freed automatically by the backend? Pretty much. The only situation where it wouldn't be is if CurrentMemoryContext is pointing at TopMemoryContext or another long-lived

Re: [HACKERS] [GENERAL] Small patch for PL/Perl Misbehavior with Runtime Error Reporting

2002-10-03 Thread Tom Lane
John Worsley <[EMAIL PROTECTED]> writes: > I just stumbled across this peculiarity in PL/Perl today writing a method > to invoke Perl Regexes from a function: if a run-time error is raised in > an otherwise good function, the function will never run correctly again > until the connection to the da