Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbcde8ea

Browse files
committed
Fix strangely formatted comment.
1 parentf3868f8 commitbcde8ea

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

‎src/backend/commands/define.c

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.56 2001/06/13 21:44:40 tgl Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.57 2001/06/21 18:25:54 momjian Exp $
1414
*
1515
* DESCRIPTION
1616
* The "DefineFoo" routines take the parse tree and pick out the
@@ -64,10 +64,10 @@ static intdefGetTypeLength(DefElem *def);
6464
staticvoid
6565
case_translate_language_name(constchar*input,char*output)
6666
{
67-
/*-------------------------------------------------------------------------
68-
Translate the input language name to lower case, except if it's "C",
69-
translate to upper case.
70-
--------------------------------------------------------------------------*/
67+
/*
68+
* Translate the input language name to lower case, except if it's "C",
69+
* translate to upper case.
70+
*/
7171
inti;
7272

7373
for (i=0;i<NAMEDATALEN-1&&input[i];++i)
@@ -85,10 +85,10 @@ static void
8585
compute_return_type(TypeName*returnType,
8686
char**prorettype_p,bool*returnsSet_p)
8787
{
88-
/*---------------------------------------------------------------------------
89-
Examine the "returns" clause returnType of the CREATE FUNCTION statement
90-
and return information about it as *prorettype_p and *returnsSet.
91-
----------------------------------------------------------------------------*/
88+
/*
89+
* Examine the "returns" clause returnType of the CREATE FUNCTION statement
90+
* and return information about it as *prorettype_p and *returnsSet.
91+
*/
9292
*prorettype_p=TypeNameToInternalName(returnType);
9393
*returnsSet_p=returnType->setof;
9494
}
@@ -100,28 +100,29 @@ compute_full_attributes(List *parameters,
100100
int32*percall_cpu_p,int32*outin_ratio_p,
101101
bool*canCache_p,bool*isStrict_p)
102102
{
103-
/*--------------------------------------------------------------------------
104-
Interpret the parameters *parameters and return their contents as
105-
*byte_pct_p, etc.
106-
107-
These parameters supply optional information about a function.
108-
All have defaults if not specified.
109-
110-
Note: currently, only two of these parameters actually do anything:
111-
112-
* canCache means the optimizer's constant-folder is allowed to
113-
pre-evaluate the function when all its inputs are constants.
114-
115-
* isStrict means the function should not be called when any NULL
116-
inputs are present; instead a NULL result value should be assumed.
117-
118-
The other four parameters are not used anywhere.They used to be
119-
used in the "expensive functions" optimizer, but that's been dead code
120-
for a long time.
121-
122-
Since canCache and isStrict are useful for any function, we now allow
123-
attributes to be supplied for all functions regardless of language.
124-
---------------------------------------------------------------------------*/
103+
/*-------------
104+
* Interpret the parameters *parameters and return their contents as
105+
* *byte_pct_p, etc.
106+
*
107+
* These parameters supply optional information about a function.
108+
* All have defaults if not specified.
109+
*
110+
* Note: currently, only two of these parameters actually do anything:
111+
*
112+
* * canCache means the optimizer's constant-folder is allowed to
113+
* pre-evaluate the function when all its inputs are constants.
114+
*
115+
* * isStrict means the function should not be called when any NULL
116+
* inputs are present; instead a NULL result value should be assumed.
117+
*
118+
* The other four parameters are not used anywhere.They used to be
119+
* used in the "expensive functions" optimizer, but that's been dead code
120+
* for a long time.
121+
*
122+
* Since canCache and isStrict are useful for any function, we now allow
123+
* attributes to be supplied for all functions regardless of language.
124+
*------------
125+
*/
125126
List*pl;
126127

127128
/* the defaults */
@@ -530,7 +531,6 @@ DefineAggregate(char *aggName, List *parameters)
530531
/*
531532
* DefineType
532533
*Registers a new type.
533-
*
534534
*/
535535
void
536536
DefineType(char*typeName,List*parameters)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp