postgresql/src/backend
Bruce Momjian d86dee3edd 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
2002-08-22 04:55:05 +00:00
..
access Add a bunch of pseudo-types to replace the behavior formerly associated 2002-08-22 00:01:51 +00:00
bootstrap Reverse out XLogDir/-X write-ahead log handling, per discussion. 2002-08-17 15:12:07 +00:00
catalog Add a bunch of pseudo-types to replace the behavior formerly associated 2002-08-22 00:01:51 +00:00
commands # Disallow TRUNCATE on tables that are involved in referential 2002-08-22 04:51:06 +00:00
executor Tom Lane wrote: 2002-08-15 16:36:08 +00:00
lib Update copyright to 2002. 2002-06-20 20:29:54 +00:00
libpq Add db-local user names, per discussion on hackers. 2002-08-18 03:03:26 +00:00
main Make sure monetary, numeric, and time locale categories are set to C and 2002-08-09 22:52:04 +00:00
nodes Remove Ident nodetype in favor of using String nodes; this fixes some 2002-08-19 15:08:47 +00:00
optimizer Fix failure to relink postmaster executable in the first make run if only a 2002-08-10 17:59:28 +00:00
parser Add a bunch of pseudo-types to replace the behavior formerly associated 2002-08-22 00:01:51 +00:00
po Move PO files into subdirectories separate from the source code. 2002-08-21 20:42:27 +00:00
port Convert possibly-unsafe sprintf's to snprintf's. 2002-08-12 14:47:46 +00:00
postmaster Add db-local user names, per discussion on hackers. 2002-08-18 03:03:26 +00:00
regex Implement SQL99 OVERLAY(). Allows substitution of a substring in a string. 2002-06-11 15:44:38 +00:00
rewrite Restructure system-catalog index updating logic. Instead of having 2002-08-05 03:29:17 +00:00
storage [ Newest version of patch applied.] 2002-08-17 13:04:19 +00:00
tcop Reverse out XLogDir/-X write-ahead log handling, per discussion. 2002-08-17 15:12:07 +00:00
tioga Update copyright to 2002. 2002-06-20 20:29:54 +00:00
utils This patch should fix the problem. Doesn't include my previous patch 2002-08-22 04:55:05 +00:00
Makefile Move PO files into subdirectories separate from the source code. 2002-08-21 20:42:27 +00:00
nls.mk Move PO files into subdirectories separate from the source code. 2002-08-21 20:42:27 +00:00