Danny Aldham <danny(at)lennon(dot)postino(dot)com> writes:
> I am working with some software that creates a lot of temporary tables
> to store query returns. So after a few weeks I have over 200 tables
> named tmp_123_some_number_etc . Is there a way from psql for me to
> drop all the tables with names beginning with tmp_ ?
Why don't you make it create the tables as TEMP tables to begin with?
Then they'll go away by themselves.
regards, tom lane
In response to
pgsql-novice by date
|Next:||From: Matus "fantomas" Uhlar||Date: 2001-05-15 12:48:21|
|Subject: asynchronour queries and result testing|
|Previous:||From: Danny Aldham||Date: 2001-05-15 01:58:23|
|Subject: Drop table wildcard|