Re: message string fixes
От | Alvaro Herrera |
---|---|
Тема | Re: message string fixes |
Дата | |
Msg-id | 20080120223247.GB24325@alvh.no-ip.org обсуждение исходный текст |
Ответ на | Re: message string fixes (Teodor Sigaev <teodor@sigaev.ru>) |
Ответы |
Re: message string fixes
|
Список | pgsql-hackers |
Teodor Sigaev wrote: >> aren't user-facing errors at all, and should be demoted to elog's, >> correct? >> >> elog(ERROR, "invalid regis pattern: \"%s\"", str); > > Hmm. If regis detects an error in expression then it will be an error for > regex library too. At least, it was supposed to be. And those that are not, probably are not what the user intends anyway, with the pattern language being so narrow. If all invalid regis patterns are indeed invalid regex patterns, then just changing "regis" for "regex" should be enough. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.
В списке pgsql-hackers по дате отправления: