Benjamin Stookey <[EMAIL PROTECTED]> writes: > My question is, can I somehow give permissions to the > function, but not to the user to protect the counter > table from being modified in any ways I don't want?
Label the function SECURITY DEFINER. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings