X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B81B73A533F for ; Mon, 24 Jan 2005 04:10:24 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 23815-08 for ; Mon, 24 Jan 2005 04:10:14 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id C9E5C3A4F25 for ; Mon, 24 Jan 2005 04:10:12 +0000 (GMT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.1/8.13.1) with ESMTP id j0O4A6FG011481 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 23 Jan 2005 21:10:08 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.1/8.13.1) with ESMTP id j0O4A6hL019935; Sun, 23 Jan 2005 21:10:06 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.1/8.13.1/Submit) id j0O4A6nw019934; Sun, 23 Jan 2005 21:10:06 -0700 (MST) (envelope-from mfuhr) Date: Sun, 23 Jan 2005 21:10:06 -0700 From: Michael Fuhr To: Ryan Miranda Cc: pgsql-sql@postgresql.org Subject: Re: Invalid Input syntax for type bigint Message-ID: <20050124041006.GA19843@winnie.fuhr.org> References: <690e0bf70501231459ed3cb51@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <690e0bf70501231459ed3cb51@mail.gmail.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.003 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/205 X-Sequence-Number: 19993 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/