00-database-procs-postgresql.tcl

  • last updated 50 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
more debugging of workflow

  1. … 3 more files in changeset.
psql doesn't like -U without a username

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.

    • -11
    • +63
    ./00-database-procs-postgresql.tcl
  1. … 36 more files in changeset.
tested and fixed the template query db api

  1. … 26 more files in changeset.
added blobs switch to db_dml, so that update statements can be ported to write the content column directly

more cleanup of CR and blob support

    • -16
    • +82
    ./00-database-procs-postgresql.tcl
  1. … 3 more files in changeset.
converted apm to store package tarballs in the content repository

  1. … 7 more files in changeset.
added comment about db_dml -blob_files change

tested lob support for content-repository. converted photo upload in acs-subsite to use lobs instead of files

  1. … 9 more files in changeset.
finished porting portrait upload to work with CR

    • -16
    • +36
    ./00-database-procs-postgresql.tcl
  1. … 4 more files in changeset.
work on protrait upload

  1. … 5 more files in changeset.
more query extraction work

    • -10
    • +80
    ./00-database-procs-postgresql.tcl
  1. … 6 more files in changeset.
added tcl variable support to db api

  1. … 3 more files in changeset.
updated API of DB QD

  1. … 4 more files in changeset.

Call to psql to load datamodels needs to be done in the directory that

the datamodel lives in, as includes in psql are resolved relative to

the current working directoy. I missed this earlier - sqlplus resolves

includes relative to the loading .sql file itself.

Moved the bootstrap and installer stuff into their own mini-package, which

let me clean up the loading of acs-tcl a bit and isolate all the bits of

APM-knowledge required in the pre-acs-tcl bootstrapping process into a single

apm file. In general, bootstrap.tcl is cleaner and easier to read.

    • -0
    • +494
    ./00-database-procs-postgresql.tcl
  1. … 37 more files in changeset.