Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wukzq-0007ar-ES for pgsql-sql@arkaria.postgresql.org; Wed, 11 Jun 2014 16:03:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wukzp-00052i-Tk for pgsql-sql@arkaria.postgresql.org; Wed, 11 Jun 2014 16:03:29 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Wukzo-000506-KF for pgsql-sql@postgresql.org; Wed, 11 Jun 2014 16:03:28 +0000 Received: from sam.nabble.com ([216.139.236.26]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Wukzj-00014C-Tt for pgsql-sql@postgresql.org; Wed, 11 Jun 2014 16:03:26 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Wukzj-00027M-AZ for pgsql-sql@postgresql.org; Wed, 11 Jun 2014 09:03:23 -0700 Date: Wed, 11 Jun 2014 09:03:23 -0700 (PDT) From: David G Johnston To: pgsql-sql@postgresql.org Message-ID: <1402502603315-5806845.post@n5.nabble.com> In-Reply-To: References: <1402480834884-5806798.post@n5.nabble.com> <1402493925433-5806825.post@n5.nabble.com> <1402497348563-5806834.post@n5.nabble.com> Subject: Re: need to pass the csv file name as value to the column file_id MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 3.5 (+++) 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 kranthi wrote > Actually , we are migrate from vertica to redshift. In redshift we are > using PostgreSQL. In vertica we used this type I hope it is possible in > PostgreSQL also > > In vertica we used like below. It works fine. > > Copy schema.table( > Xxxxxxxx > file_id as '2014061123.CSV' > Xxxxxx Not that I am aware of or can find documented. Neither in RedShift nor core. David J. -- View this message in context: http://postgresql.1045698.n5.nabble.com/need-to-pass-the-csv-file-name-as-value-to-the-column-file-id-tp5806798p5806845.html Sent from the PostgreSQL - sql mailing list archive at Nabble.com. -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql