--On Wednesday, December 31, 2003 11:20:49 -0500 Tom Lane <[EMAIL PROTECTED]> wrote:
Gaetano Mendola <[EMAIL PROTECTED]> writes:Is ABS enough on a 64-bit architecture ?
That was pseudocode, I wasn't actually planning to rely on a function. Something more like
long diff;
diff = stack_base_ptr - &stack_top_loc; if (diff < 0) diff = -diff; if (diff > max) elog ...
One archetecture that MIGHT be an issue (It's been 5+ years) is IBM 390 class under Z/OS. I'm not sure how they do stacks....
LER
regards, tom lane
---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives?
http://archives.postgresql.org
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED] US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
pgp00000.pgp
Description: PGP signature