weird issues with plpgsql calls. - Mailing list pgsql-general

From Jeff MacDonald
Subject weird issues with plpgsql calls.
Date
Msg-id f17daf04041004063349565970@mail.gmail.com
Whole thread Raw
List 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

pgsql-general by date:

Previous
From: Antonios Christofides
Date:
Subject: Is Win32 port good for operational use?
Next
From: Jason Sheets
Date:
Subject: Re: Is Win32 port good for operational use?