diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2013-04-20 11:04:41 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2013-04-20 11:04:41 -0400 |
commit | cc26ea9fe2e41e73c955ea75bea7a77fbd062d64 (patch) | |
tree | 4c436483ffbf452d00669c9a8a1e4072c41f4b12 /src/backend/utils/adt/timestamp.c | |
parent | 6e481ebff6368cb0ab5351a5ef3463747c35af22 (diff) |
Clean up references to SQL92
In most cases, these were just references to the SQL standard in
general. In a few cases, a contrast was made between SQL92 and later
standards -- those have been kept unchanged.
Diffstat (limited to 'src/backend/utils/adt/timestamp.c')
-rw-r--r-- | src/backend/utils/adt/timestamp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/utils/adt/timestamp.c b/src/backend/utils/adt/timestamp.c index 1a848f9a33b..60f29533b71 100644 --- a/src/backend/utils/adt/timestamp.c +++ b/src/backend/utils/adt/timestamp.c @@ -1,7 +1,7 @@ /*------------------------------------------------------------------------- * * timestamp.c - * Functions for the built-in SQL92 types "timestamp" and "interval". + * Functions for the built-in SQL types "timestamp" and "interval". * * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California @@ -2276,9 +2276,9 @@ interval_hash(PG_FUNCTION_ARGS) #endif } -/* overlaps_timestamp() --- implements the SQL92 OVERLAPS operator. +/* overlaps_timestamp() --- implements the SQL OVERLAPS operator. * - * Algorithm is per SQL92 spec. This is much harder than you'd think + * Algorithm is per SQL spec. This is much harder than you'd think * because the spec requires us to deliver a non-null answer in some cases * where some of the inputs are null. */ @@ -3129,7 +3129,7 @@ interval_avg(PG_FUNCTION_ARGS) memcpy((void *) &sumX, DatumGetPointer(transdatums[0]), sizeof(Interval)); memcpy((void *) &N, DatumGetPointer(transdatums[1]), sizeof(Interval)); - /* SQL92 defines AVG of no values to be NULL */ + /* SQL defines AVG of no values to be NULL */ if (N.time == 0) PG_RETURN_NULL(); |