Forum OpenACS Q&A: Response to PostreSQL version incompatibility and Query Dispatcher

You shouldn't need to name those .xql files with 7.2 in the
filename. Right now you can only have one queryset per .xql file,
but you can specify the RDBMS in the fullquery if you want to
override the RDBMS specified in the queryset. So you should be
able to do what you want there.