pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adam Lang <aalang@rutgersinsurance.com>
To: pgsql-php@postgresql.org
Subject: Re: Re: how to determine where a select statement fails
Date: Thu, 26 Jul 2001 14:35:11 -0400
Message-ID: <015f01c11601$b3fc0160$330a0a0a@rutgersinsurance.com> (raw)
References: <20010726180500.15047.qmail@web13002.mail.yahoo.com>

Basically, the person wants to know which where clause caused the query to
return 0 results.

Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
http://www.rutgersinsurance.com
----- Original Message -----
From: "Brent R. Matzelle" <bmatzelle@yahoo.com>
To: "Heather Johnson" <hjohnson@nypost.com>; <pgsql-php@postgresql.org>
Sent: Thursday, July 26, 2001 2:05 PM
Subject: [PHP] Re: how to determine where a select statement fails


> I'm not sure if I understand what your problem is.  If a query
> does not return any rows (pg_numrows() < 1) then that is not
> really a "failure".  If the SQL was incorrect then I would
> suggest printing it to the browser (echo $query) and pasting it
> in a query program like psql or winsql to determine which line
> of code was incorrect.
>
> Brent





view thread (9+ messages)  latest in thread

Message-ID: <015f01c11601$b3fc0160$330a0a0a@rutgersinsurance.com>
Permalink:  ../015f01c11601$b3fc0160$330a0a0a@rutgersinsurance.com/
Also on:    postgresql.org/message-id/015f01c11601$b3fc0160$330a0a0a@rutgersinsurance.com

 · 

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-php@postgresql.org
  Cc: aalang@rutgersinsurance.com
  Subject: Re: how to determine where a select statement fails
  In-Reply-To: <015f01c11601$b3fc0160$330a0a0a@rutgersinsurance.com>
  References: <20010726180500.15047.qmail@web13002.mail.yahoo.com> <015f01c11601$b3fc0160$330a0a0a@rutgersinsurance.com>

* 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