Is proc_name.variable_name a coding style? I thought it was namespace qualification? In Oracle sometimes you need it. Obviously it doesn't exist in pg.
proc_name.variable_name