| From: | Markus Bertheau <twanger(at)bluetwanger(dot)de> |
|---|---|
| To: | "Jan B(dot)" <jan(at)monso(dot)de> |
| Cc: | pgsql-sql(at)postgresql(dot)org |
| Subject: | Re: ARRAY() returning NULL instead of ARRAY[] resp. {} |
| Date: | 2005-05-23 18:58:11 |
| Message-ID: | 1116874691.7306.3.camel@localhost.localdomain |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches pgsql-sql |
Dnia 23-05-2005, pon o godzinie 18:54 +0000, Jan B. napisał(a):
> Perhaps Arrays always have to contain at least one element? (I don't
> know for sure.)
They can:
template1=# select '{}'::TEXT[];
text
------
{}
(1 запись)
I don't know, why the ARRAY[] syntax doesn't work for empty arrays.
Markus
--
Markus Bertheau <twanger(at)bluetwanger(dot)de>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Joe Conway | 2005-05-23 20:04:50 | Re: ARRAY() returning NULL instead of ARRAY[] resp. {} |
| Previous Message | Jan B. | 2005-05-23 18:54:07 | Re: ARRAY() returning NULL instead of ARRAY[] resp. {} |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Joe Conway | 2005-05-23 20:04:50 | Re: ARRAY() returning NULL instead of ARRAY[] resp. {} |
| Previous Message | Jan B. | 2005-05-23 18:54:07 | Re: ARRAY() returning NULL instead of ARRAY[] resp. {} |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Joe Conway | 2005-05-23 20:04:50 | Re: ARRAY() returning NULL instead of ARRAY[] resp. {} |
| Previous Message | Jan B. | 2005-05-23 18:54:07 | Re: ARRAY() returning NULL instead of ARRAY[] resp. {} |