From: David Olbersen <dave@slickness.org>
To: pgsql-sql@postgresql.org
Subject: Don't want blank data
Date: Thu, 25 Jan 2001 11:05:19 -0800 (PST)
Message-ID: <Pine.LNX.4.31.0101251101570.15177-100000@bubbles.electricutopia.net> (raw)
Greetings,
Is there a way to have postgresql always return a value for each row
requested? To be more clear, if I were using a Perl SQL hybrid I would write
something like
SELECT computer_ip or 'unset' FROM computers;
So that if computers.computer_ip is NULL or '' I will get 'unset' back from
the database. I hope this makes sense and somebody can point me in a good
direction
-- Dave
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-sql@postgresql.org
Cc: dave@slickness.org
Subject: Re: Don't want blank data
In-Reply-To: <Pine.LNX.4.31.0101251101570.15177-100000@bubbles.electricutopia.net>
References: <Pine.LNX.4.31.0101251101570.15177-100000@bubbles.electricutopia.net>
* 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