[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

/opt/ledgersmb/LedgerSMB/Database.pm



Nibbling through errors installing 1.4.12.

580,591c580,584
<     # Install the plpgsql language unless it is there.
< 
<     my $plpgsql = $self->dbh->do( 
<               "SELECT count(*) FROM pg_language WHERE lanname='plpgsql'");
< 
<     # $plpgsql domain:  undef, -1, or count
<     unless ( defined($plpgsql) && $plpgsql > 0) {
<       $self->dbh->do("CREATE LANGUAGE plpgsql");
<       $self->dbh->commit;
<     }
< 
< 
---
>     # The statement below is likely to fail, because
>     # the language already exists. Unfortunately, it's an error.
>     # If it had been a notice, 
>     $self->dbh->do("CREATE LANGUAGE plpgsql");
>     $self->dbh->commit;


------------------------------------------------------------------------------
_______________________________________________
Ledger-smb-devel mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel