Re: Fatal error when not numeric value - PostgreSQL 9.2

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Fatal error when not numeric value - PostgreSQL 9.2
Date: 2016-02-03 23:43:49
Message-ID: 56B290B5.8030200@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2/3/2016 3:32 PM, Andreas Joseph Krogh wrote:
> This query works for me in 9.5:
> SELECT CAST(customer_id AS BIGINT), csv_data, freshbooks_id, myob_id,
> ppy_id, qb_id, xero_id, _iid FROM ( VALUES ('3915105', E'\x1A',
> E'\x1A', 'c59894cb-0ffe-4ad6-823d-73c1392142b6', E'\x1A', E'\x1A',
> E'\x1A', '44'), ('3915135', E'\x1A', E'\x1A',
> 'fe88ff8f-6b4d-4e3d-8020-3475a101d25e', E'\x1A', E'\x1A', E'\x1A',
> 'fe88ff8f-6b4d-4e3d-8020-3475a101d25e') ) AS id(customer_id, csv_data,
> freshbooks_id, myob_id, ppy_id, qb_id, xero_id, _iid);

it works on 9.2 for me here, as well as 9.3, 9.4

--
john r pierce, recycling bits in santa cruz

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2016-02-04 01:41:55 Re: Fatal error when not numeric value - PostgreSQL 9.2
Previous Message David G. Johnston 2016-02-03 23:43:24 Re: Fatal error when not numeric value - PostgreSQL 9.2