This works in 7.2.1, not in 7.3.2 - Mailing list pgsql-general

From Frank Millman
Subject This works in 7.2.1, not in 7.3.2
Date
Msg-id 000c01c346ba$415189f0$0401a8c0@chagford
Whole thread Raw
Responses Re: This works in 7.2.1, not in 7.3.2  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Re: This works in 7.2.1, not in 7.3.2  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hi all
 
The following works in 7.2.1 -
 
1. select count(*) from SysUsersCompanies where UserRowId = 3 ;
2. select substring('NY',(select count(*) from SysUsersCompanies where UserRowId = 3)+1,1) ;
 
The first select returns either 1 or 0
The second one uses the result in a more complex expression, and returns either 'Y' or 'N'
 
In 7.3.2, the first select behaves the same, but the second one returns NULL.
 
Any advice will be appreciated.
 
Frank Millman
 

pgsql-general by date:

Previous
From: Justin Tocci
Date:
Subject: Complex rules and working with MS Access: SOLVED
Next
From: "Zeno R.R. Davatz"
Date:
Subject: corrupt data