You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Bruce Momjian
6cb1f4fe44
The "random" regression test uses a function called oidrand(), which
...
takes two parameters, an OID x and an integer y, and returns "true" with
probability 1/y (the OID argument is ignored). This can be useful -- for
example, it can be used to select a random sampling of the rows in a
table (which is what the "random" regression test uses it for).
This patch removes that function, because it was old and messy. The old
function had the following problems:
- it was undocumented
- it was poorly named
- it was designed to workaround an optimizer bug that no longer exists
(the OID argument is to ensure that the optimizer won't optimize away
calls to the function; AFAIK marking the function as 'volatile' suffices
nowadays)
- it used a different random-number generation technique than the other
PSRNG-related functions in the backend do (it called random() like they
do, but it had its own logic for setting a set and deciding when to
reseed the RNG).
Ok, this patch removes oidrand(), oidsrand(), and userfntest(), and
improves the SGML docs a little bit (un-commenting the setseed()
documentation).
Neil Conway
23 years ago
..
Makefile
Add a bunch of pseudo-types to replace the behavior formerly associated
24 years ago
acl.c
Suppress gcc warnings.
23 years ago
arrayfuncs.c
Tweak ArrayCount() to forestall possible access to temp[-1]. Problem
23 years ago
arrayutils.c
Update copyright to 2002.
24 years ago
ascii.c
Remove #ifdef MULTIBYTE per hackers list discussion.
24 years ago
bool.c
Update copyright to 2002.
24 years ago
cash.c
pgindent run.
24 years ago
char.c
Update copyright to 2002.
24 years ago
date.c
Allow a time zone to be specified (and silently ignored) in the input
23 years ago
datetime.c
Repair array subscript overrun identified by Yichen Xie. Reduce the
23 years ago
datum.c
pgindent run.
24 years ago
encode.c
New pgindent run with fixes suggested by Tom. Patch manually reviewed,
24 years ago
float.c
Add extra_float_digits GUC parameter to allow adjustment of displayed
23 years ago
format_type.c
pgindent run.
24 years ago
formatting.c
This patch removes a bunch of superfluous #include directives: if
23 years ago
geo_ops.c
Avoid gratuitous variation in spelling of same error message.
23 years ago
geo_selfuncs.c
Update copyright to 2002.
24 years ago
inet_net_ntop.c
Remove sys/types.h in files that include postgres.h, and hence c.h,
24 years ago
inet_net_pton.c
Remove sys/types.h in files that include postgres.h, and hence c.h,
24 years ago
int.c
Add a bunch of pseudo-types to replace the behavior formerly associated
24 years ago
int8.c
Extend pg_cast castimplicit column to a three-way value; this allows us
24 years ago
like.c
Remove all traces of multibyte and locale options. Clean up comments
24 years ago
like_match.c
Remove all traces of multibyte and locale options. Clean up comments
24 years ago
lockfuncs.c
pgindent run.
24 years ago
mac.c
Make macaddr_in reject trailing garbage (except whitespace).
24 years ago
misc.c
The "random" regression test uses a function called oidrand(), which
23 years ago
nabstime.c
Guard against overrunning CTZName buffer when TZ is bogus.
23 years ago
name.c
Create a distinction between Lists of integers and Lists of OIDs, to get
23 years ago
network.c
Add new palloc0 call as merge of palloc and MemSet(0).
23 years ago
not_in.c
pgindent run.
24 years ago
numeric.c
This patch adds some missing functions for float8 math operations,
24 years ago
numutils.c
pgindent run.
24 years ago
oid.c
Update copyright to 2002.
24 years ago
oracle_compat.c
pgindent run.
24 years ago
pg_locale.c
Fix breakage that had crept into setlocale() usage: once again we've
24 years ago
pg_lzcompress.c
This patch implements FOR EACH STATEMENT triggers, per my email to
23 years ago
pgstatfuncs.c
Make usesysid consistently int4, not oid.
23 years ago
pseudotypes.c
pgindent run.
24 years ago
quote.c
Be careful to include postgres.h *before* any system headers, to ensure
24 years ago
regexp.c
Create a GUC variable REGEX_FLAVOR to control the type of regular
23 years ago
regproc.c
Extend pg_cast castimplicit column to a three-way value; this allows us
24 years ago
ri_triggers.c
Phase 2 of read-only-plans project: restructure expression-tree nodes
23 years ago
ruleutils.c
This patch makes pg_get_constraintdef support UNIQUE, PRIMARY KEY and
23 years ago
selfuncs.c
Replace planner's representation of relation sets, per pghackers discussion.
23 years ago
sets.c
Phase 3 of read-only-plans project: ExecInitExpr now builds expression
23 years ago
tid.c
pgindent run.
24 years ago
timestamp.c
Fix sloppy comment.
23 years ago
varbit.c
Add new palloc0 call as merge of palloc and MemSet(0).
23 years ago
varchar.c
Extend pg_cast castimplicit column to a three-way value; this allows us
24 years ago
varlena.c
Attached are two small patches to expose md5 as a user function -- including
23 years ago
version.c
Functions on 'text' type updated to new fmgr style. 'text' is
26 years ago