Re: View definition formatting
От | Christopher Kings-Lynne |
---|---|
Тема | Re: View definition formatting |
Дата | |
Msg-id | 05fb01c2f8b7$b673a110$6500a8c0@fhp.internal обсуждение исходный текст |
Ответ на | Re: View definition formatting (Peter Eisentraut <peter_e@gmx.net>) |
Список | pgsql-hackers |
> Perhaps we could make pg_get_ruledef and friends try to prettyprint > their output a little better, instead of duplicating such logic in > various clients (which couldn't do nearly as well at it anyway without > re-parsing the string :-(). > > Does anyone have code that depends on these functions returning > single-line output? (I suppose the pg_rules and pg_views views might > get a bit ugly, but perhaps psql could be taught to format data with > embedded newlines better than it does now...) Well, phpPgAdmin kind of assumes that it does, however since it's written to a webpage, it will appear as one line anyway. I would need to just convert newlines to <br>s that's all. The other dependency would be the new rule and trigger defs in that patch I sent in for psql recently. (And was committed). Chris
В списке pgsql-hackers по дате отправления: