Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Application Development » ERROR: 22P02: invalid input syntax for integer ( LINE 1: SELECT count(*) FROM idps WHERE uid='' ^ LOCATION: pg_atoi, numutils.c:52)
Re: ERROR: 22P02: invalid input syntax for integer [message #4952 is a reply to message #4950] Sat, 29 August 2015 14:18 Go to previous messageGo to previous message
rafs is currently offline  rafs
Messages: 69
Registered: May 2015
Member
Actually it does work!
I kept the field as is, namely 'serial' type, (a.k.a. 'integer' with DEFAULT nextval('idps_uid_seq')), but I removed the NOT NULL constraint AND the UNIQUE constraint.
Bingo.
(A day and a half spent with the debugger, but live and learn.)
Thanks Tony. Super happy to have figured this out.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to provide choices for two compound foreign keys in a form?
Next Topic: Running batch jobs
Goto Forum:
  


Current Time: Wed Aug 07 00:14:22 EDT 2024

Total time taken to generate the page: 0.01045 seconds