Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL)
| От | Josh Berkus |
|---|---|
| Тема | Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL) |
| Дата | |
| Msg-id | 514FB04F.5050904@agliodbs.com обсуждение исходный текст |
| Ответ на | [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL) (Brendan Jurd <direvus@gmail.com>) |
| Ответы |
Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re:
Should array_length() Return NULL)
Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL) |
| Список | pgsql-hackers |
On 03/20/2013 04:45 PM, Brendan Jurd wrote: > Incompatibility: > This patch introduces an incompatible change in the behaviour of the > aforementioned array functions -- instead of returning NULL for empty > arrays they return meaningful values. Applications relying on the old > behaviour to test for emptiness may be disrupted. One can As a heavy user of arrays, I support this patch as being worth the breakage of backwards compatibility. However, that means it certainly will need to wait for 9.4 to provide adequate warning. Brendan, how hard would it be to create a GUC for backwards-compatible behavior? -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com
В списке pgsql-hackers по дате отправления: