Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a3fd7af

Browse files
committed
Remove "const" from convertTSFunction()'s return type.
There's no particular reason to mark it as such. The other convert* functions have no const either.
1 parent f712289 commit a3fd7af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/pg_dump/pg_dump.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ static char *format_function_signature(Archive *fout,
225225
static char *convertRegProcReference(Archive *fout,
226226
const char *proc);
227227
static char *convertOperatorReference(Archive *fout, const char *opr);
228-
static const char *convertTSFunction(Archive *fout, Oid funcOid);
228+
static char *convertTSFunction(Archive *fout, Oid funcOid);
229229
static Oid findLastBuiltinOid_V71(Archive *fout, const char *);
230230
static Oid findLastBuiltinOid_V70(Archive *fout);
231231
static void selectSourceSchema(Archive *fout, const char *schemaName);
@@ -11176,7 +11176,7 @@ convertOperatorReference(Archive *fout, const char *opr)
1117611176
* caller should ensure we are in the proper schema, because the results
1117711177
* are search path dependent!
1117811178
*/
11179-
static const char *
11179+
static char *
1118011180
convertTSFunction(Archive *fout, Oid funcOid)
1118111181
{
1118211182
char *result;

0 commit comments

Comments
 (0)