static variables in functions - Mailing list pgsql-general

From Gyozo Papp
Subject static variables in functions
Date
Msg-id 001001c0c975$38f34ec0$2b46c5d5@jaguar
Whole thread Raw
Responses Re: static variables in functions
List pgsql-general
hello everyone,

is there any possibility to keep the value of an arbitrary type variable in a plpgsql function between its invocations?
If not, can it be made with functions written in C instead? I've "static storage" in my mind.
Can it be made thread-safe?

- Papp Gyozo -



pgsql-general by date:

Previous
From: Karel Zak
Date:
Subject: Re: problems with pg_dumplo (was Re: backup with blobs)
Next
From: Grzegorz Mucha
Date:
Subject: Re: Re: Latin2 and Unicode problems