From: Michael Fuhr <mike@fuhr.org>
To: Ryan Miranda <ryan.miranda@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Invalid Input syntax for type bigint
Date: Sun, 23 Jan 2005 21:10:06 -0700
Message-ID: <20050124041006.GA19843@winnie.fuhr.org> (raw)
In-Reply-To: <690e0bf70501231459ed3cb51@mail.gmail.com>
References: <690e0bf70501231459ed3cb51@mail.gmail.com>
On Sun, Jan 23, 2005 at 02:59:36PM -0800, Ryan Miranda wrote:
> I am trying to run the proc below but get an error : invalid input
> syntax for type bigint: "2004-10-26" Can anyone suggest what I am
> doing wrong here?
Apparently you're trying to use a date where a bigint is expected.
One possibility might be here:
> SELECT ix_workflow_task."DATE_COMPLETED",
> ix_workflow_task."WORKFLOW_ACTIVITY_XPDL_ID", ix_workflow_task."TYPE"
> INTO workflow_t from ix_workflow_task
You declared workflow_t to be ix_workflow_task%ROWTYPE but you're
only selecting certain fields into it. Is the first field in
ix_workflow_task perchance a bigint?
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: mike@fuhr.org, ryan.miranda@gmail.com
Subject: Re: Invalid Input syntax for type bigint
In-Reply-To: <20050124041006.GA19843@winnie.fuhr.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox