Re: [GENERAL] Using copy with a file containing blank rows

2012-04-25 Thread George Weaver
- Original Message - From: Adrian Klaver On 03/15/2012 09:17 AM, George Weaver wrote: Hi All, I am trying to use COPY to import postgresql logs into a postgresql database for further review and sorting. Are you using the CSV format to log to the Postgres log?: http://www.postgres

Re: [GENERAL] Using copy with a file containing blank rows

2012-03-15 Thread Adrian Klaver
On 03/15/2012 09:17 AM, George Weaver wrote: > Hi All, > > I am trying to use COPY to import postgresql logs into a postgresql > database for further review and sorting. Are you using the CSV format to log to the Postgres log?: http://www.postgresql.org/docs/9.1/interactive/runtime-config-loggin

[GENERAL] Using copy with a file containing blank rows

2012-03-15 Thread George Weaver
Hi All, I am trying to use COPY to import postgresql logs into a postgresql database for further review and sorting. The problem I'm encountering happens when COPY hits a blank row: development=# COPY log development-# FROM 'D:/PostgreSQL/9.1/pg_log/postgresql-2012-03-15_093730.log' develo