AW: [HACKERS] Re: is it a bug?

From: Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: AW: [HACKERS] Re: is it a bug?
Date: 2000-11-28 15:30:49
Message-ID: 11C1E6749A55D411A9670001FA68796336814E@sdexcsrv1.f000.d0188.sd.spardat.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers


> lpad and rpad never truncate, they only pad.
>
> Perhaps they *should* truncate if the specified length is less than
> the original string length. Does Oracle do that?

Yes, it truncates, same as Informix.

Andreas

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Hancock, David (DHANCOCK) 2000-11-28 16:02:22 Help with Database Recovery
Previous Message Tom Lane 2000-11-28 15:09:57 Re: is it a bug?

Browse pgsql-hackers by date

  From Date Subject
Next Message Ross J. Reedstrom 2000-11-28 15:43:24 Re: Please advise features in 7.1 (SUMMARY)
Previous Message xuyifeng 2000-11-28 15:26:00 Re: beta testing version