Re: Why psql connection assumes default database name asthe username
В списке pgsql-novice по дате отправления:
| От | hubert depesz lubaczewski |
|---|---|
| Тема | Re: Why psql connection assumes default database name asthe username |
| Дата | |
| Msg-id | 20170327083330.GA23671@depesz.com обсуждение исходный текст |
| Ответ на | Re: Why psql connection assumes default database name as the username (Neha Khatri <nehakhatri5@gmail.com>) |
| Ответы |
Re: Why psql connection assumes default database name as the username
|
| Список | pgsql-novice |
On Mon, Mar 27, 2017 at 09:37:44AM +1100, Neha Khatri wrote: > > Sorry, but I don't agree. > > I use databases named like users all the time, and love the fact that > > I don't have to provide dbname when it's obvious. > So, is it common practice to have a database name same as the username. > What are the usecase advantages of the database name and username mapping? > It would be good to understand. Why wouldn't I use the name of user? I can have multiple users on a servers that want to "play" with database, so using db name the same as user name makes it trivial to use and figure out who is using which db. Best regards, depesz
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера