pgsql-server/src/backend/utils/adt oracle_compat.c

From: momjian(at)postgresql(dot)org (Bruce Momjian - CVS)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src/backend/utils/adt oracle_compat.c
Date: 2002-08-22 04:55:05
Message-ID: 20020822045505.CC5FF476760@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: momjian(at)postgresql(dot)org 02/08/22 00:55:05

Modified files:
src/backend/utils/adt: oracle_compat.c

Log message:
This patch should fix the problem. Doesn't include my previous patch
for repeat(). Again, somewhat off-the-cuff, so I might have missed
something...

test=# select lpad('xxxxx',1431655765,'yyyyyyyyyyyyyyyy');
ERROR: Requested length too large
test=# select rpad('xxxxx',1431655765,'yyyyyyyyyyyyyyyy');
ERROR: Requested length too large

(That's on a Unicode DB, haven't tested other encodings but AFAICT
this fix should still work.)

Neil Conway

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2002-08-22 04:56:45 pgsql-server/doc/src/sgml func.sgml
Previous Message Bruce Momjian - CVS 2002-08-22 04:54:20 pgsql-server/src/backend/utils/adt oracle_compat.c