Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aDYyF-0008GD-Gz for pgsql-bugs@arkaria.postgresql.org; Mon, 28 Dec 2015 14:40:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aDYyF-0003m2-3n for pgsql-bugs@arkaria.postgresql.org; Mon, 28 Dec 2015 14:40:23 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aCAp8-0003Ky-Ju for pgsql-bugs@postgresql.org; Thu, 24 Dec 2015 18:41:14 +0000 Received: from forward9o.cmail.yandex.net ([2a02:6b8:0:1a72::294]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aCAp4-0001eg-NT for pgsql-bugs@postgresql.org; Thu, 24 Dec 2015 18:41:12 +0000 Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [37.140.190.28]) by forward9o.cmail.yandex.net (Yandex) with ESMTP id D5F122188E for ; Thu, 24 Dec 2015 21:41:06 +0300 (MSK) Received: from smtp3o.mail.yandex.net (localhost [127.0.0.1]) by smtp3o.mail.yandex.net (Yandex) with ESMTP id A886D1E0241 for ; Thu, 24 Dec 2015 21:41:06 +0300 (MSK) Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ejZok5gMwp-f6ku3MXf; Thu, 24 Dec 2015 21:41:06 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1450982466; bh=+a+cFwT8ZEaY0WXOrh72xY/Gk6uWnXrKdjXbJBrkYSM=; h=To:From:Subject:Message-ID:Date:User-Agent:MIME-Version: Content-Type:Content-Transfer-Encoding; b=rY5Cr06AoOoLiwsayPIONOoHGg43vb+KIR5bmWJ+1Oa5bt4FzLGrOB+CHjbcdEPI6 elHDRvCVmt01Cj/yI8ZVNjWrXVzkB91BbpcQD2ASPrvRIPpSEXnDk6FcYS4Pg5Kpnx xkcsH7kmG9gEsKUIo0tm6Lf9bXq2VP2Z73hvlgz4= Authentication-Results: smtp3o.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-ForeignMX: US To: pgsql-bugs@postgresql.org From: Alexey Alexeev Subject: psql.exe error near '^' Message-ID: <567C3C3B.4090507@yandex.ru> Date: Thu, 24 Dec 2015 21:40:59 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.0 (--) 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 Здравствуйте! При выполнении следующей команды psql.exe --dbname=MYDB --host=localhost --port=5432 --username=myuser --file=sql_try.sql --quiet --log-file=sql_try.log --output=sql_try.rslt --no-align --field-separator=^ Даже не спросив пароль подключения к БД процесс зависает намертво. В первый раз это совсем повесило компьютер - пришлось холодную перезагрузку делать. Второй раз - успел отстрелить процесс из диспетчера задач. Проблема именно в "--field-separator=^" Если написать --field-separator=| или --field-separator="^" все работает правильно. ОС: Windows 7 pro SP1 x64 C:\>psql --version psql (PostgreSQL) 9.4.0 -- Замечательного настроения и легкого дня! Алексей Алексеев -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs