apm-install-procs-postgresql.xql

  • last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Adding the before-upgrade and after-upgrade callback types. To go along with the upgrade callbacks Lars added the excellent apm_upgrade_logic proc that lets you specify arbitrary pieces of Tcl code to be executed on upgrade from version X to version Y. The proc figures out which upgrade code chunks to source and in which order (with the same logic as with the traditional upgrade sql scripts). Making paths to sql files (create, drop, upgrade) and catalog files (I18N) be fetched directly from the filesystem rather than from the info file. The file listings in the info files and in the database are now AFAIK superfluous and have no influence on the system. Adding proc apm_watch_all_files for watching all files in a package. Bumping up version name from 4.5 to 4.7.2d

  1. … 5 more files in changeset.
deprecating apm_package_instantiate_and_mount. Adding auto-mounting of packages to the apm_package_install proc. Removing a few inline queries that are not used.

  1. … 2 more files in changeset.
Fixing APM dependency bug. When installing new packages, the version comparison among the packages to install would use a simple Tcl comparison rather than the version_name_greater plsql proc (i.e. version 0.1a would be considered less than 0.1d). I changed to use the plsql proc instead

  1. … 2 more files in changeset.
- Missing comma in apm_package_instantiate_and_mount

Fixed problem with two different queries in apm_upgrade_script_compare with the same name that caused upgrade scripts to be run in the wrong order.

  1. … 2 more files in changeset.

1. Added a new attribute to the .info file which tells the bootstrap

installer whether or not a package is part of the acs-core. Only

acs-core packages are now installed during the initial bootstrap install

of the system.

2. Fixed a dupe query name problem in a couple of queryfiles. The problem

is not with the dispatcher but with the extractor, and for the moment it

is just easier to kludge the resulting queryfile than fix the extractor.

  1. … 36 more files in changeset.

1. Ripped out the '' vs. NULL string kludge, which was a stupid idea in the

first place (MY stupid idea, for the record).

2. More .xql file porting...

  1. … 23 more files in changeset.

More porting of the APM is complete! Nearly done, a bug in the datamodel

API and we need to convert from direct use of blobs to using the

content repository.

  1. … 11 more files in changeset.
changed case type to boolean

query extractor output for acs-tcl

    • -77
    • +252
    ./apm-install-procs-postgresql.xql
  1. … 41 more files in changeset.
new version of QD with better handling of absolute/relative paths

  1. … 10 more files in changeset.
query dispatcher now works with global RDBMS tags, and attempts to work on relative paths (although that's not finalized)

  1. … 3 more files in changeset.

Big 'ole update to implement multi-db aware packages. Don't try this yet,

I can't *possibly* have gotten all the right files added and removed in

one fell swoop!

    • -0
    • +97
    ./apm-install-procs-postgresql.xql
  1. … 118 more files in changeset.