Re: [Pgsql-ayuda] Ayuda con poblamiento

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: bastias jara claudio <reckba(at)terra(dot)com>
Cc: pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx
Subject: Re: [Pgsql-ayuda] Ayuda con poblamiento
Date: 2003-06-07 18:33:54
Message-ID: 20030607183354.GJ3124@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

On Fri, Jun 06, 2003 at 12:54:07PM -0400, bastias jara claudio wrote:

> Hola tengo una base de datos creada en postgreSQL y necesito poblarla
> a partir de archivos planos (txt) que es donde esta almacenada la
> información que es harta, quiero saber si existe alguna aplicación
> que lo haga o si hay por ay un script Php que lo haga.

COPY <tabla> FROM <archivo> ...

Mira en el manual la referencia sobre COPY.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Before you were born your parents weren't as boring as they are now. They
got that way paying your bills, cleaning up your room and listening to you
tell them how idealistic you are." -- Charles J. Sykes' advice to teenagers

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Antonio Castro 2003-06-07 18:37:39 Re: [Pgsql-ayuda] function language 'sql'
Previous Message Alvaro Herrera 2003-06-07 18:21:08 Re: [Pgsql-ayuda] Instalar PostgreSQL en Red Hat