Project

General

Profile

Statistics
| Revision:
  • svn:ignore: extern

# Date Author Comment
14143 07/19/2014 05:47 PM Aaron Marcuse-Kubitza

schemas/util.sql: added CAST (util.table_item AS util.col)

14142 07/19/2014 05:37 PM Aaron Marcuse-Kubitza

schemas/util.sql: derived_col_defs(): return derived_col_def instead of check_constraint_def

14141 07/19/2014 05:36 PM Aaron Marcuse-Kubitza

schemas/util.sql: added derived_col_def type with cast from util.check_constraint_def

14140 07/19/2014 04:51 PM Aaron Marcuse-Kubitza

schemas/util.sql: added derived_col_defs()

14139 07/19/2014 04:35 PM Aaron Marcuse-Kubitza

schemas/util.sql: check_constraint_defs(): use new util.check_constraint view

14138 07/19/2014 04:30 PM Aaron Marcuse-Kubitza

schemas/util.sql: added check_constraint view

14137 07/19/2014 03:53 PM Aaron Marcuse-Kubitza

schemas/util.sql: added check_constraint_defs()

14136 07/19/2014 03:53 PM Aaron Marcuse-Kubitza

schemas/util.sql: added check_constraint_def type

14135 07/19/2014 03:51 PM Aaron Marcuse-Kubitza

schemas/util.sql: added table_item type

14134 07/19/2014 01:59 PM Aaron Marcuse-Kubitza

schemas/util.sql: col_ref: renamed to just col

14133 07/19/2014 01:38 PM Aaron Marcuse-Kubitza

web/username_prefix.php: remove padding used to visually separate elements: documented that this leaves embedded _ (eg. x_y) untouched

14132 07/19/2014 02:52 AM Aaron Marcuse-Kubitza

fix: inputs/.TNRS/schema.sql: taxon_match: to populate a new column: also need to recluster table so rows are exported in sorted order

14131 07/19/2014 02:47 AM Aaron Marcuse-Kubitza

schemas/util.sql: cluster(): support omitting index to recluster a table

14130 07/19/2014 02:26 AM Aaron Marcuse-Kubitza

schemas/util.sql: cluster_once(): use util.cluster()

14129 07/19/2014 02:24 AM Aaron Marcuse-Kubitza

schemas/util.sql: cluster_once(): documented that this runs cluster only once if called repeatedly

14128 07/19/2014 02:24 AM Aaron Marcuse-Kubitza

schemas/util.sql: added cluster(), which reclusters each time

14127 07/19/2014 02:10 AM Aaron Marcuse-Kubitza

schemas/util.sql: cluster_once(): use simpler `LANGUAGE sql` now that we're using util.eval() instead of EXECUTE

14126 07/19/2014 02:03 AM Aaron Marcuse-Kubitza

schemas/util.sql: cluster_once(): use util.eval() instead of EXECUTE to print the CLUSTER statement (if any) it's using

14125 07/18/2014 11:40 PM Aaron Marcuse-Kubitza

fix: inputs/.TNRS/schema.sql: taxon_match: cluster the table so the rows are always exported in the same order, even when an UPDATE statement is used to run triggers

14124 07/18/2014 11:28 PM Aaron Marcuse-Kubitza

bugfix: schemas/util.sql: cluster_once(): need to use just the name of the index, without the schema prefix

14123 07/18/2014 05:00 PM Aaron Marcuse-Kubitza

schemas/util.sql: cluster_once(): use simpler IS DISTINCT FROM instead of array !=

14122 07/18/2014 03:18 PM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: added _accepted{genus,specific_epithet} derived column, using the steps at wiki.vegpath.org/Postgres_queries#maintaining-derived-column-formulas-across-column-renames

14121 07/18/2014 02:01 AM Aaron Marcuse-Kubitza

web/username_prefix.php: remove padding used to visually separate elements: documented that this also removes a leading __ that indicates an internal field

14120 07/17/2014 07:18 PM Aaron Marcuse-Kubitza

web/links/index.htm: updated to Firefox bookmarks: Quick links: added VegBIEN data dictionary spreadsheet, TNRS data dictionary.

14119 07/17/2014 06:15 PM Aaron Marcuse-Kubitza

fix: web/username_prefix.php: transposes: changed recommended syntax to y~x@url so that _y~ lines up vertically with [y] paths

14118 07/17/2014 06:11 PM Aaron Marcuse-Kubitza

web/username_prefix.php: removed special category comments syntax because this is now handled by transposes and insertion comments

14117 07/17/2014 06:10 PM Aaron Marcuse-Kubitza

web/username_prefix.php: added support for transposes ( y~x_@url -> x_y@url , Y~x@url -> xY@url ), which can be used to put the category in a column name first without duplicating the category

14116 07/17/2014 05:35 PM Aaron Marcuse-Kubitza

web/username_prefix.php: removed linewraps code because Google spreadsheets no longer supports wrapping on a - , and because a shorter syntax for category comments is now available

14115 07/17/2014 05:32 PM Aaron Marcuse-Kubitza

web/username_prefix.php: category comments: moved _-_ outside [] in comparison example since it will be deleted separately

14114 07/17/2014 05:27 PM Aaron Marcuse-Kubitza

bugfix: web/username_prefix.php: category comments: need /__/ around regexp

14113 07/17/2014 05:24 PM Aaron Marcuse-Kubitza

web/username_prefix.php: category comments: added support for a shorter syntax than [x_-_]y@url : x+y@url -> y@url

14112 07/17/2014 04:14 PM Aaron Marcuse-Kubitza

schemas/vegbien.ERD.mwb: updated

14111 07/17/2014 04:13 PM Aaron Marcuse-Kubitza

fix: inputs/.TNRS/schema.sql: taxon_match: added back * prefixes on TNRS-namespace column names

14110 07/17/2014 03:34 PM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: MatchedTaxon: taxon_best_match: don't alias to `s` since this is no longer a nested select

14109 07/17/2014 03:32 PM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: MatchedTaxon: nested select: use just taxon_best_match since this no longer performs renamings

14108 07/17/2014 03:27 PM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: MatchedTaxon: renamed output columns to match input columns, so that the nested select would not be performing any renamings

14107 07/17/2014 03:05 PM Aaron Marcuse-Kubitza

