| From: | Herouth Maoz <herouth(at)oumail(dot)openu(dot)ac(dot)il> |
|---|---|
| To: | Piotr Stelmaszyk <kelman(at)fanthom(dot)math(dot)put(dot)poznan(dot)pl>, PgSQL-interfaces <pgsql-interfaces(at)postgreSQL(dot)org> |
| Subject: | Re: |
| Date: | 1999-06-07 16:23:56 |
| Message-ID: | l03130300b381a2255465@[147.233.159.109] |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-interfaces |
At 18:49 +0300 on 07/06/1999, Piotr Stelmaszyk wrote:
> what may be the problem? what does it mean "$1"? i don't have
> any function arguments.
>
> any ideas? thanx.
The problem is that the parameter passed to "drop table" should not be a
string but a table. You don't write
DROP TABLE 'my_table',
but
DROP TABLE my_table.
So you are passing it the wrong kind of object. You should pass a table,
not the name of a table. There is a difference.
Herouth
--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andre Carvalho | 1999-06-07 19:53:50 | pgTcl problem... |
| Previous Message | Piotr Stelmaszyk | 1999-06-07 15:49:44 |