[BUGS] comparing null value in plpgsql.

2002-03-10 Thread Bhuvan A
hi, here i have a problem in comparing null values in plpgsql. this exist in 7.1.x and 7.2 as well. the condition != fails in plpgsql. consider this function is triggered on every updation on a table. create function ftest() returns opaque as 'declare begin if new.comp_code != ol

Re: [BUGS] comparing null value in plpgsql.

2002-03-10 Thread Bhuvan A
On Mar 10, Stephan Szabo wrote: > On Mon, 11 Mar 2002, Bhuvan A wrote: > > > here i have a problem in comparing null values in plpgsql. this exist > > in 7.1.x and 7.2 as well. > > > > the condition != fails in plpgsql. > > consider this function is tr

[BUGS]

2002-03-11 Thread Bhuvan A
On Mar 11, Stephan Szabo wrote: > > On Mon, 11 Mar 2002, Bhuvan A wrote: > > > > > > > On Mar 10, Stephan Szabo wrote: > > > > > On Mon, 11 Mar 2002, Bhuvan A wrote: > > > > > > > here i have a problem in comparing null

[BUGS] sequence havn't been dropped.

2002-03-13 Thread Bhuvan A
hi, Hope you might have came accross this problem earlier. it exists in 7.1.x and 7.2 as well. while creating a table with a column of type 'serial', well a sequence has been created and the default value of that field is set to nextval of that sequence, fine. But while dropping that table, why

[BUGS] Casting integer to boolean

2002-08-16 Thread Bhuvan A
Hi, I am using postgresql 7.2.1. How do i cast an integer value to boolean? I did try the below sequence of SQLs and was little bit confused, by the way it behaves. It casts the integer value to boolean in one case but not ever again. bhuvan=> SELECT count(*)::int::boolean from my_table; ERROR:

Re: [BUGS] Bug #804: plpgsql not work on solaris

2002-10-24 Thread Bhuvan A
> Long Description > I try to create language plpgsql for db "template1" on solaris 9 but don't work. > It's seems that all other work, but i' don't sure. > Below i write the response of shell (bash). > > Sample Code > bash-2.05$ createlang plpgsql template1 > ERROR: Load of file /usr/local/pgsql

Re: [BUGS] Bug #880: COMMENT ON DATABASE depends on current database

2003-01-24 Thread Bhuvan A
> Long Description PostgreSQL has mechanism for commenting databases. > Database comments can by read by obj_description(oid), psql \l+ command > use it. Database comments should be global, but they are not, when we do > \l+ on one database, and then on other, results will be different. I > conside