author | Adrien Di Mascio <Adrien.DiMascio@logilab.fr> |
Thu, 18 Mar 2010 17:16:17 +0100 | |
branch | stable |
changeset 4942 | 8f4002f41b26 |
parent 4941 | ec27aea9632b (diff) |
parent 4939 | 349af486f5ed (current diff) |
child 4946 | 2654cd5c87e0 |
--- a/schemas/_regproc_bss.postgres.sql Thu Mar 18 15:51:53 2010 +0100 +++ b/schemas/_regproc_bss.postgres.sql Thu Mar 18 17:16:17 2010 +0100 @@ -32,7 +32,7 @@ 'SELECT X.cw_%s FROM cw_%s as X WHERE X.cw_eid=$1' % (args[2], args[1]), ['bigint']) SD[pkey] = plan - return plpy.execute(plan, [args[0]])[0] + return plpy.execute(plan, [args[0]])[0]['cw_' + args[2]] $$ LANGUAGE plpythonu /* WITH(ISCACHABLE) XXX does postgres handle caching of large data nicely */ ;;