fix: inputs/.TNRS/schema.sql: MatchedTaxon: added all columns from taxon_match (some of them apparently hadn't been included in MatchedTaxon)

14106 07/17/2014 03:01 PM Aaron Marcuse-Kubitza

fix: inputs/.TNRS/schema.sql: reordered columns to match taxon_match

14105 07/17/2014 02:38 PM Aaron Marcuse-Kubitza

fix: inputs/.TNRS/schema.sql: MatchedTaxon: added all columns from taxon_match (some of them apparently hadn't been included in MatchedTaxon)

14104 07/17/2014 01:02 PM Aaron Marcuse-Kubitza

fix: inputs/.TNRS/schema.sql: added back Family_matched, which had gotten merged with Name_matched_accepted_family when TNRS temporarily stopped populating Name_matched_accepted_family

14103 07/17/2014 12:32 PM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: MatchedTaxon: taxonomicStatus: moved outside the inner SELECT so that the inner SELECT would consist solely of renamings

14102 07/17/2014 12:12 PM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: MatchedTaxon: removed unneeded "Name_matched." prefix on source-specific names (only the * is needed because there is only one table)

14101 07/17/2014 12:10 PM Aaron Marcuse-Kubitza

bugfix: schemas/util.sql: view_is_subset(): auto-updatable views that are not plain subsets: include ones with WHERE clauses

14100 07/17/2014 12:03 PM Aaron Marcuse-Kubitza

bugfix: schemas/util.sql: view_is_subset(): also need to handle auto-updatable views that are not plain subsets (there are some of these)

14099 07/17/2014 09:05 AM Aaron Marcuse-Kubitza

bin/import_all: hidden_srcs(): removed `by_col=1` because these should be done in the same mode as the main datasources

14098 07/16/2014 07:55 PM Aaron Marcuse-Kubitza

schemas/public_.sql: removed no longer used threatened_taxonlabel. use iucn_red_list instead.

14097 07/16/2014 07:39 PM Aaron Marcuse-Kubitza

fix: schemas/public_.sql: analytical_stem_view: don't use threatened_taxonlabel, which was never populated correctly. instead, this can eventually be rewritten to use new iucn_red_list.

14096 07/16/2014 07:13 PM Aaron Marcuse-Kubitza

bin/make_analytical_db: removed threatened_taxonlabel because this is now handled by iucn_red_list

14095 07/16/2014 07:12 PM Aaron Marcuse-Kubitza

bin/make_analytical_db: added iucn_red_list_view_modify()

14094 07/16/2014 06:48 PM Aaron Marcuse-Kubitza

bin/make_analytical_db: removed unused code to create views in the analytical_db schema

14093 07/16/2014 06:35 PM Aaron Marcuse-Kubitza

bin/make_analytical_db: merged mk_table and mk_analytical_table since they now do the same thing

14092 07/16/2014 06:34 PM Aaron Marcuse-Kubitza

bin/make_analytical_db: removed unused code to create views in the analytical_db schema

14091 07/16/2014 05:05 PM Aaron Marcuse-Kubitza

/README.TXT: Notes on system stability: added warning that when shutting down the VM, one should always first stop Postgres, to prevent the OS from SIGKILLing it

14090 07/16/2014 05:04 PM Aaron Marcuse-Kubitza

inputs/SALVIAS/Source/header.csv: updated

14089 07/16/2014 03:50 PM Aaron Marcuse-Kubitza

bugfix: bin/with_all: isset(): need to use `&>/dev/null` instead of `>&-`, etc because closing an fd causes declare to return false

14088 07/16/2014 03:31 PM Aaron Marcuse-Kubitza

bugfix: bin/with_all, import_all: don't disown processes because they should be auto-killed if the shell is (disown was only needed before we used screen)

14087 07/16/2014 03:24 PM Aaron Marcuse-Kubitza

bugfix: Full database import: need nested shell to prevent errexit from closing the window

14086 07/16/2014 01:24 PM Aaron Marcuse-Kubitza

bugfix: schemas/public_.sql: analytical_stem_view_modify(): added columns: need to include COMMENT statements

14085 07/16/2014 01:21 PM Aaron Marcuse-Kubitza

bugfix: schemas/util.sql: comment(element oid): need `objsubid = 0` filter so this doesn't use comments for any other objsubids

14084 07/16/2014 12:53 PM Aaron Marcuse-Kubitza

schemas/public_.sql: added iucn_red_list_view_modify() and use it in iucn_red_list_view's "after updating this" instructions

14083 07/16/2014 12:47 PM Aaron Marcuse-Kubitza

bugfix: schemas/util.sql: rematerialize_view(): also need to handle the target table's dependent views

14082 07/16/2014 12:38 PM Aaron Marcuse-Kubitza

bugfix: schemas/util.sql: mk_drop_from_create(): need to use `IF EXISTS` so that the resulting statement also works if the target object does not yet exist

14081 07/16/2014 12:24 PM Aaron Marcuse-Kubitza

schemas/util.sql: mk_drop_from_create(): also support `SELECT util.drop_*()` statements, in addition to DROP

14080 07/16/2014 11:37 AM Aaron Marcuse-Kubitza

inputs/.TNRS/Source/test.xml.ref: updated

14079 07/15/2014 11:14 PM Aaron Marcuse-Kubitza

bugfix: /README.TXT: logs glob: don't unintentionally match . or ..

14078 07/15/2014 10:43 PM Aaron Marcuse-Kubitza

inputs/VegBank/stemlocation_/test.xml.ref: updated

14077 07/15/2014 10:41 PM Aaron Marcuse-Kubitza

/README.TXT: Full database import: `make test by_col=1`: updated runtime (1 h)

14076 07/15/2014 10:07 PM Aaron Marcuse-Kubitza

inputs/TEX/Specimen2/test.xml.ref: updated

14075 07/15/2014 09:35 PM Aaron Marcuse-Kubitza

inputs/GBIF/raw_occurrence_record_plants/test.xml.ref: updated

14074 07/15/2014 05:44 PM Aaron Marcuse-Kubitza

bugfix: lib/sql_io.py: put_table(): handle_MissingCastException(): when updating join_cols, don't add new entry for join_cols[out_col], only update existing one. this fixes #902 (import bug), and with #902 fixed, #887 (disk space leak) should no longer occur.

14073 07/15/2014 04:49 PM Aaron Marcuse-Kubitza

bin/import_all: delete_logs(): documented that `trap EXIT` doesn't run until shell exit

14072 07/15/2014 04:48 PM Aaron Marcuse-Kubitza

bin/import_all: delete_logs(): print when this happens, so it can be verified that it's happening properly

14071 07/15/2014 04:32 PM Aaron Marcuse-Kubitza

bugfix: bin/import_all: need to run delete_logs manually because `trap EXIT` doesn't run until bg cmds done

14070 07/15/2014 04:28 PM Aaron Marcuse-Kubitza

bin/import_all: delete_logs: moved testing of whether to delete logs to delete_logs() so that delete_logs() can be run regardless of the $delete_logs setting

14069 07/15/2014 03:58 PM Aaron Marcuse-Kubitza

bugfix: bin/import_all: delete_logs(): also need to match log filenames when n=""

14068 07/15/2014 03:11 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: postgres_restart-*: argument to echo always needs quotes

14067 07/15/2014 03:05 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: $(pg_ctl-*): tell user that if it doesn't work, need to run `rm $(macPostgresDir)/postmaster.pid` and retry

14066 07/15/2014 02:57 PM Aaron Marcuse-Kubitza

/Makefile: $(pg_ctl-Darwin): documented the pg_ctl version of this command in case `brew services` doesn't work

14065 07/15/2014 02:39 PM Aaron Marcuse-Kubitza

bugfix: bin/with_all: isset(): need to use `>&- 2>&-` because &> does not work with - as the dest

14064 07/15/2014 01:19 PM Aaron Marcuse-Kubitza

fix: config/VirtualBox_VMs/vegbiendev/README.TXT: to test the import: determine if the revision works: use the in# of the query instead of waiting an arbitrary time, because this is more accurate in determining whether the import is successful

14063 07/15/2014 12:52 PM Aaron Marcuse-Kubitza

config/VirtualBox_VMs/vegbiendev/README.TXT: regressions that occurred during the revision range: named these "concurrent regressions"

14062 07/15/2014 12:45 PM Aaron Marcuse-Kubitza

fix: config/VirtualBox_VMs/vegbiendev/README.TXT: to test the import: need to update system time so wait times can be calculated correctly

14061 07/15/2014 12:22 PM Aaron Marcuse-Kubitza

config/VirtualBox_VMs/vegbiendev/README.TXT: to test the import: documented that the patches are specifically for regressions that occurred during the revision range, not all bugs that were fixed in that range

14060 07/15/2014 12:14 PM Aaron Marcuse-Kubitza

bugfix: config/VirtualBox_VMs/vegbiendev/README.TXT: to test the import: waiting for query: increased time to min. 10 min because some revisions take longer

14059 07/15/2014 12:09 PM Aaron Marcuse-Kubitza

fix: config/VirtualBox_VMs/vegbiendev/README.TXT: to test the import: bin/import_all: added step to type y and press ENTER

14058 07/15/2014 12:07 PM Aaron Marcuse-Kubitza

config/VirtualBox_VMs/vegbiendev/README.TXT: to test the import: added steps to determine if the revision works, and then stop the import

14057 07/15/2014 11:27 AM Aaron Marcuse-Kubitza

bugfix: config/VirtualBox_VMs/vegbiendev/README.TXT: to test the import: bugfixes: added r12994

14056 07/15/2014 11:09 AM Aaron Marcuse-Kubitza

config/VirtualBox_VMs/vegbiendev/README.TXT: to test the import: bugfixes: use for loop to avoid needing to repeat the command

14055 07/15/2014 11:05 AM Aaron Marcuse-Kubitza

bugfix: config/VirtualBox_VMs/vegbiendev/README.TXT: to test the import: bugfixes: added r12760

14054 07/15/2014 10:54 AM Aaron Marcuse-Kubitza

bugfix: config/VirtualBox_VMs/vegbiendev/README.TXT: to test the import: bugfixes: --fuzz apparently needs to be 3 even though we have only 2 lines of context

14053 07/15/2014 10:52 AM Aaron Marcuse-Kubitza

bugfix: config/VirtualBox_VMs/vegbiendev/README.TXT: to test the import: bugfixes: use --fuzz to allow patching even when surrounding lines have changed

14052 07/15/2014 10:44 AM Aaron Marcuse-Kubitza

config/VirtualBox_VMs/vegbiendev/README.TXT: to test the import: bugfixes: sorted by revision #

14051 07/15/2014 10:43 AM Aaron Marcuse-Kubitza

bugfix: config/VirtualBox_VMs/vegbiendev/README.TXT: to test the import: bugfixes: added r12865

14050 07/15/2014 10:33 AM Aaron Marcuse-Kubitza

bugfix: config/VirtualBox_VMs/vegbiendev/README.TXT: patch: need to use --force to avoid prompting user

14049 07/15/2014 10:16 AM Aaron Marcuse-Kubitza

bugfix: config/VirtualBox_VMs/vegbiendev/README.TXT: `svn revert`: need to use `--depth infinity` when reverting more than a file

14048 07/15/2014 10:14 AM Aaron Marcuse-Kubitza

bugfix: config/VirtualBox_VMs/vegbiendev/README.TXT: use `patch` instead of `svn merge` because `svn merge` sometimes inexplicably doens't apply patches

14047 07/15/2014 09:43 AM Aaron Marcuse-Kubitza

config/VirtualBox_VMs/vegbiendev/README.TXT: to test the import: bugfixes: `svn revert` all changes instead of specific files, to support bugfixes to other files

14046 07/15/2014 09:42 AM Aaron Marcuse-Kubitza

config/VirtualBox_VMs/vegbiendev/README.TXT: to test the import: lib/sh/util.sh bugfix: use `svn merge` instead of `sed --in-place` because this can be used for more complex changes

14045 07/15/2014 09:41 AM Aaron Marcuse-Kubitza

config/VirtualBox_VMs/vegbiendev/README.TXT: to test the import: lib/sh/util.sh bugfix: documented revision

14044 07/15/2014 09:20 AM Aaron Marcuse-Kubitza

bugfix: config/VirtualBox_VMs/vegbiendev/README.TXT: to test the import: need to apply r12872 bugfix to lib/sh/util.sh because it occurred after r12025