Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id DB0021337BD9 for ; Wed, 23 Mar 2011 20:56:38 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 10170-05 for ; Wed, 23 Mar 2011 23:56:21 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 2E3781337BA3 for ; Wed, 23 Mar 2011 20:56:21 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p2NNuKAg008035; Wed, 23 Mar 2011 19:56:20 -0400 (EDT) To: =?UTF-8?Q?Viktor_Bojovi=C4=87?= cc: pgsql-sql@postgresql.org Subject: Re: pg_attributte, data types In-reply-to: References: Comments: In-reply-to =?UTF-8?Q?Viktor_Bojovi=C4=87?= message dated "Thu, 24 Mar 2011 00:05:24 +0100" Date: Wed, 23 Mar 2011 19:56:20 -0400 Message-ID: <8034.1300924580@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201103/37 X-Sequence-Number: 35239 =?UTF-8?Q?Viktor_Bojovi=C4=87?= 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