Re: Importing/Appending to Existing Table - Mailing list pgsql-general

From Sergey Konoplev
Subject Re: Importing/Appending to Existing Table
Date
Msg-id AANLkTi=3iGdaGZC6V2GX7t+iNAMkTLgmhWEOsnqA_pqZ@mail.gmail.com
Whole thread Raw
In response to Importing/Appending to Existing Table  (Rich Shepard <rshepard@appl-ecosys.com>)
Responses Re: Importing/Appending to Existing Table  (Rich Shepard <rshepard@appl-ecosys.com>)
List pgsql-general
On 2 February 2011 03:28, Rich Shepard <rshepard@appl-ecosys.com> wrote:
>  I have an existing table with 15,492 rows and want to add additional rows
> from a .csv file. If I use 'COPY <tablename> from <filename> with delimiter
> as ":" csv quote as "'" ' will this overwrite existing rows in the table or
> append rows?

No it wont overwrite, it will append rows.

>
> Rich
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>



--
Sergey Konoplev

Blog: http://gray-hemp.blogspot.com /
Linkedin: http://ru.linkedin.com/in/grayhemp /
JID/GTalk: gray.ru@gmail.com / Skype: gray-hemp

pgsql-general by date:

Previous
From: Adarsh Sharma
Date:
Subject: Tablespaces Issue in Postgres
Next
From: "Greg Sabino Mullane"
Date:
Subject: Re: Why does my DB size differ between Production and DR? (Postgres 8.4)