mirror of
https://github.com/postgres/postgres.git
synced 2025-11-12 05:01:15 +03:00
Fix comments that were mis-wrapped, for Tom Lane.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/* -----------------------------------------------------------------------
|
||||
* formatting.c
|
||||
*
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/formatting.c,v 1.35 2001/03/22 06:16:17 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/formatting.c,v 1.36 2001/03/23 04:49:54 momjian Exp $
|
||||
*
|
||||
*
|
||||
* Portions Copyright (c) 1999-2000, PostgreSQL Global Development Group
|
||||
@@ -2846,9 +2846,11 @@ to_timestamp(PG_FUNCTION_ARGS)
|
||||
else if (tmfc->yy)
|
||||
{
|
||||
|
||||
/*
|
||||
* 2-digit year: '00' ... '69' = 2000 ... 2069 '70' ... '99' =
|
||||
* 1970 ... 1999
|
||||
/*---------
|
||||
* 2-digit year:
|
||||
* '00' ... '69' = 2000 ... 2069
|
||||
* '70' ... '99' = 1970 ... 1999
|
||||
*---------
|
||||
*/
|
||||
tm->tm_year = tmfc->yy;
|
||||
|
||||
@@ -2860,9 +2862,11 @@ to_timestamp(PG_FUNCTION_ARGS)
|
||||
else if (tmfc->yyy)
|
||||
{
|
||||
|
||||
/*
|
||||
* 3-digit year: '100' ... '999' = 1100 ... 1999 '000' ... '099' =
|
||||
* 2000 ... 2099
|
||||
/*---------
|
||||
* 3-digit year:
|
||||
* '100' ... '999' = 1100 ... 1999
|
||||
* '000' ... '099' = 2000 ... 2099
|
||||
*---------
|
||||
*/
|
||||
tm->tm_year = tmfc->yyy;
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.86 2001/03/22 03:59:54 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.87 2001/03/23 04:49:54 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -1642,9 +1642,10 @@ prefix_selectivity(char *prefix,
|
||||
Int32GetDatum(SEL_CONSTANT | SEL_RIGHT)));
|
||||
pfree(DatumGetPointer(prefixcon));
|
||||
|
||||
/*
|
||||
* If we can create a string larger than the prefix, say "x <
|
||||
* greaterstr".
|
||||
/*-------
|
||||
* If we can create a string larger than the prefix, say
|
||||
* "x < greaterstr".
|
||||
*-------
|
||||
*/
|
||||
greaterstr = make_greater_string(prefix, datatype);
|
||||
if (greaterstr)
|
||||
|
||||
Reference in New Issue
Block a user