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 1gV7Eb-0002pt-LC for pgsql-general@arkaria.postgresql.org; Fri, 07 Dec 2018 03:55:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gV7Dc-0006d4-FO for pgsql-general@arkaria.postgresql.org; Fri, 07 Dec 2018 03:54:24 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1gV7Db-0006Ye-Dk for pgsql-general@lists.postgresql.org; Fri, 07 Dec 2018 03:54:24 +0000 Received: from nh604-vm8.bullet.mail.ssk.yahoo.co.jp ([182.22.90.65]) by magus.postgresql.org with smtp (Exim 4.89) (envelope-from ) id 1gV7DS-0002Rd-II for pgsql-general@lists.postgresql.org; Fri, 07 Dec 2018 03:54:19 +0000 Received: from [182.22.66.103] by nh604.bullet.mail.ssk.yahoo.co.jp with NNFMP; 07 Dec 2018 03:54:08 -0000 Received: from [182.22.91.131] by t601.bullet.mail.ssk.yahoo.co.jp with NNFMP; 07 Dec 2018 03:54:08 -0000 Received: from [127.0.0.1] by omp604.mail.ssk.yahoo.co.jp with NNFMP; 07 Dec 2018 03:54:08 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 568003.66911.bm@omp604.mail.ssk.yahoo.co.jp X-YMail-OSG: h18MnkAVM1nAmF71pM7Lljegn8zlZldyznlPV3G9c5u2EjuFx08.t6G4y2ySG_f ..X2_Ox5oQ5qWqk9F.eiW5usYYZayP8hY4XprhxjwJLCc73FJeHkk4olD4.d65DCRQ5vo7a0TLhG srvgsBtTGzZ7aarJ4DdyvlYSAHlW61dRQApg1f53c1kH.wlSD2ZYisrDfjteYpKoVbqCiY6Tr5Q7 Ybdx.yJeJYddoigxJ9S68QSomFD.Flj._IKkqBqrpb2g83s_8dfwvarTXFOEQVwvj6YRmqtH1R9O NKVuR_xCaFBwhpTuyqhrJpJAhWfM3vzJwELHsM1bUerZMw4f5c6ZmM9e4ESA0AxJmGp4SbvokRm5 Cp4EJXAVvCW2gtGPg838rejXnD0Lb.LN5ORLT5ZiFFI_BgtCy_h63J24k55m9dMGSd_OkiQHKKaK yR06SAyKyTiG9P8SlIGCl.wNanPf4ecteZU3L8VJvet8VmOi_hCo6uVZgvxFf84E_rhKMKZyxSin LTEKA3p37p81jfPTISP.WtaGjCv0Fvst4KCMWzjghhWZZugLPVOlsBn2Saf8yUoFiCX4lGGqTuOt nM_HFS6LUPJwAp6zhHxRcXeEuweDmFBNbVpSptT8rqg-- Received: from jws700001.mail.kks.yahoo.co.jp by sendmailws514.mail.kks.yahoo.co.jp; Fri, 07 Dec 2018 12:54:07 +0000; 1544154847.853 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1544154848; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:Subject:MIME-Version:Content-Type:References; bh=PJPV/qHxS3sGvT6Fxm+BHF1Nv7cxC/8zTmMzlrcOEa8=; b=lH4+QMS6OX5idQ5FdX7hDtQTR0YA8F89isGZhtONePr8M+ZF1j3TlXwWtE04V+Ng rW582hOoSiyy2Qg+QJ5kalasLOkF5ioLLTzXvRR593gVMu+QjpHdGH9Qu6HHRKhqSke 2lhWnPlS1GuXhUXlmeIwN2g4O6/85oWl4QaT8TCQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:MIME-Version:Content-Type:References; b=LoW/TM4p8kRvObp+9clP9TG9B9A/aYnTa9Qjiynn32qHuqvwgPwJ8p06OnLzEdBS 6FUv9DxL+cnXCHwXp8fHhG9fneXKoy4sp5kgVQvPWje9qnk6w296zZkSom/HILRNHs7 blQe/Qi1yRJ97OH/BhZJHRdqg10ARZwBriR3/aAw=; X-yjpVirusScan: Scanned Date: Fri, 7 Dec 2018 12:54:07 +0900 (JST) From: Reply-To: To: "pgsql-general@lists.postgresql.org" Message-ID: <1892755171.196556.1544154847195.JavaMail.yahoo@mail.yahoo.co.jp> Subject: Importing tab delimited text file using phpPgAdmin 5.1 GUI MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_196555_200859163.1544154847193" References: <1892755171.196556.1544154847195.JavaMail.yahoo.ref@mail.yahoo.co.jp> Content-Length: 5035 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_196555_200859163.1544154847193 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello Community! I am trying to use phpPgAdmin=C2=A0 (ver. 5.1 with PHP 5.6.39, server CentO= S 7, client Win-10 (Japanese)) to import a tab delimited text file (Excel -= > save as tab delimited text;=C2=A0 also used notepad to save the same text= file UTF-8 encoding) . Earlier. I had created a table (no columns have double quotes, not mixed ca= se), for example, like this: CREATE TABLE spec (rec_id VARCHAR(32)PRIMARY KEY NOT NULL,title_category VA= RCHAR(255),doc_type VARCHAR(255),etc); In my tab delimited text file, first row has column names (without "") and = starting from second row, data, some with double quotes, some with comma, s= ome with brackets. When I uploaded the file for the phpPgAdmin to import, I got the following = error: //------------------------------------------------------------------ERROR: = column "=EF=BB=BFrec_id" of relation "spec" does not existLINE 1: INSERT IN= TO "public"."spec" ("=EF=BB=BFrec_id","title_c...//------------------------= ------------------------------------------ Why that extra "" in the field name? I don't have it in my text file! How/where can I tell the phpPgAdmin not to add that extra "" around the fie= ld name? Thanks for reading and suggestions. ------=_Part_196555_200859163.1544154847193 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello Community!

I am trying to use phpPgAdmin&nb= sp; (ver. 5.1 with PHP 5.6.39, server CentOS 7, client Win-10 (Japanese)) t= o import a tab delimited text file (Excel -> save as tab delimited text;=   also used notepad to save the same text file UTF-8 encoding) .
=

<= div id=3D"yiv5583759808yui_3_2_0_3_154414926460840" style=3D"">Earlier. I h= ad created a table (no columns have double quotes, not mixed case), for exa= mple, like this:

CREATE TABLE spec (
rec_id VARCHAR(32)PRIMARY KEY NOT NULL,
title_category VA= RCHAR(255),
doc_type VARCHAR(255),
etc);

In my tab delimited text file, first row has column n= ames (without "") and starting from second row, data, some with double quot= es, some with comma, some with brackets.

When I uploaded the file for the phpPgAdm= in to import, I got the following error:

//---------------------------------------= ---------------------------
ERROR: column "=EF=BB=BFrec_id" of relation "spec" do= es not exist
LINE 1: INSERT INTO "public"."spec" ("=EF=BB=BFrec_id","title_c...
//-----= -------------------------------------------------------------

Why that extra "" = in the field name? I don't have it in my text file!

How/where can I tell the phpPg= Admin not to add that extra "" around the field name?


Thanks for reading and sugges= tions.
------=_Part_196555_200859163.1544154847193--