Re: "any" to functions and function aliases

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

 



"Peter Koczan" <pjkoczan@xxxxxxxxx> writes:
> FUNCTION isnull("any", "any") postgres
> pg_restore: [archiver (db)] could not execute query: ERROR:  plpgsql
> functions cannot return type "any"
>     Command was: CREATE FUNCTION "isnull"("any", "any") RETURNS "any"

Use anyelement instead.

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

                http://www.postgresql.org/about/donate

[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