Re: [GENERAL] Giving error for function

2016-01-12 Thread Charles Clavadetscher
gsql-general@postgresql.org> > Subject: [GENERAL] Giving error for function > > Hi, > > I am getting the below error while I am running the below function > "add_po_doc_hist", for "c_company" cursor, please > suggest what is wrong with code. > >

Re: [GENERAL] Giving error for function

2016-01-12 Thread Tom Lane
Sachin Srivastava writes: > I am getting the below error while I am running the below function > "add_po_doc_hist", for "c_company" cursor, please suggest what is wrong > with code. > ERROR: relation "c_company" does not exist > CONTEXT: compilation of PL/pgSQL function

[GENERAL] Giving error for function

2016-01-11 Thread Sachin Srivastava
Hi, I am getting the below error while I am running the below function "add_po_doc_hist", for "c_company" cursor, please suggest what is wrong with code. ERROR: relation "c_company" does not exist CONTEXT: compilation of PL/pgSQL function "add_po_doc_hist" near line 11 ** Error