Re: [INTERFACES] Re[2]: drop table 'text'

From: Herouth Maoz <herouth(at)oumail(dot)openu(dot)ac(dot)il>
To: PgSQL-interfaces <pgsql-interfaces(at)postgreSQL(dot)org>
Cc: PgSQL-interfaces <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: Re: [INTERFACES] Re[2]: drop table 'text'
Date: 1999-06-08 09:22:36
Message-ID: l03130301b3828e2054b8@[147.233.159.109]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

At 09:31 +0300 on 08/06/1999, Anatoly K. Lasareff wrote:

> PS> Monday, June 07, 1999, 6:23:56 PM, you wrote:
> HM> DROP TABLE 'my_table',
> HM> but
> HM> DROP TABLE my_table.
> PS> thank You
> PS> i _do_ understand problem now, but i still don't know the sollution.
> PS> How can I drop table which name is evaluated from variable and text?
> PS> (in plpgsql of course)
>
> I think there is no solution this problem in 'plpgsql'

Neither do I. I think you will have to write in C or in pl/pgtcl. Either
that, or have a big conditional that maps all possible combinations.

Herouth

--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Natalya S. Makushina 1999-06-08 12:41:07 ODBC for Windows and large objects
Previous Message Heliodor Macko 1999-06-08 06:59:36 PG 6.5, ODBC for Win32 and BLOBs