Re: mapping object names to role IDs

Поиск
Список
Период
Сортировка
От alvherre
Тема Re: mapping object names to role IDs
Дата
Msg-id 1274885930-sup-7004@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: mapping object names to role IDs  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: mapping object names to role IDs  (Robert Haas <robertmhaas@gmail.com>)
Re: mapping object names to role IDs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Excerpts from Robert Haas's message of mié may 26 07:20:30 -0400 2010:

> I still feel that we'd be better off putting all the functions that
> use the same design pattern in a single file, rather than spreading
> them out all over the backend.  It's true that that one file will then
> depend on all the catalog stuff, but it actually can limit
> dependencies a little bit on the other end, because if someone wants
> to call a bunch of these functions from the same file, they only need
> to include the one header where they are all declared, rather than all
> the individual files that contain the individual functions.

This doesn't buy you anything, because that one header will likely have
to #include all the other headers anyway.  And if this is so, then all
those headers will now be included in all files that require even a
single one of these functions.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: libpq should not be using SSL_CTX_set_client_cert_cb
Следующее
От: Robert Haas
Дата:
Сообщение: Re: mapping object names to role IDs