Re: Why use " != "

From: "Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)edu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Why use " != "
Date: 2006-05-16 03:25:10
Message-ID: e4bgtf$2lor$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


""ipig"" <ipig(at)ercist(dot)iscas(dot)ac(dot)cn> wrote
>
> in postgresql-8.1.3/src/backend/storage/lmgr/proc.c
> there are 2 function InitProcess and InitDummyProcess, both use
> " if (MyProc != NULL)
> elog(ERROR, "you already exist"); " (line 215 and 315)
>
> why use " != " ?
>

I guess you misread "exist" to "exit"? Try to change "!=" to whatever you
think of, and see what will happen.

Regards,
Qingqing

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gurjeet Singh 2006-05-16 03:36:13 Re: Why use " != "
Previous Message Qingqing Zhou 2006-05-16 03:22:56 Re: psql feature thought