I'm using postgresql 7.3.4 and there have been a bunch of instances of sql breaking in pages. I know that 7.3.4 isn't the recommended version, but I'd like to stick with it if I can. I've been able to fix the sql problems I've run into -- mostly a couple of different things that happen in a lot of places.
If sql queries have been separated out into .xql files by db type, can this be taken one step further by db type version? amazing-package-postgresql-7.2.1.xql, amazing-package-7.3.4.xql, amazing-package-oracle-20i.xql... so that it's easier to support version-specific sql changes?
Or is there a better way within the file itself?