pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dani Oderbolz <oderbolz@ecologic.de>
To: 'pgsql-admin@postgresql.org' <pgsql-admin@postgresql.org>
Subject: pg_atoi: zero-length string
Date: Fri, 07 Nov 2003 12:57:47 +0100
Message-ID: <3FAB88BB.4040403@ecologic.de> (raw)

Hi all,
I am sure this has been asked many times,
but I have not found anything in the archives...

I have an Application (www.phpgroupware), which submits
suboptimal Queries like

SELECT * FROM phpgw_accounts WHERE account_id=''

Now Postgresql responds like this:

*PostgreSQL Error*: 1 (ERROR: pg_atoi: zero-length string )

Is there a workaround for this (eg. a Startup-Parameter that can be set)?

Regards,
Dani






view thread (3+ messages)  latest in thread

Message-ID: <3FAB88BB.4040403@ecologic.de>
Permalink:  ../3FAB88BB.4040403@ecologic.de/
Also on:    postgresql.org/message-id/3FAB88BB.4040403@ecologic.de

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: oderbolz@ecologic.de
  Subject: Re: pg_atoi: zero-length string
  In-Reply-To: <3FAB88BB.4040403@ecologic.de>
  References: <3FAB88BB.4040403@ecologic.de>

* 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