Re: counting columns

From: "Travis Hoyt" <thoyt(at)npc(dot)net>
To: "Travis Hoyt" <thoyt(at)npc(dot)net>, <pgsql-novice(at)postgresql(dot)org>
Subject: Re: counting columns
Date: 2001-12-11 21:20:28
Message-ID: DBEMKMGOMJAGKAKEPPEGOEODCJAA.thoyt@npc.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Nevermind,

Answered my own question. select relnatts from pg_class where relname =
'myviewnamehere';

-----Original Message-----
From: pgsql-novice-owner(at)postgresql(dot)org
[mailto:pgsql-novice-owner(at)postgresql(dot)org]On Behalf Of Travis Hoyt
Sent: Tuesday, December 11, 2001 3:59 PM
To: pgsql-novice(at)postgresql(dot)org
Subject: [NOVICE] counting columns

Is there a way to count the number of columns in a view?

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Terrence Brannon 2001-12-11 22:09:19 how does one replace a row in Postgresql? (ala MySQL REPLACE)
Previous Message Travis Hoyt 2001-12-11 20:58:37 counting columns