Re: Odd sql error ..

From: Steve Midgley <science(at)misuse(dot)org>
To: PropAAS DBA <dba(at)propaas(dot)com>
Cc: postgres list <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Odd sql error ..
Date: 2017-09-17 03:59:19
Message-ID: CAJexoSJyK6FTtQok8Bz5Bmi+0fRmSmsvT+1B2aw0wqQ9nWGgDA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Sat, Sep 16, 2017 at 8:01 PM, PropAAS DBA <dba(at)propaas(dot)com> wrote:

> I'm running this sql (see below) and I get this error:
>
> ERROR: column "last_modified" does not exist
> LINE 3: ...repricefee" , "tot_savings" , "last_updated" , "last_modi...
> ^
> HINT: There is a column named "last_modified" in table "mytable", but it
> can
> not be referenced from this part of the query.
>
>
> Thoughts?
>

If you just run the select portion of that insert statement, does it work?

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message athinivas 2017-09-20 15:16:24 SETOF any table records AS return in pgSQL functions
Previous Message PropAAS DBA 2017-09-17 03:01:21 Odd sql error ..