Albrecht =?iso-8859-1?b?RHJl3w==?= <albrecht.dress@xxxxxxxxx> writes: > - How would a “mood” parameter be encoded when it is passed to the function? It's an OID, which you'd have to look up in the pg_enum catalog if you want to know the string representation. regards, tom lane