Loop through all views with PHP - Mailing list pgsql-general

From Stefan Schwarzer
Subject Loop through all views with PHP
Date
Msg-id 21901A68-9E14-41FF-B399-C216509413E2@grid.unep.ch
Whole thread Raw
Responses Re: Loop through all views with PHP
List pgsql-general
Hi there,

my app is creating views for a certain task; now, I would like to run
on a regular basis a script which deletes these views. As they are
named with the date/hour/min/sec-appendix to make each view unique, I
don't know the names myself (Ok, I could stock the names in a
separate table as well).

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

Thanks for any help.

Stef

pgsql-general by date:

Previous
From: "A. Kretschmer"
Date:
Subject: Re: Exec a text variable as select
Next
From: Francisco Reyes
Date:
Subject: Re: Loop through all views with PHP