Many thanks Regina for your help, I wondered why I was using OGR - I guess I got confused as I was trying this earlier with joining a shapefile dbf to postgresql, which is where my problem arose! I will figure this out over the next few days. Thanks again Mark