modification in attributes and recipes to support pg upgrade

Can you remove all the comments please.