| From: | "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au> |
|---|---|
| To: | "Peter Eisentraut" <peter_e(at)gmx(dot)net>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>, <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: View definition formatting |
| Date: | 2003-04-02 01:32:19 |
| Message-ID: | 05fb01c2f8b7$b673a110$6500a8c0@fhp.internal |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgadmin-hackers 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dave Page | 2003-04-02 09:42:55 | Re: pgadmin3 query tools |
| Previous Message | Andreas Pflug | 2003-04-02 00:50:18 | Re: pgadmin3 query tools |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dave Page | 2003-04-02 09:56:30 | Re: View definition formatting |
| Previous Message | mlw | 2003-04-02 00:47:55 | Re: PostgreSQL and SOAP, suggestions? |