Re: [HACKERS] maybe a bug in plpgsql, nulls and empty strings are not the same

2001-05-28 Thread Tom Lane
Domingo Alvarez Duarte <[EMAIL PROTECTED]> writes: > When trying write a function in plpgsql I'm getting behavior that > probably isn't the corect one. It works as expected if you declare v_sep as varchar rather than char. I think plpgsql may be interpreting v_sep char; as decl

[HACKERS] maybe a bug in plpgsql, nulls and empty strings are not the same

2001-05-28 Thread Domingo Alvarez Duarte
When trying write a function in plpgsql I'm getting behavior that probably isn't the corect one. in the function bellow: - -- split the given key create function dad_char_key_split( varchar,-- char_key integer,-- subkey_len char-- separator