sequence fix for postgresql
[?]
May 11, 2009, 1:56 PM
7ZSVXUGFXOI3BOJE37SXIT6MDN6AJRBCCJNEICYDMBJF5QOEY6BACDependencies
- [2]
SJLEZFC4check getHydraPath in stead of Envvar HYDRA_DBI directly - [3]
L2E6EVE2* Merged the Build and Job tables. - [4]
SJN2QPWH* Big speed-up of the job status page and the channel generation (such - [5]
7PYQLDQLAdded sequences for auto increment primary key columns (for PostgreSQL) - [6]
PHX2HIVG* Store info about the build inputs in the build record. - [*]
J5UVLXOK* Start of a basic Catalyst web interface.
Change contents
- edit in src/lib/Hydra/Schema/BuildInputs.pm at line 40
if (getHydraDBPath =~ m/^dbi:Pg/) {__PACKAGE__->sequence('builds_id_seq');} - edit in src/lib/Hydra/Schema/BuildInputs.pm at line 44
sub addSequence {my $hydradbi = getHydraDBPath ;if ($hydradbi =~ m/^dbi:Pg/) {__PACKAGE__->sequence('builds_id_seq');}} - edit in src/lib/Hydra/Schema/BuildInputs.pm at line 51
addSequence ; - replacement in src/lib/Hydra/Schema/Builds.pm at line 107
if (getHydraPath =~ m/^dbi:Pg/) {__PACKAGE__->sequence('builds_id_seq');sub addSequence {my $hydradbi = getHydraDBPath ;if ($hydradbi =~ m/^dbi:Pg/) {__PACKAGE__->sequence('builds_id_seq');} - edit in src/lib/Hydra/Schema/Builds.pm at line 128
addSequence;