Re: Loop through all views with PHP

From: Francisco Reyes <lists(at)stringsutils(dot)com>
To: Stefan Schwarzer <stefan(dot)schwarzer(at)grid(dot)unep(dot)ch>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Loop through all views with PHP
Date: 2007-06-18 13:38:04
Message-ID: cone.1182173884.433582.81364.5001@35st.simplicato.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Stefan Schwarzer writes:

> Is there any way via PHP to loop through the whole set of views to
> delete those with a specific name?

See pg_views.
In particular the viewname column.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message A. Kretschmer 2007-06-18 13:40:55 Re: Loop through all views with PHP
Previous Message A. Kretschmer 2007-06-18 13:19:00 Re: Exec a text variable as select