Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cZMfC-00046O-Qj for pgsql-bugs@arkaria.postgresql.org; Thu, 02 Feb 2017 19:03:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cZMfC-0004ke-Dp for pgsql-bugs@arkaria.postgresql.org; Thu, 02 Feb 2017 19:03:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cZMeW-0003HQ-St for pgsql-bugs@postgresql.org; Thu, 02 Feb 2017 19:02:40 +0000 Received: from mail-vk0-x244.google.com ([2607:f8b0:400c:c05::244]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cZMeU-0002iz-7t for pgsql-bugs@postgresql.org; Thu, 02 Feb 2017 19:02:40 +0000 Received: by mail-vk0-x244.google.com with SMTP id t8so2074037vke.0 for ; Thu, 02 Feb 2017 11:02:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:date:mime-version :content-transfer-encoding; bh=Ul0XKuJ2fdn9pgoqjjm5JrRdPN/kqLv31DikLEq7BU8=; b=Qkt9IIiwhhc1D1xhEN92mPcm3t4XHKdQBhxGrAhtpcm9FSn5ENkJirBVivgV4Bqiqa xaFjZM4y1TTxCEKufIWqEn3Wjh1u7g3kckQvvBm54dINMqbQTw4DDsbvK0nWM9o+6LQd IMCPSk2APGP8M34/unsc6aRn7J08CzuhYITawZsgEioalfFkT6L69shP2xuSfPBCzMU2 R1Zrw3yJ9ZyEGHFuA5fhv67v2VSg4R6FlKh2gN5rGiUTP0fDT2NwMMU1tFKoVtXx6GBs nGO6+Edv+NAZEHfNNq3Qeg0Z73EL+MbUYAXkR7RAxU51w8/mw/B7DPGCjB9S3og8Qaq0 /hug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:mime-version :content-transfer-encoding; bh=Ul0XKuJ2fdn9pgoqjjm5JrRdPN/kqLv31DikLEq7BU8=; b=lBPevpyvlgE9AWzjzsoEopzAc0NVWQh0KCxKmrKEWEt1iR6F8Li2ZixiKDEYAXjcwJ UO27BohbFWGVanteQV2wAKnKNrgcOxFry5rJU7Xn9/qUjEDP75xX83haRhXFSuMPFck6 W6DfvilKVS0OyfsbIUxffezBH7fwWWDmRdmjipqNG7QNQXL7tPPTALD7hjmm250lE0uC JGJt8Gp7ZU99cb4HCJ9a2MKg+JjkIX438HMewo9t1YZloefnp2wfusSrst7An6LDmvoz GAqgUy6WoA6+W57+huZjskhfub/3xQEbJGFpxf44e/WYyO6Jxwbv83bd9MbQ/O3bibU7 1WLA== X-Gm-Message-State: AIkVDXKXTMn9lBFrySGAO1WZEp9PjSGa6P3RCvENYGFGGUJe1Yd/+7O29StDgd6WpIOGuA== X-Received: by 10.31.200.199 with SMTP id y190mr4758347vkf.115.1486062156463; Thu, 02 Feb 2017 11:02:36 -0800 (PST) Received: from roblaptop ([2804:14d:baa0:8560:461e:a1ff:fe19:c7bd]) by smtp.gmail.com with ESMTPSA id 71sm8766052uag.19.2017.02.02.11.02.35 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 02 Feb 2017 11:02:36 -0800 (PST) Message-ID: <1486062153.4699.3.camel@gmail.com> Subject: Parser failed to return an error From: rob stone To: pgsql-bugs@postgresql.org Date: Fri, 03 Feb 2017 06:02:33 +1100 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.4-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Linux roblaptop 4.9.0-1-amd64 #1 SMP Debian 4.9.2-2 (2017-01-12) x86_64 GNU/Linux I was running a query like:- SELECT TO_CHAR(my_date,'dd-mm-yyyy) FROM my_table; and I forgot to type the second single quotation mark at the end of the mask string. Under psql it just hung and I had to Ctrl-C to go back to a prompt and under JDBC it hung as well and EQ just said "error", as in a failure of some sort. I would have expected either a 42601 error or maybe a 03000 error to have been returned. If you need any further information, please let me know. Rob -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs