Re: Help with count(*)
| От | Neil Conway |
|---|---|
| Тема | Re: Help with count(*) |
| Дата | |
| Msg-id | 87isllbcys.fsf@mailbox.samurai.com обсуждение исходный текст |
| Ответ на | Re: Help with count(*) (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Help with count(*)
|
| Список | pgsql-performance |
Tom Lane <tgl@sss.pgh.pa.us> writes: > (I believe the previous discussion also agreed that we wanted to > postpone the freezing of now(), which currently also happens at > BEGIN rather than the first command after BEGIN.) That doesn't make sense to me: from a user's perspective, the "start of the transaction" is when the BEGIN is issued, regardless of any tricks we may play in the backend. Making now() return the time the current transaction started is reasonably logical; making now() return "the time when the first command after the BEGIN in the current transaction was issued" makes a lot less sense to me. -Neil
В списке pgsql-performance по дате отправления: