Skip site navigation (1) Skip section navigation (2)


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@[] (view raw, whole thread or download thread mbox)
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',


   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 Maoz, Internet developer.
Open University of Israel - Telem project

In response to

  • at 1999-06-07 15:49:44 from Piotr Stelmaszyk


pgsql-interfaces by date

Next:From: Andre CarvalhoDate: 1999-06-07 19:53:50
Subject: pgTcl problem...
Previous:From: Piotr StelmaszykDate: 1999-06-07 15:49:44

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group