Re: [HACKERS] Useful addition for psql?
| От | Vadim B. Mikheev |
|---|---|
| Тема | Re: [HACKERS] Useful addition for psql? |
| Дата | |
| Msg-id | 8d9a3bc561142215bba6e9d42f2824c2 обсуждение исходный текст |
| Ответ на | [HACKERS] Useful addition for psql? (Andrew Martin <martin@biochemistry.ucl.ac.uk>) |
| Список | pgsql-hackers |
Marc G. Fournier wrote: > > On Fri, 20 Jun 1997, Martin J. Laubach wrote: > > > > for psql to read ~/.psqlrc (or some such thing) as a set of > > > > psql already takes some environment variables and sends them > > to the server. In fact, libpq does that. I think it is called > > PG_DATE or such? (Hmm, maybe I should have documented it somewhere :) > > IMHO, a .psqlrc file would be easier overall...should even have > some sort of 'global' one, maybe? Or maybe use env variables for global > settings, to be overwritten by a psqlrc? IMHO, 'global' one is fine idea. It may be used by different applications and proccessed by libpq on startup automatically. After 'global' is proccessed additional commands from .psqlrc may be posted to backend as well... What about user profiles stored in database in system pg_profile table ? We live in virtual world... Vadim ------------------------------
В списке pgsql-hackers по дате отправления: