Re: [pgadmin-support] python function

2016-08-18 Thread Guillermo E. Villanueva
2016-08-18 7:44 GMT-03:00 Guillermo E. Villanueva : > > > 2016-08-18 7:28 GMT-03:00 Ashesh Vashi : > >> In the home directory of the user, who is running the pgAdmin 4 (unless >> you've changed that in config.py/config_local.py). >> >> On non-windows: >> $HOME/.pgadmin/pgadmin4.log >> >> On wind

Re: [pgadmin-support] python function

2016-08-18 Thread Ashesh Vashi
In the home directory of the user, who is running the pgAdmin 4 (unless you've changed that in config.py/config_local.py). On non-windows: $HOME/.pgadmin/pgadmin4.log On windows %APPDATA%\pgAdmin\pgadmin4.log -- Thanks & Regards, Ashesh Vashi EnterpriseDB INDIA: Enterprise PostgreSQL Compa

Re: [pgadmin-support] python function

2016-08-18 Thread Guillermo E. Villanueva
where is the pgadmin4 log? 2016-08-18 0:25 GMT-03:00 Ashesh Vashi : > > On Wed, Aug 17, 2016 at 10:12 PM, Guillermo E. Villanueva < > guillermo...@gmail.com> wrote: > >> I have the next python function: >> CREATE OR REPLACE FUNCTION fn_detalle() >> RETURNS setof news AS >> $$ >> myquery=""" >> se

Re: [pgadmin-support] python function

2016-08-17 Thread Ashesh Vashi
On Wed, Aug 17, 2016 at 10:12 PM, Guillermo E. Villanueva < guillermo...@gmail.com> wrote: > I have the next python function: > CREATE OR REPLACE FUNCTION fn_detalle() > RETURNS setof news AS > $$ > myquery=""" > select * > from news > """ > res = plpy.execute(myquery) > return res > $$ > LANGUAGE