On Sat, Jul 9, 2016 at 03:03:34PM -0400, Peter Eisentraut wrote:
> On 7/9/16 12:57 PM, yrashk@gmail.com wrote:
> >Is there any reason why schedule text[][] is reported as text[]?
>
> There is no such thing as text[][]. I'm not sure why it's accepted (perhaps
> backward compatibility), but PostgreSQL only supports one level of
> array-ness, which can, however, be multidimensional.
>
> So this is nothing to worry about.
Yeah, arrays basically don't store any supplied dimmensions:
test=> CREATE TABLE test(x TEXT[3]);
CREATE TABLE
test=> \d test
Table "public.test"
Column | Type | Modifiers
--------+--------+-----------
x | text[] |
^^
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +