Re: pg_attributte, data types - Mailing list pgsql-sql

From Viktor Bojović
Subject Re: pg_attributte, data types
Date
Msg-id AANLkTikJfv92q4tx-hPwDyBG5TPUOGyB20kV-s3PPTD4@mail.gmail.com
Whole thread
In response to Re: pg_attributte, data types  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql


On Thu, Mar 24, 2011 at 12:56 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Viktor Bojović <viktor.bojovic@gmail.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

thanx

--
---------------------------------------
Viktor Bojović
---------------------------------------
Wherever I go, Murphy goes with me

pgsql-sql by date:

Previous
From: "Isaac T. Dover"
Date:
Subject: Re: xml2 support
Next
From: Sree
Date:
Subject: Re: converting big int to date