From: | Jeff MacDonald <bignose(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | weird issues with plpgsql calls. |
Date: | 2004-10-04 13:33:16 |
Message-ID: | f17daf04041004063349565970@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi,
I've made up 2 plpgsql calls, the table and function schema is available at
http://www.bignose.ca/help/pg.txt
I call them like this
select ad_hits(33760);
select ad_inquiries(33760);
i did an "update ad_base set hits = 0, inquiries = 0" to initialize both rows,
since i added them using alter table.
if i call ad_inquiries a few times, the number increments just fine,
but if i call
ad_hits, it increments hits like it should, but also sets inquiries to
zero. which
is very strange and annoying ;)
any help would be great, thanks !
PostgreSQL 7.3.4 on i386-unknown-freebsd5.1, compiled by GCC gcc (GCC)
3.2.2 [FreeBSD] 20030205 (release)
--
Jeff MacDonald
http://www.bignose.ca
From | Date | Subject | |
---|---|---|---|
Next Message | Jason Sheets | 2004-10-04 13:49:21 | Re: Is Win32 port good for operational use? |
Previous Message | CoL | 2004-10-04 11:58:08 | Re: SELECT from a set of values really slow? |