[Gambas-user] Postgres connection problem since upgrading to 3.11 form 3.9.2

PICCORO McKAY Lenz mckaygerhard at gmail.com
Wed May 16 14:10:57 CEST 2018


what method are you using for upgrade?

where from do you upgrade?

what proceduure was using for upgrade?

please test the connection with debbuger trace also!

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2018-05-16 1:12 GMT-04:00 Richard Terry <richard.h.terry at gmail.com>:

> Hi list
>
> I upgraded one machine accidentally to gambas 3.11 and now my medical
> software won't run
>
> As far as I can ascertain it dies one of our subs (part of which is listed
> below). If I put a breakpoint in it gets to the .Type='postresql' then
> errors out. If I step through the code line by line I get a seg-fault on
> the line * $hconn = New Connection.  *We have used this code since 2008
> without problems.
>
> ?any ideas, pointers.
>
>
> Thanks in advance.
>
> Richard
>
>
>
> Private Function Actual_Connect() As String
>
>   Dim ssh_path As String
>   Dim n As Integer = 0
>   Dim evt As Collection
>   Dim s As String
>
>   Try $hconn.Close
>   Try pg_socket_file.Close()
>   If Not IsNull(inferior_ssh) Then Try inferior_ssh.Kill()
>  * $hconn = New Connection*
>   With $hconn
> *    .Type = "postgresql"   << seems to die here*
>     .Login = conninfo!username
>     .Password = conninfo!password
>     .Name = conninfo!dbname
>   End With
>
>
> etc
>
>
> --------------------------------------------------
>
> This is the Gambas Mailing List:
> https://lists.gambas-basic.org/listinfo/user
>
> Search the list:
> https://lists.gambas-basic.org/cgi-bin/search.cgi
>
> Hosted by https://www.hostsharing.net
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180516/06b7cbd5/attachment.html>


More information about the User mailing list