Re: Not Seeing Syntax Error

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Not Seeing Syntax Error
Date: 2011-08-17 16:42:15
Message-ID: alpine.LNX.2.00.1108170941050.1129@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 17 Aug 2011, David Johnston wrote:

> To be honest I was too and maybe I somehow implied that to you. Anyway, I
> believe if you are dealing with CSV import then you are correct but
> apparently SQL is not as forgiving. I use a third-party application to
> import my CSV usually so whether that observation applies to PSQL or other
> mechanisms (like pg_loader) I cannot say.

David,

It may well be different between COPY and INSERT INTO. Anywho, I altered
the column and set the default to NULL. That works.

Regards,

Rich

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Lonni J Friedman 2011-08-17 19:26:16 Re: streaming replication: one problem & several questions
Previous Message John R Pierce 2011-08-17 16:35:10 Re: Using Postgresql as application server