Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ry1tF-00E7ug-OG for pgsql-general@arkaria.postgresql.org; Sat, 20 Apr 2024 03:59:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1ry1sE-007Ybc-F9 for pgsql-general@arkaria.postgresql.org; Sat, 20 Apr 2024 03:58:46 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ry1sE-007Yb9-0a for pgsql-general@lists.postgresql.org; Sat, 20 Apr 2024 03:58:46 +0000 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1ry1s7-003iIF-B3 for pgsql-general@lists.postgresql.org; Sat, 20 Apr 2024 03:58:44 +0000 Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-51ae315bb20so358960e87.1 for ; Fri, 19 Apr 2024 20:58:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713585517; x=1714190317; darn=lists.postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=VqL8gX/rqMWci8nw0YMSj8VjNfHRLH5F0TlTA2lr+ZQ=; b=HM+WZ8SAwqLIQNn6Xc4E1iBGyndHVOT/Ly8oMchuH9B/grj9hrn2/yrkt5U1vKNZ0h AWblq/BdW+DpVKaiqchSYgAzQCbp+2oYm6tPaXRaaMkjbaS0l0duC3opTQfR31ORoWsJ oeDYrbNYRLEfDE9AkqNvHLhPrdaiW3cMkP78r8NQ5OAWqVKNFTCZeJ8U4opc5z9VKO2j 31LXBXDQFhu+2865eE6QIhJGuu/KiFI3Wt2QPT3ekEMPd1IwUd9U/LaIKHDAdWxVkVvw S/g6tJu+tpsEkI86NZbo9kNuuVaV1tpcENy2bEPDqsLhho1CKb9jhxGHuS/2RlN3ENnL iFhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713585517; x=1714190317; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=VqL8gX/rqMWci8nw0YMSj8VjNfHRLH5F0TlTA2lr+ZQ=; b=imjeOUgQkFRjnaGykpkbx5Alp12y8L6SakA3Pea8bRDkN83tni7cAsQ0GWdpPy6MzO 33rGXv76tjYuhOIOfSq+EnaeX9tuowrpknafO/SNshzZ7rw6nT4f8+i3sZaHKTcTsZSd Q5dPK+Dw5mYKcfY7HSR9bgV3Ws1WAZpLGPuiWdRtNTWzXMSeFEhlo8BV+MKGN7xe5Arm PWE+ab5OOqPyEIEJn8L2993uw49bdat5xhu7dUmV07jogmWYJw1qKp1LabPOSdq02fBr TpKS8q2eoggRgFnklnDqyVYFUcgtAGknQmm/RR50tuo3GXjmvuZ2uRUlj4ynbdZw6Ac2 nJ0A== X-Gm-Message-State: AOJu0YwaszrIxwYe4ZQDSBdV3YiseAAdAJRIAUeihfdr4xOeJDbFvR4i D7h4Jwv1dgsSrNhN5SveC+Y7Bt0JJF1gHPIB0WJmUqHI6oAdSfbGapEEsCxXc7Axagpqprm+tTD bxfHGDl11W7mzjTYONQjp5NLDJ+G+gj6F X-Google-Smtp-Source: AGHT+IELsJJ+JebXlmJMapxecnpgVBRQD/D9SVLcDuSYZo5j3W8aubNf0YMhGLcEdIDXpyKkH9Jl0QLHgtDGntE2cWY= X-Received: by 2002:ac2:46c1:0:b0:516:d0c2:755 with SMTP id p1-20020ac246c1000000b00516d0c20755mr2304807lfo.63.1713585516647; Fri, 19 Apr 2024 20:58:36 -0700 (PDT) MIME-Version: 1.0 From: Tu Ho Date: Fri, 19 Apr 2024 20:58:25 -0700 Message-ID: Subject: [help] Error in database import To: pgsql-general@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000031e5106167f3880" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000031e5106167f3880 Content-Type: text/plain; charset="UTF-8" Hi, I am currently having a project where I need to combine 2 large database. I was not however able to import an excel file .csv into the database. The error was ERROR: syntax error at or near "OIDS" LINE 1: ...ing Site" , "International Name(s)" ) FROM STDIN OIDS DELI... ^" I have no idea how to fix this because I used the "upload file" option. What should I do? --000000000000031e5106167f3880 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I am currently having a project whe= re I need to combine 2 large database. I was not however able to import an = excel file .csv into the database. The error=C2=A0was ERROR: syntax error a= t or near "OIDS" LINE 1: ...ing Site" , "International = Name(s)" ) FROM STDIN OIDS DELI...
^"

I have no idea how to fix this because I used the "upload file" = option.=C2=A0What=C2=A0should I do?
--000000000000031e5106167f3880--