[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
/opt/ledgersmb/LedgerSMB/Database.pm
- Subject: /opt/ledgersmb/LedgerSMB/Database.pm
- From: "R. Ransbottom" <..hidden..>
- Date: Mon, 3 Aug 2015 15:43:17 -0400
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