Skip site navigation (1) Skip section navigation (2)

Re: pg_query_params

From: Bill Moran <wmoran(at)potentialtech(dot)com>
To: Carol Walter <walterc(at)indiana(dot)edu>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: pg_query_params
Date: 2009-07-22 19:29:38
Message-ID: (view raw or whole thread)
Lists: pgsql-php
In response to Carol Walter <walterc(at)indiana(dot)edu>:

> Does pg_query_params return a false if an item is not found in a  
> database?

What's an item?  That term is does not describe any type of standard
database object.

pg_query_params() will return false if the query was invalid for any
reason.  One such possible reason is that you tried to access a
table that doesn't exist.

If you're getting false as the return value, you should use
pg_last_error() to discover the details of the error.

Bill Moran

In response to


pgsql-php by date

Next:From: Carol WalterDate: 2009-07-22 19:37:00
Subject: Re: pg_query_params
Previous:From: Carol WalterDate: 2009-07-22 19:12:18
Subject: pg_query_params

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group