Re: [GENERAL] malformed array literal in 8beta1

2004-08-29 Thread Greg Stark
"Chris" <[EMAIL PROTECTED]> writes: > After looking closer at the logs, what seems to be happening is that it > doesn't like the empty array values. All functions that I call with an array > that have one or more empty elements are returning this error. Should I be > setting the value to NULL i

Re: [GENERAL] malformed array literal in 8beta1

2004-08-29 Thread Tom Lane
"Chris" <[EMAIL PROTECTED]> writes: > After looking closer at the logs, what seems to be happening is that it > doesn't like the empty array values. Right, you need to explicitly write "" for an empty-string array element now. (This was always legal, but is now required.) The array value parser

Re: [GENERAL] malformed array literal in 8beta1

2004-08-29 Thread Chris
After looking closer at the logs, what seems to be happening is that it doesn't like the empty array values. All functions that I call with an array that have one or more empty elements are returning this error. Should I be setting the value to NULL instead of just leaving it empty? Chris ---