Loop through all views with PHP

Поиск
Список
Период
Сортировка
От Stefan Schwarzer
Тема Loop through all views with PHP
Дата
Msg-id 21901A68-9E14-41FF-B399-C216509413E2@grid.unep.ch
обсуждение исходный текст
Ответы Re: Loop through all views with PHP  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Список 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 по дате отправления:

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: Exec a text variable as select
Следующее
От: Francisco Reyes
Дата:
Сообщение: Re: Loop through all views with PHP