Re: Reference to a hash as argument for a plperl-function




-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160


is it possible to pass a reference to a hash from my perl-script as
argument to a plperl-function in a Postgresql-database?

No: the hash is in the memory of your DBD::Pg script, and is not
available from the Postgres process (which has perl inside it to
run Pl/Perl).

- --
Greg Sabino Mullane greg@xxxxxxxxxxxx
End Point Corporation
PGP Key: 0x14964AC8 200707131325
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iD8DBQFGl7WivJuQZxSWSsgRA/mEAKDeo02/DD+oi3z79tFhlmgmZ3dYhgCg3+iq
zK8yZCTUPdA9fuxpmkKvviU=
=6P61
-----END PGP SIGNATURE-----


.



Relevant Pages

  • Re: How to persist and query a hash lookup in memory with Perl ?
    ... hash lookup which should be persisted in memory - I have seen this ... Memory " but I wanted to see if there was a much simpler approach ... memory using standard features not requiring a special Perl module ... are only as good as the life of the execution of the script!! ...
    (comp.lang.perl.misc)
  • Re: hash table size
    ... talking about chess programming ideas and what they do rather than actually ... you can clear out the memory. ... Just a couple cycles per hash check. ... The amount of physical memory each user gets is likely to be somewhat ...
    (rec.games.chess.computer)
  • Re: hash table size
    ... Change all the hash keys so you get a new random value. ... This way old entries from the previous search (or uninitialized hash memory) ... It is true that doing an AND is faster than a modulo. ... If you are runing a chess program for a reason, ...
    (rec.games.chess.computer)
  • Re: Firewall vs. IPS - Differences now (ISS, Intrushield 2.1?)
    ... > You risk running out of memory. ... That's like saying "it's trivial to DoS Aho-Corasic if you know the ... DoS's and improvements via use of the Jenkins hash are most illuminating. ... > replacement policy gives the worst behavior since an attacker can flood ...
    (Focus-IDS)
  • Re: Ruby, memory and speed
    ... and then emit a summary on standard input. ... The hash will grow to about 500 000 keys. ... Is there any tuning of GCC so it kicks in less frequently when the memory consumption is large? ... Or could it be that the Hash algorithm chokes when the number of keys gets large? ...
    (comp.lang.ruby)