Re: [HACKERS] RFC - change of behaviour of pg_get_userbyid & pg_get_viewdef?

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: "Dominic J(dot) Eidson" <sauron(at)the-infinite(dot)org>, pgsql-hackers(at)postgresql(dot)org
Cc: pgsql-general(at)hub(dot)org, pgsql-sql(at)postgresql(dot)org
Subject: Re: [HACKERS] RFC - change of behaviour of pg_get_userbyid & pg_get_viewdef?
Date: 2000-09-25 01:48:03
Message-ID: 3.0.5.32.20000925114803.0283ec10@mail.rhyme.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-sql

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 |/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Philip Warner 2000-09-25 03:25:29 Re: Case Studies for PostgresSQL
Previous Message Jeff MacDonald 2000-09-25 01:42:05 Re: Case Studies for PostgresSQL

Browse pgsql-hackers by date

  From Date Subject
Next Message Marko Kreen 2000-09-25 07:21:46 binary operators on integers
Previous Message Tom Lane 2000-09-25 01:37:50 Re: psql's \d functions broken for views in current sources

Browse pgsql-sql by date

  From Date Subject
Next Message Indraneel Majumdar 2000-09-25 07:01:35 Re: Select between two databases
Previous Message Indraneel Majumdar 2000-09-25 00:37:53 Select between two databases