Re: plpythonu: how to catch plpy.execute() exceptions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dragos Valentin Moinescu <dragos.moinescu@xxxxxxxxx> writes:
> The thing is that I cannot catch the exception raised by plpy.execute().

Yeah, plpython's error handling is fundamentally broken.  Somebody
needs to rewrite it to be more like the other PLs.  In the meantime,
I'd suggest using plperl, which has gotten a lot more love than
plpython ever did.

			regards, tom lane

-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux