Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YfbAf-0008Ms-NI for pgsql-sql@arkaria.postgresql.org; Tue, 07 Apr 2015 21:36:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YfbAf-0005sp-4x for pgsql-sql@arkaria.postgresql.org; Tue, 07 Apr 2015 21:36:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YfbAe-0005qz-4S for pgsql-sql@postgresql.org; Tue, 07 Apr 2015 21:36:32 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YfbAZ-0005Xn-VY for pgsql-sql@postgresql.org; Tue, 07 Apr 2015 21:36:30 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id EDB1820B7A for ; Tue, 7 Apr 2015 17:36:19 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Tue, 07 Apr 2015 17:36:23 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=KUghcFE4MiMGwn5p727017r/1n4=; b=nHBNHn LytIF4eMizs/JEiHPfIPStt09INxFB871NuB36nj7sJnYsRu8pkFCiZ705/ztcvG UsjpNJG4Wy5rcdrbesCFGJPJ44xCRhZf6g5hkG94erdc3kSHBwr2ol+aM/ChgMTq 3uvyCVHJdwlDaZ+lsSTuNme3VUO9KHaC5HWws= DKIM-Signature: v=1; a=rsa-sha1; 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-sasl-enc:x-sasl-enc; s=smtpout; bh=KUghcFE4MiMGwn5 p727017r/1n4=; b=XRDxpBpprJJss0Mx39bpmgp2Y9ElIQacShPwj2C9Dzgs6Mg xTrPTpTBTJ6UwAH/vF0Au+aFktJR4ywlg48LwfE2Re+82PLEE3Qhmr5MwCrgAqUz sbsVXexUldUioYHhdne19PYBKJpGKakB8XUy4lRAZwKn+9f++Qm04Cs9Mr98= X-Sasl-enc: Yl6/6/YE+TkMilmZDLKitaj1GLznWUOYHzJXJOiOHKbm 1428442583 Received: from [192.168.1.2] (unknown [174.21.218.98]) by mail.messagingengine.com (Postfix) with ESMTPA id 5D9C2C0001C; Tue, 7 Apr 2015 17:36:23 -0400 (EDT) Message-ID: <55244DD6.7050600@aklaver.com> Date: Tue, 07 Apr 2015 14:36:22 -0700 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: "Osborn, Marty" , "pgsql-sql@postgresql.org" Subject: Re: Setting the Field Separator in PSQL References: <8CB6E5A8E0D688459585A6F52093BC250EBE18@MX104CL02.corp.emc.com> In-Reply-To: <8CB6E5A8E0D688459585A6F52093BC250EBE18@MX104CL02.corp.emc.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org On 04/07/2015 01:39 PM, Osborn, Marty wrote: > I need to change the field separator to a tab in an input SQL file. More information is needed. What is in the SQL file? What do you want it to do when you load it? > > I’ve tried every combination of tab, ‘\t’, “\t”, --field-separator=’\t’, > etc, etc. > > Should it be in the command line or in the SQL file? > > Any help? > > Marty > -- Adrian Klaver adrian.klaver@aklaver.com -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql