Re: pg_attributte, data types

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Viktor Bojović <viktor(dot)bojovic(at)gmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: pg_attributte, data types
Date: 2011-03-23 23:56:20
Message-ID: 8034.1300924580@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

=?UTF-8?Q?Viktor_Bojovi=C4=87?= <viktor(dot)bojovic(at)gmail(dot)com> writes:
> while listing data types i have noticed that some types have underscore
> prefix but i don't know why is that. so im asking if somene can tell me.
> These are type examples:

> _char
> _float4
> _int2
> _oid
> _regtype
> _text
> _varchar

Those are array types. The normal convention is that foo[] is named
"_foo" under the surface.

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Isaac T. Dover 2011-03-24 05:21:00 Re: xml2 support
Previous Message Viktor Bojović 2011-03-23 23:05:24 pg_attributte, data types