Change to libpgeasy connectdb() call
От | Bruce Momjian |
---|---|
Тема | Change to libpgeasy connectdb() call |
Дата | |
Msg-id | 200005181429.KAA15995@candle.pha.pa.us обсуждение исходный текст |
Список | pgsql-general |
In working on my book, I have found another problem with libpgeasy. It uses the old-style PQsetdb() arg parameters, rather than the newer opt=val PQconnectdb() parameters. I have changed libpgeasy to use this new style. This change will appear in 7.0.1. It is not optimal to do this in a minor release, but I have to document it in my book, and it should be the new format so it can accept username/password. Also, I had changed the connectdb() parameters in 7.0, so everyone should remember what to change. :-) I suspect it is not used by too many people yet because it just make it out of /contrib in 7.0. I considered allowing two connection functions for backward compatibility, but connect() was the natural choice. Sorry for any confusion this causes. The change will be documented in the 7.0.1 release notes. -- Bruce Momjian | http://www.op.net/~candle pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
В списке pgsql-general по дате отправления: