From: Danny <dannyh@idx.com.au>
To: Dominic J. Eidson <sauron@the-infinite.org>
To: pgsql-hackers@postgresql.org
Cc: pgsql-general@hub.org
Cc: pgsql-sql@postgresql.org
Subject: Re: Re: [HACKERS] RFC - change of behaviour of pg_get_userbyid & pg_get_viewdef?
Date: Tue, 26 Sep 2000 23:06:52 +1100
Message-ID: <00092623084900.00345@freebsd.freebsd.org> (raw)
References: <3.0.5.32.20000925114803.0283ec10@mail.rhyme.com.au>
-Hello
- If you want the default value to be "0" the code for that is
default = '0'
Like so
CREATE TABLE Customer (Customer_ID INT Default = '0',
I believe this should work.
dannyh
dannyh@idx.com.au
On Mon, 25 Sep 2000, Philip Warner wrote:
> At 19:22 24/09/00 -0500, Dominic J. Eidson wrote:
> >
> >In these cases, is NULL = 0? - What if it returns the UID for "root"
> >(typically UID 0)... I think an error message should/would be better in
> >this case.
> >
>
> No NULL is NULL, a special value that usually means 'nothing found'.
>
>
> ----------------------------------------------------------------
> Philip Warner | __---_____
> Albatross Consulting Pty. Ltd. |----/ - \
> (A.B.N. 75 008 659 498) | /(@) ______---_
> Tel: (+61) 0500 83 82 81 | _________ \
> Fax: (+61) 0500 83 82 82 | ___________ |
> Http://www.rhyme.com.au | / \|
> | --________--
> PGP key available upon request, | /
> and from pgp5.ai.mit.edu:11371 |/
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: dannyh@idx.com.au, sauron@the-infinite.org, pgsql-hackers@postgresql.org, pgsql-general@hub.org
Subject: Re: [HACKERS] RFC - change of behaviour of pg_get_userbyid & pg_get_viewdef?
In-Reply-To: <00092623084900.00345@freebsd.freebsd.org>
References: <3.0.5.32.20000925114803.0283ec10@mail.rhyme.com.au> <00092623084900.00345@freebsd.freebsd.org>
* 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