Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Novice > Re: encoding pr...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 4 Topic 3033 of 3323
Post > Topic >>

Re: encoding problems

by cliff@[EMAIL PROTECTED] (Cliff Nieuwenhuis) Mar 11, 2008 at 02:07 PM

On Tuesday 11 March 2008 11:41:35 Tom Lane wrote:
> Cliff Nieuwenhuis <cliff@[EMAIL PROTECTED]
> writes:
> > I'm not sure how to ask this question.  I have written a function, and
> > with PostgreSQL 8.0.13 I can do a "\df+" and see something like this
> > under Source Code:
> > 	DECLARE
> > 		result text;
> > ...
> >
> > If I create the same function on my computer running PostgreSQL 8.3.0
and
> > try the \df+ then the Source Code shows:
> >
> > \x09DECLARE
> > \x09\x09result text;
> > ...
>
> That's not an encoding problem, that's an intentional behavioral change
> in the way that psql formats strings for display.
>
> I guess it's a bit annoying if you were hoping that tabs would be useful
> for pretty-printing purposes.  Should we reconsider what's done with a
> tab in mbprint.c?
>
> 			regards, tom lane

My vote would be to go back to the old way, or at least have that as an
option 
of some sort.  I use command-line psql all the time -- to me, psql offers
the 
same advantages as using a command-line interface for other work. I find
the 
extra characters really get in the way.

Thanks for the prompt reply!

-- 
Cliff

-- 
Sent via pgsql-novice mailing list (pgsql-novice@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice
 




 4 Posts in Topic:
encoding problems
cliff@[EMAIL PROTECTED]   2008-03-11 10:10:15 
Re: encoding problems
tgl@[EMAIL PROTECTED] (T  2008-03-11 12:41:35 
Re: encoding problems
cliff@[EMAIL PROTECTED]   2008-03-11 14:07:40 
Re: [HACKERS] encoding problems
tgl@[EMAIL PROTECTED] (T  2008-03-12 10:35:12 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 5:17:33 CST 2008.