DELETE - Mailing list pgsql-general

From c k
Subject DELETE
Date
Msg-id d8e7a1e30808191204t728d1b9ew5472cb349abe4d7e@mail.gmail.com
Whole thread Raw
Responses Re: DELETE
List pgsql-general
hello,
what will be the error in syntax of following statement?

delete from accountingtransactions where accountingtransactions.refaccdocid=docs.docid and docs.tmpselect=-1 and docs.tmpselectedby= $1;
when a new function is created it does not gives any error but when this function is called from outside it gives syntax error as 'missing FROM-clause entry for table "docs"'. Why? any clue?

Regards,
CPK

pgsql-general by date:

Previous
From: "c k"
Date:
Subject: cache lookup failed
Next
From: "Bill Reynolds"
Date:
Subject: Re: DELETE