• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Whitespace cleanup

    • -60
    • +60
    /openacs-4/packages/acs-tcl/tcl/apm-procs.xql
Reduce divergency between oracle and postgres codebase

Reintroduce :num_count variable in postgres query, as for oracle counterpart (for postgres, 15 was hardcoded)

Notes:

- :num_count comes from a parameter, defaulting to 100, instead of 15

- postgres 9.5 introduced table sampling, similar to what oracle does (but with different syntax)

- this postgres query would be portable, except for random()... maybe the random value could come from tcl...

Reduce divergency between oracle and postgres codebase

Whitespace cleanup

Reduce divergency between oracle and postgres codebase

Use fully-qualified api names

Indentation changes

Deprecate obsolete api

No need to explicitly delete reading info, as both oracle and postgres define the reference constraint as on delete cascade

Use fully-qualified api names

Use fully-qualified api names, assume message is there (something went very wrong otherwise)

Reduce divergency between oracle and postgres codebase

Reduce divergency between oracle and postgres codebase

Whitespace cleanup

Deprecate obsolete api

Implement operation in a way that oracle is supported

Whitespace cleanup

Reduce divergency between oracle and postgres codebase

Remove leftover test code

Reduce divergency between oracle and postgres codebase

Remove duplicated page properties, fix URL by using export_vars

Reduce divergency between oracle and postgres codebase

Reduce divergencies between oracle and postgres codebase

Reduce divergency between oracle and postgres codebase

Reduce divergency between oracle and postgres codebase

Remove leftover xql files

Whitespace cleanup

Reduce divergency between oracle and postgres codebase, bring portable sql inline

Remove leftover xql files