port pgrest_select and make it injectable
instructions