Re: [GENERAL] ERROR: invalid input syntax for integer: "INSERT" - Mailing list pgsql-general

From David G. Johnston
Subject Re: [GENERAL] ERROR: invalid input syntax for integer: "INSERT"
Date
Msg-id CAKFQuwYoYYz8fek_a6mZPuN74=sFp+gkdNEqWAW+PPAo7k=2Xw@mail.gmail.com
Whole thread Raw
In response to [GENERAL] ERROR: invalid input syntax for integer: "INSERT"  (Robert Lakes <robertl@propaas.com>)
List pgsql-general
On Saturday, November 4, 2017, Robert Lakes <robertl@propaas.com> wrote:
Here's the error I am receiving - when I am attempting to insert a record into a table:

ERROR:  invalid input syntax for integer: "INSERT"
LINE 1: ...T INTO listings_cdc SELECT statement_timestamp(), 'INSERT', ...
                                                             

The second column of listings_cdc has a type of integer.  The word INSERT is not a valid value to store there.

David J.

pgsql-general by date:

Previous
From: Robert Lakes
Date:
Subject: [GENERAL] ERROR: invalid input syntax for integer: "INSERT"
Next
From: Neto pr
Date:
Subject: [GENERAL] Runtime analysis