Re: A better COPY?

From: Alban Hertroys <haramrae(at)gmail(dot)com>
To: Tim Uckun <timuckun(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: A better COPY?
Date: 2012-02-26 23:05:52
Message-ID: C96623CF-89CF-4CA3-96D8-4B67EE11B197@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 26 Feb 2012, at 23:54, Tim Uckun wrote:

> The main reason I am not using COPY right now is because postgres will
> not allow unprivileged users to issue the COPY from FILENAME. The
> only way I could get around this would be to shell out psql or
> something but I dont really want to do that.

Use COPY from STDIN and supply the contents of the file after that.

Alban Hertroys

--
The scale of a problem often equals the size of an ego.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dmytrii Nagirniak 2012-02-26 23:57:07 Re: Optimise PostgreSQL for fast testing
Previous Message Tim Uckun 2012-02-26 22:54:46 A better COPY?