Comment Comment by RedShift1 Use a tool like Postgraphile that does all that heavy lifting for you parent RedShift1 4 years ago