Re: minimal update
От
Tom Lane
Тема
Re: minimal update
Дата
Msg-id
24321.1194534461@sss.pgh.pa.us
Ответ на
Re: minimal update (Michael Glaesemann)
Список
Дерево обсуждения
minimal update Andrew Dunstan <andrew@dunslane.net>
Re: minimal update David Fetter <david@fetter.org>
Re: minimal update Tom Lane <tgl@sss.pgh.pa.us>
Re: minimal update Andrew Dunstan <andrew@dunslane.net>
Re: minimal update Tom Lane <tgl@sss.pgh.pa.us>
Re: minimal update Andrew Dunstan <andrew@dunslane.net>
Re: minimal update Michael Glaesemann <grzm@seespotcode.net>
Re: minimal update Tom Lane <tgl@sss.pgh.pa.us>
Re: minimal update Andrew Dunstan <andrew@dunslane.net>
Re: minimal update Bruce Momjian <bruce@momjian.us>
Re: minimal update "Gurjeet Singh" <singh.gurjeet@gmail.com>
Re: minimal update Andrew Dunstan <andrew@dunslane.net>
Re: minimal update "Gurjeet Singh" <singh.gurjeet@gmail.com>
Re: minimal update Bruce Momjian <bruce@momjian.us>
Re: minimal update Andrew Dunstan <andrew@dunslane.net>
Re: minimal update Bruce Momjian <bruce@momjian.us>
Re: minimal update Andrew Dunstan <andrew@dunslane.net>
Re: minimal update Bruce Momjian <bruce@momjian.us>
Re: minimal update Andrew Dunstan <andrew@dunslane.net>
Re: minimal update Andrew Dunstan <andrew@dunslane.net>
Re: minimal update Bruce Momjian <bruce@momjian.us>
Re: minimal update Andrew Dunstan <andrew@dunslane.net>
Re: minimal update Tom Lane <tgl@sss.pgh.pa.us>
Re: minimal update Andrew Dunstan <andrew@dunslane.net>
Re: minimal update Magnus Hagander <magnus@hagander.net>
Re: minimal update Andrew Dunstan <andrew@dunslane.net>
Re: minimal update Magnus Hagander <magnus@hagander.net>
Re: minimal update Tom Lane <tgl@sss.pgh.pa.us>
Re: minimal update Andrew Dunstan <andrew@dunslane.net>
Re: minimal update Andrew Dunstan <andrew@dunslane.net>
Re: minimal update Simon Riggs <simon@2ndQuadrant.com>
Re: minimal update Tom Lane <tgl@sss.pgh.pa.us>
Re: minimal update "Robert Haas" <robertmhaas@gmail.com>
Re: minimal update Simon Riggs <simon@2ndQuadrant.com>
Re: minimal update Tom Lane <tgl@sss.pgh.pa.us>
Re: minimal update Kenneth Marshall <ktm@rice.edu>
Re: minimal update Andrew Dunstan <andrew@dunslane.net>
Re: minimal update Alvaro Herrera <alvherre@commandprompt.com>
Re: minimal update Andrew Dunstan <andrew@dunslane.net>
Re: minimal update David Fetter <david@fetter.org>
Re: minimal update Andrew Dunstan <andrew@dunslane.net>
Re: minimal update Andrew Dunstan <andrew@dunslane.net>
Re: minimal update Tom Lane <tgl@sss.pgh.pa.us>
Re: minimal update Tom Lane <tgl@sss.pgh.pa.us>
Re: minimal update Magnus Hagander <magnus@hagander.net>
Re: minimal update "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: minimal update "Robert Haas" <robertmhaas@gmail.com>
Re: minimal update Andrew Dunstan <andrew@dunslane.net>
Re: minimal update Decibel! <decibel@decibel.org>
Re: minimal update "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: minimal update Andrew Dunstan <andrew@dunslane.net>
Re: minimal update David Fetter <david@fetter.org>
Re: minimal update "Merlin Moncure" <mmoncure@gmail.com>
Re: minimal update Michael Glaesemann <grzm@seespotcode.net>
Re: minimal update Andrew Dunstan <andrew@dunslane.net>
Re: minimal update Tom Lane <tgl@sss.pgh.pa.us>
Re: minimal update Andrew Dunstan <andrew@dunslane.net>
Re: minimal update Tom Lane <tgl@sss.pgh.pa.us>
Re: minimal update Andrew Dunstan <andrew@dunslane.net>
Re: minimal update Andrew Dunstan <andrew@dunslane.net>
Re: minimal update Decibel! <decibel@decibel.org>
Re: minimal update Andrew Dunstan <andrew@dunslane.net>
Michael Glaesemann writes: > What would be the disadvantages of always doing this, i.e., just > making this part of the normal update path in the backend? (1) cycles wasted to no purpose in the vast majority of cases. (2) visibly inconsistent behavior for apps that pay attention to ctid/xmin/etc. (3) visibly inconsistent behavior for apps that have AFTER triggers. There's enough other overhead in issuing an update (network, parsing/planning/etc) that a sanely coded application should try to avoid issuing no-op updates anyway. The proposed trigger is just a band-aid IMHO. I think having it as an optional trigger is a reasonable compromise. regards, tom lane
В списке pgsql-hackers по дате отправления
От: Bruce Momjian
Дата: