Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group