Re: Why use " != " - Mailing list pgsql-hackers

From Qingqing Zhou
Subject Re: Why use " != "
Date
Msg-id e4bgtf$2lor$1@news.hub.org
Whole thread Raw
In response to Why use " != "  ("ipig" <ipig@ercist.iscas.ac.cn>)
List pgsql-hackers
""ipig"" <ipig@ercist.iscas.ac.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




pgsql-hackers by date:

Previous
From: "Qingqing Zhou"
Date:
Subject: Re: psql feature thought
Next
From: "Gurjeet Singh"
Date:
Subject: Re: Why use " != "