Seeking PL/PGSQL example

From: "John Wells" <jb(at)sourceillustrated(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Seeking PL/PGSQL example
Date: 2005-08-12 21:26:50
Message-ID: 50385.66.192.236.118.1123882010.squirrel@devsea.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Guys,

I'm getting started with PL/PGSQL but want to understand if the following
is even possible:

With PL/PGSQL, how would I roll through all tables in my database and
print the table name, along with the row count of that table?

Sorry if this is too simplistic. I've googled but must not be phrasing my
question properly. Currently reading through the manual, but if someone
has any helpful tips I'd appreciate it.

Thanks!
John

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2005-08-12 22:46:10 Re: Seeking PL/PGSQL example
Previous Message David Fetter 2005-08-12 20:36:51 Re: user-defined types and inheritance