Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jootQ-0004JS-DP for pgsql-general@arkaria.postgresql.org; Fri, 26 Jun 2020 13:59:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jootP-0004wO-Ap for pgsql-general@arkaria.postgresql.org; Fri, 26 Jun 2020 13:59:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jootN-0004vn-FW for pgsql-general@lists.postgresql.org; Fri, 26 Jun 2020 13:59:47 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jootJ-0008E7-2z for pgsql-general@lists.postgresql.org; Fri, 26 Jun 2020 13:59:45 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 2003A5C0130; Fri, 26 Jun 2020 09:59:38 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 26 Jun 2020 09:59:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=L herPCHuLFoPOe1Y+kKYq0DSYNhZ1Z8jfXA6PjHunqc=; b=cMIxUX3dJZ0pSWl/L iqKMwiRRSU2u9+xEsPg8FX0bx8vG6aKoaKEpO6sTxEHK7mMMOJY9sdHfZbF9HkK2 1Wsb2e+OQXdsIV/bMjQdIDXMyKgCg1XzloeE1WHZFEFwaWOSe9kXHzAAIJ6O2WZQ a+Ys3s5w6KaqthikUEuHN2O4NWLQFMzKSSjHTyNLqQ1LzNeyv3HAp/ahFmLtDvFI WgW9tWbbvRI8eMVCTeXxbPW0vQPciIxhjOWor+gr7RCRAlQ6ox3MIVhN+FpuxQqn aNMOr7i3ueFVxx1vUeXjWA6zkBY52WnHEOnluE+rSxQuGQxMSpmd2qBRVSXyCZn5 MUrNA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=LherPCHuLFoPOe1Y+kKYq0DSYNhZ1Z8jfXA6PjHun qc=; b=D79DFVeIapmhUx4McSa9s7A2DDDpDEIkxTGYPOudEb+ci7ShE3AuTiIYY olMZqwYZscr6e/tsJo0TOsQrFHa8enxh4Y+kIsxjftegHyr9tg66iDyZoNoQ+On2 Ju1MpOZikXzkig/Fvv3VdHfpo1W0qgIwHNXCJNnl9zUKHxUcOcjy9jZDxOMpqxVt MawTTAWVznyOZ8BiRzmeixMZSFlirwx26LXH5ujUv0nq7zlZbFFVafwJBPJXTIKJ Mnnj4rlAHcbsGmz5x9cFqWHaS33veO3qQ4ZTY9IQeOsioRQoO8erLcTj8mafe9c8 Uemytrhd6U8CPtubl6eGljcClw/eQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudeluddgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtje ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepteejvdetff ejuedvleeifeefheeutdfhgfdvhffhhfekvdduveegvdejudefgfevnecukfhppeejhedr udejvddrhedrvdefudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: from [192.168.1.3] (75-172-5-231.tukw.qwest.net [75.172.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 354753067925; Fri, 26 Jun 2020 09:59:37 -0400 (EDT) Subject: Re: Connecting Powerbuilder / EAserver to PostgreSQL server 11 via ODBC or JDBC To: Matthias Apitz , pgsql-general@lists.postgresql.org References: <20200626133135.GA9806@sh4-5.1blu.de> From: Adrian Klaver Message-ID: <7b2cdded-904d-4ec5-7c8c-9d41aae7880a@aklaver.com> Date: Fri, 26 Jun 2020 06:59:36 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <20200626133135.GA9806@sh4-5.1blu.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 6/26/20 6:31 AM, Matthias Apitz wrote: > > Hello, > > After the very successful migration of our Library Management System > (which uses ESQL/C, DBI, JDBC) together with PostgreSQL 11.4, we want to do the > same with another LMS written in Powerbuild, running in an EAServer and > currently using Sybase ASE as DBS. > > There is an error situation already on the connection phase, the ODBC > debug logs show that the connection establishment and authentication to > the PostgreSQL server is fine (also the disconnect), but the EAServer > makes an error out of this and returns to the Powerbuilder software that > the connection is invalid, > raising some error 999 without saying much in the log files what this > could mean or is caused from. A quick search found that this code be returned if the correct server type is not specified in EAServer. > > I know this is difficult to analyze with all this proprietary software > stack, but my first question here is: anybody out here who could manage > such an architecture successful working? > > And please do not send hints of the type, rewrite everything in Java or > Visual Basic, as this is not an option :-) > > Thanks > > matthias > -- Adrian Klaver adrian.klaver@aklaver.com