-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 25 August 2004 02:15 pm, [EMAIL PROTECTED] wrote: > This is a first pass on a simple shared memory variable system for > PostgreSQL. I would appriciate anyone interested in this functionality to > rip it apart. > > It basically adds this functionality: > > SetShared('name', value); > GetSharedInt('name'); > SetSharedText('name); > RemovedShared('name'); > > I also added two extra functions that are sort of a kludge, but could be > very helpful. > > AddSharedInt('name', value); > SubSharedInt('name', value); > > These add or subtect the 'value' from the variable and return the result.
I don't see how this is different from "CREATE TABLE shared_variables (name VARCHAR PRIMARY KEY, value VARCHAR)" and inserting/updating/deleting/selecting from that. Perhaps these are per-session shared variables? IN which case, what is the utility if sharing them across shared memory? - -- Jonathan Gardner [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFBL8FMqp6r/MVGlwwRAl4KAJ4oC02uGs5IjO0basUCxNPd3/CCqQCfcepL NLDzKJPINHKK9adjKue2qlQ= =Z8mP -----END PGP SIGNATURE----- ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])