pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Jyoti Seth <jyotiseth2001@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: postgresql function not accepting null values in select statement
Date: Fri, 22 Feb 2008 09:05:28 +0000
Message-ID: <47BE9058.9030909@archonet.com> (raw)
In-Reply-To: <001501c8752d$391c8e50$ab55aaf0$@com>
References: <001501c8752d$391c8e50$ab55aaf0$@com>

Jyoti Seth wrote:
> 
> If I pass null value as the parameter of postgresql function, which is used
> in the where clause of select statement is not functioning properly.

Either:

1. You're talking about frooble(), in which case it's supposed to do that.

or

2. You'll need to tell us what function it is, how you're using it and 
what you think should happen.

My guess is that you're getting a null as the result and that's not 
doing what you'd expect in your where clause.


-- 
   Richard Huxton
   Archonet Ltd



view thread (11+ messages)  latest in thread

Message-ID: <47BE9058.9030909@archonet.com>
Permalink:  ../47BE9058.9030909@archonet.com/
Also on:    postgresql.org/message-id/47BE9058.9030909@archonet.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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: dev@archonet.com, jyotiseth2001@gmail.com
  Subject: Re: postgresql function not accepting null values in select statement
  In-Reply-To: <47BE9058.9030909@archonet.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