2 ===================================================================
3 --- addpoints (revision 2897)
4 +++ addpoints (working copy)
9 + if ($Opt{'type'} =~ /suuid/) {
10 + if (open(FromFP, "<$Currfile")) {
11 + while (my $Line = <FromFP>) {
12 + # Version description from suuid r2886 (04c64336-f744-11dd-bddd-000475e441b9):
13 + # Version 1 (same as above, but with version field):
36 + if ($Line =~ # Version 1
45 + $Data{'version'} = $1;
49 + $Data{'comment'} = $5;
51 + elsif ($Line =~ # Version 2
61 + $Data{'version'} = $1;
65 + $Data{'comment'} = $5;
66 + $Data{'currdir'} = $5;
68 + elsif ($Line =~ # Version 3
79 + $Data{'version'} = $1;
83 + $Data{'comment'} = $5;
84 + $Data{'currdir'} = $5;
85 + $Data{'username'} = $5;
89 +INSERT INTO suuid (version, suuid, date, tag, comment, currdir, username) VALUES (
93 + warn("$progname: $Currfile: Cannot open file for read: $!\n");
96 if ($Opt{'type'} =~ /track/) {
98 "gpst -o pgtab -d -rpt $Currfile | " .
99 Index: postgres/create_table.sql
100 ===================================================================
101 --- postgres/create_table.sql (revision 2897)
102 +++ postgres/create_table.sql (working copy)
104 lastupdate timestamptz,
108 +CREATE TABLE suuid (