Re: Doing better at HINTing an appropriate column within errorMissingColumn()
От | Alvaro Herrera |
---|---|
Тема | Re: Doing better at HINTing an appropriate column within errorMissingColumn() |
Дата | |
Msg-id | 20140709145007.GN6390@eldon.alvh.no-ip.org обсуждение исходный текст |
Ответ на | Re: Doing better at HINTing an appropriate column within errorMissingColumn() (Peter Geoghegan <pg@heroku.com>) |
Список | pgsql-hackers |
Peter Geoghegan wrote: > On Tue, Jul 8, 2014 at 11:25 PM, Michael Paquier > <michael.paquier@gmail.com> wrote: > >> > 5) Do we want hints on system columns as well? > >> I think it's obvious that the answer must be no. That's going to > >> frequently result in suggestions of columns that users will complain > >> aren't even there. If you know about the system columns, you can just > >> get it right. They're supposed to be hidden for most purposes. > > > > This may sound ridiculous, but I have already found myself mistyping ctid by > > tid and cid while working on patches and modules that played with page > > format, and needing a couple of minutes to understand what was going on (bad > > morning). > > I think that it's clearly not worth it, even if it is true that a > minority sometimes make this mistake. Most users don't know that there > are system columns. It's not even close to being worth it to bring > that into this. I agree with Peter. This is targeted at regular users. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления: