src/backend/optimizer/util/plancat.c -> Is this correct English

Поиск
Список
Период
Сортировка
Искать

src/backend/optimizer/util/plancat.c -> Is this correct English

От:
"Daniel Westermann (DWE)" <daniel.westermann@dbi-services.com>
Дата:
Hi,

just came across this:

src/backend/optimizer/util/plancat.c -> Is this correct English?
-> We need not lock the relation since it was already locked ... 

I am not a native speaker, but this sounds strange.

Regards
Daniel?

Re: src/backend/optimizer/util/plancat.c -> Is this correct English

От:
Nathan Bossart <nathandbossart@gmail.com>
Дата:
On Wed, Sep 25, 2024 at 04:52:47PM +0000, Daniel Westermann (DWE) wrote:
> just came across this:
> 
> src/backend/optimizer/util/plancat.c -> Is this correct English?
> -> We need not lock the relation since it was already locked ... 
> 
> I am not a native speaker, but this sounds strange.

I think it's fine.  It could also be phrased like this:

	We do not need to lock the relation since...

-- 
nathan


Re: src/backend/optimizer/util/plancat.c -> Is this correct English

От:
"Daniel Westermann (DWE)" <daniel.westermann@dbi-services.com>
Дата:
>>I think it's fine.  It could also be phrased like this:
>
>        We do not need to lock the relation since...

That's what I would have expected. But, as said, maybe this only sounds strange to me.

Regards
Daniel

Re: src/backend/optimizer/util/plancat.c -> Is this correct English

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"Daniel Westermann (DWE)"  writes:
> That's what I would have expected. But, as said, maybe this only sounds strange to me.

"Need not" is perfectly good English, although perhaps it has a
faintly archaic whiff to it.

			regards, tom lane


FAQ