Re: Terms.
От
Bruce Momjian
Тема
Re: Terms.
Дата
Msg-id
201009201529.o8KFTLQ18950@momjian.us
Ответ на
Re: Terms. (Robert Haas)
Список
Дерево обсуждения
Terms. Dmitriy Igrishin <dmitigr@gmail.com>
Re: Terms. Robert Haas <robertmhaas@gmail.com>
Re: Terms. Dmitriy Igrishin <dmitigr@gmail.com>
Re: Terms. Robert Haas <robertmhaas@gmail.com>
Re: Terms. Bruce Momjian <bruce@momjian.us>
Re: Terms. Dmitriy Igrishin <dmitigr@gmail.com>
Re: Terms. Alvaro Herrera <alvherre@commandprompt.com>
Re: Terms. Bruce Momjian <bruce@momjian.us>
Re: Terms. Dmitriy Igrishin <dmitigr@gmail.com>
Re: Terms. Alvaro Herrera <alvherre@commandprompt.com>
"Backend server" term usage Bruce Momjian <bruce@momjian.us>
Re: "Backend server" term usage Alvaro Herrera <alvherre@commandprompt.com>
Re: "Backend server" term usage Dmitriy Igrishin <dmitigr@gmail.com>
Re: "Backend server" term usage Dmitriy Igrishin <dmitigr@gmail.com>
Re: "Backend server" term usage Bruce Momjian <bruce@momjian.us>
Re: Terms. Dmitriy Igrishin <dmitigr@gmail.com>
Re: Terms. Dmitriy Igrishin <dmitigr@gmail.com>
Robert Haas wrote: > With respect to PQnfields() vs. PQftablecol(), I think the word > "fields" is being used to refer to the columns of the result set, and > the word "columns" to refer to the columns of tables on the server. > So PQftablecol() is actually trying to tell you the number of the > table column where a particular "field" in the results came from. > This is sort of a subtle distinction, though, and the fact that > "field" is being abbreviated to "f" in some but not all cases doesn't > make it any more clear. PQftablecol() is really supposed to mean > "field-table-column" - i.e. look up the table column for this field. > But the name is definitely less than totally self-documenting. FYI, many of these function names date back to Berkeley. Libpq is called 'libpq' because of the original use of the QUEL query language, i.e. lib Post-QUEL. We have a proud backward-compatibility history with this library. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +
В списке pgsql-docs по дате отправления