From: | Tim Uckun <timuckun(at)gmail(dot)com> |
---|---|
To: | Marti Raudsepp <marti(at)juffo(dot)org> |
Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: A better COPY? |
Date: | 2012-02-27 11:05:47 |
Message-ID: | CAGuHJrM0+vnr-4KYqRfH30fj4wEAR8NwkXrFnf5W=0dydgTxOA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
>
>> 1. COPY from a text field in a table like this COPY from (select
>> text_field from table where id =2) as text_data ...
>
> The syntax is a bit different:
> CREATE TABLE text_data AS select text_field from table where id=2
Really? Wow, I would have never guessed that. That's awesome.
Thanks.
From | Date | Subject | |
---|---|---|---|
Next Message | Stefan Keller | 2012-02-27 11:46:01 | Re: Four issues why "old elephants" lack performance: Explanation sought Four issues why "old elephants" lack performance: Explanation sought |
Previous Message | Chris Travers | 2012-02-27 10:05:16 | Re: Four issues why "old elephants" lack performance: Explanation sought Four issues why "old elephants" lack performance: Explanation sought |