Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j5PRm-0003j9-Fv for pgsql-general@arkaria.postgresql.org; Sat, 22 Feb 2020 07:43:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j5PRj-0003GT-Sw for pgsql-general@arkaria.postgresql.org; Sat, 22 Feb 2020 07:43:31 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j5PRj-0003GM-Ao for pgsql-general@lists.postgresql.org; Sat, 22 Feb 2020 07:43:31 +0000 Received: from portal-smtp-out.hot.ee ([194.126.101.125]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j5PRb-0000gC-25 for pgsql-general@postgresql.org; Sat, 22 Feb 2020 07:43:29 +0000 Received: from localhost (localhost [127.0.0.1]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id D5B721BC9; Sat, 22 Feb 2020 09:43:19 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at vm-hot-relay10.estpak.ee Received: from portal-smtp-out.hot.ee ([127.0.0.1]) by localhost (vm-hot-relay10.estpak.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Sre6eJp0VpI7; Sat, 22 Feb 2020 09:43:17 +0200 (EET) Received: from mail.hot.ee (hot-relayhost2.estpak.ee [213.180.2.80]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 9C3E91A3F; Sat, 22 Feb 2020 09:43:17 +0200 (EET) Received: from dell2 (82.131.29.78.cable.starman.ee [82.131.29.78]) (Authenticated sender: kobruleht2) by HOT-Relayhost2.estpak.ee (Postfix) with ESMTPSA id 48PgKw2jPQz3VR; Sat, 22 Feb 2020 09:43:15 +0200 (EET) Message-ID: <27F993790FC643D9A519FD08C5666628@dell2> From: "Andrus" To: "Adrian Klaver" Cc: "pgsql-general" References: <17D45FF45E284520968B1A3283D4E960@dell2> <27e83100-7275-9ef7-3ad7-938207e9694f@aklaver.com> In-Reply-To: <27e83100-7275-9ef7-3ad7-938207e9694f@aklaver.com> Subject: Re: How to fix 0xC0000005 exception in Postgres 9.0 Date: Sat, 22 Feb 2020 09:43:10 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3528.331 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi! >To me the relevant part of the log is below. Not sure what it means though: >[3604-0.187] execute.c[Exec_with_parameters_resolved]444: >stmt_with_params = ';SELECT * FROM temptulemus offset 0 limit 900' >[3604-0.187] execute.c[Exec_with_parameters_resolved]449: about to begin >SC_execute >[3604-0.187]statement.[SC_execute]2037: it's NOT a select >statement: stmt=005FE040 Maybe issue occurs when ODBC client sends command to odbc driver which contains semicolon as first character before SELECT and returned data contains certain characters and server or client has certain configuration. Maybe I will change application not to send semicolon before SELECT statement. Andrus.