Magnus Hagander <mag...@hagander.net> writes: > Throwing an error seems a lot more safe in this case than just > returning NULL. Since it's a situtation that really shouldn't happen. > Maybe an assert, but I think a regular ereport(ERROR) would be the > best.
Not an assert, since it's trivially user-triggerable. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers