Re: Re: [HACKERS] RFC - change of behaviour of pg_get_userbyid & pg_get_viewdef?
От | Danny |
---|---|
Тема | Re: Re: [HACKERS] RFC - change of behaviour of pg_get_userbyid & pg_get_viewdef? |
Дата | |
Msg-id | 00092623084900.00345@freebsd.freebsd.org обсуждение исходный текст |
Ответ на | Re: [HACKERS] RFC - change of behaviour of pg_get_userbyid & pg_get_viewdef? (Philip Warner <pjw@rhyme.com.au>) |
Список | pgsql-general |
-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 |/
В списке pgsql-general по дате отправления: