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

SOLVED Re: 1.3.9 & Postgresql 9.1 Contrib dir problem




 Seems it is working with this patch:

--- setup.pl-old 2011-12-18 21:33:44.000000000 +0000
+++ setup.pl 2011-12-18 21:33:19.000000000 +0000
@@ -58,7 +58,7 @@
                 password => $creds->{password}}
     );
     my $server_info = $database->server_version;
-    my @sv_info = split '.', $server_info;
+    my @sv_info = split (/'.'/, $server_info);
     if (($sv_info[0] > 9)or ($sv_info[0]  == 9 and $sv_info[1] >= 1)){
        if (! -f "$ENV{PG_CONTRIB_DIR}/tablefunc.control"){
             $request->error($request->{_locale}->text(

 

Cheers,

István

 

----------------eredeti üzenet-----------------
Feladó: "Pongrácz István" <..hidden..>
Címzett: "Development discussion for LedgerSMB" <..hidden..>
Dátum: Sun, 18 Dec 2011 19:04:30 +0100
----------------------------------------------------------



 Hi,

I found that, setup.pl cannot detect my database version, the sv_info array is empty, so, it tries to find the default: tablefunc.sql, which of course, does not exist.

Anyway, $server_info contains 9.1.2

Cheers,

István

----------------eredeti üzenet-----------------
Feladó: "Pongrácz István" <..hidden..>
Címzett: ..hidden..
Dátum: Sun, 18 Dec 2011 17:56:41 +0100
----------------------------------------------------------


Hi,

I expected that, after upgrade from 1.3.8 to 1.3.9 lsmb cannot find the contrib directory, even it wrote the correct path:

Cannot find Contrib scripts in /usr/share/postgresql/9.1/extension/

I tested with 1.3.4, it is working well.

I did not checked, what changed between 1.3.8 - 1.3.9, I had no time yet.

Cheers, István



------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for
developers. It will provide a great way to learn Windows Azure and what it
provides. You can attend the event by watching it streamed LIVE online.
Learn more at http://p.sf.net/sfu/ms-windowsazure


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

 



------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for
developers. It will provide a great way to learn Windows Azure and what it
provides. You can attend the event by watching it streamed LIVE online.
Learn more at http://p.sf.net/sfu/ms-windowsazure


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