Boszormenyi Zoltan escribió: > May I change the interface of XactLockTableWait() > and MultiXactIdWait()? Not the return value, only the number > of parameters. E.g. with the relation name, like in the attached > patch. This solves the problem of bad error messages... > What do you think?
We already present such locks as being on transaction id such-and-such, not on relations. IMHO the original wording (waiting on transaction NNN) is okay; you don't need to fool around with passing around a relation name (which is misleading anyway). If you want to provide a friendlier way to display tuple locks, that's okay but it's a separate patch. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers