Ticket #1427 (closed defect: fixed)
totopogeom regress failure on 9.1
|Reported by:||robe||Owned by:||strk|
ERROR: column reference "layer_id" is ambiguous at character 323
I think its the plpgsql you are using with the way they changed the checking on what takes precedence in later versions to prevent unintentional side-effects.