schema-browser-procs-postgresql.tcl

  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move api in a namespace to comply with automated tests

    • -15
    • +17
    ./schema-browser-procs-postgresql.tcl
  1. … 2 more files in changeset.
Document public api

  1. … 1 more file in changeset.
Replace calls to deprecated call "util_commify_number"

Use lc_numeric instead

modernize tcl

  1. … 3 more files in changeset.
whitespace cleanup

    • -68
    • +75
    ./schema-browser-procs-postgresql.tcl
fix schema browser for PostgreSQL 12 or newer

    • -46
    • +15
    ./schema-browser-procs-postgresql.tcl
Modernize tcl

    • -64
    • +51
    ./schema-browser-procs-postgresql.tcl
Fix typos

  1. … 17 more files in changeset.
Bug fix: avoid confusion between text argument and option, when text starts with "-"

  1. … 36 more files in changeset.
- standardize url construction to protect against injection attacks

  1. … 3 more files in changeset.
- replace deprecated "util_convert_plaintext_to_html" by "ad_text_to_html"

  1. … 2 more files in changeset.
- improve rebustness

- replace deprecated calls => export_vars

  1. … 16 more files in changeset.
- fix schema browser such it does not spit out errors on openacs.org

    • -9
    • +12
    ./schema-browser-procs-postgresql.tcl
The sb_get_table_size proc now handles non-existing tables more gracefully.

    • -6
    • +20
    ./schema-browser-procs-postgresql.tcl
- Updated to use the site template

- Added info on table size and number of rows to postgresql table description

    • -1
    • +40
    ./schema-browser-procs-postgresql.tcl
  1. … 5 more files in changeset.
- Updated to use the site template

- Added info on table size and number of rows to postgresql table description

    • -0
    • +39
    ./schema-browser-procs-postgresql.tcl
  1. … 5 more files in changeset.
pg_relcheck was replaced by pg_constraint in postgres 7.3 and

later. Code allows for both, but was only using the right one for 7.3

exactly, not 7.3 and above.

fixed for PG 7.3 catalog change

    • -10
    • +36
    ./schema-browser-procs-postgresql.tcl
tacks an arg on to sb_get_indexes so that you can have it generate the primary key index as well. Kludge though.

    • -4
    • +10
    ./schema-browser-procs-postgresql.tcl
fix bug with ordering of columns on index display, dont memoize sb_get_table_description since you probably actually care it's up to date

    • -2
    • +11
    ./schema-browser-procs-postgresql.tcl
  1. … 1 more file in changeset.
cleanup javadoc tags (eg @cvs_id @cvs @cvs-id: instead if @cvs-id)

    • -11
    • +10
    ./schema-browser-procs-postgresql.tcl
  1. … 692 more files in changeset.
correct queries for both 7.1 and 7.2 also adds the table comment and a link to any referenced tables. patch 290 for bug 1580

    • -2
    • +30
    ./schema-browser-procs-postgresql.tcl

Mostly added the schema-browser, some other minor fixes ...

    • -0
    • +459
    ./schema-browser-procs-postgresql.tcl
  1. … 12 more files in changeset.