mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Re-order args for TypeCreate() to be clearer.
This commit is contained in:
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.36 1997/11/26 04:37:53 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.37 1997/11/26 04:50:19 momjian Exp $
|
||||||
*
|
*
|
||||||
* INTERFACE ROUTINES
|
* INTERFACE ROUTINES
|
||||||
* heap_creatr() - Create an uncataloged heap relation
|
* heap_creatr() - Create an uncataloged heap relation
|
||||||
@ -729,8 +729,8 @@ addNewRelationType(char *typeName, Oid new_rel_oid)
|
|||||||
',', /* default array delimiter */
|
',', /* default array delimiter */
|
||||||
"int4in", /* input procedure */
|
"int4in", /* input procedure */
|
||||||
"int4out",/* output procedure */
|
"int4out",/* output procedure */
|
||||||
"int4out",/* send procedure */
|
|
||||||
"int4in", /* receive procedure */
|
"int4in", /* receive procedure */
|
||||||
|
"int4out",/* send procedure */
|
||||||
NULL, /* array element type - irrelevent */
|
NULL, /* array element type - irrelevent */
|
||||||
"-", /* default type value */
|
"-", /* default type value */
|
||||||
(bool) 1, /* passed by value */
|
(bool) 1, /* passed by value */
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_type.c,v 1.14 1997/11/25 21:58:50 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_type.c,v 1.15 1997/11/26 04:50:21 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -290,8 +290,8 @@ TypeCreate(char *typeName,
|
|||||||
char typDelim,
|
char typDelim,
|
||||||
char *inputProcedure,
|
char *inputProcedure,
|
||||||
char *outputProcedure,
|
char *outputProcedure,
|
||||||
char *sendProcedure,
|
|
||||||
char *receiveProcedure,
|
char *receiveProcedure,
|
||||||
|
char *sendProcedure,
|
||||||
char *elementTypeName,
|
char *elementTypeName,
|
||||||
char *defaultTypeValue, /* internal rep */
|
char *defaultTypeValue, /* internal rep */
|
||||||
bool passedByValue,
|
bool passedByValue,
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.17 1997/10/28 14:54:46 vadim Exp $
|
* $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.18 1997/11/26 04:50:28 momjian Exp $
|
||||||
*
|
*
|
||||||
* DESCRIPTION
|
* DESCRIPTION
|
||||||
* The "DefineFoo" routines take the parse tree and pick out the
|
* The "DefineFoo" routines take the parse tree and pick out the
|
||||||
@ -730,8 +730,8 @@ DefineType(char *typeName, List *parameters)
|
|||||||
delimiter, /* array element delimiter */
|
delimiter, /* array element delimiter */
|
||||||
inputName, /* input procedure */
|
inputName, /* input procedure */
|
||||||
outputName, /* output procedure */
|
outputName, /* output procedure */
|
||||||
sendName, /* send procedure */
|
|
||||||
receiveName, /* receive procedure */
|
receiveName, /* receive procedure */
|
||||||
|
sendName, /* send procedure */
|
||||||
elemName, /* element type name */
|
elemName, /* element type name */
|
||||||
defaultValue, /* default type value */
|
defaultValue, /* default type value */
|
||||||
byValue, /* passed by value */
|
byValue, /* passed by value */
|
||||||
@ -752,8 +752,8 @@ DefineType(char *typeName, List *parameters)
|
|||||||
DEFAULT_TYPDELIM,/* array element delimiter */
|
DEFAULT_TYPDELIM,/* array element delimiter */
|
||||||
"array_in", /* input procedure */
|
"array_in", /* input procedure */
|
||||||
"array_out", /* output procedure */
|
"array_out", /* output procedure */
|
||||||
"array_out", /* send procedure */
|
|
||||||
"array_in", /* receive procedure */
|
"array_in", /* receive procedure */
|
||||||
|
"array_out", /* send procedure */
|
||||||
typeName, /* element type name */
|
typeName, /* element type name */
|
||||||
defaultValue, /* default type value */
|
defaultValue, /* default type value */
|
||||||
false, /* never passed by value */
|
false, /* never passed by value */
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: pg_type.h,v 1.25 1997/11/18 05:22:51 momjian Exp $
|
* $Id: pg_type.h,v 1.26 1997/11/26 04:50:47 momjian Exp $
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
* the genbki.sh script reads this file and generates .bki
|
* the genbki.sh script reads this file and generates .bki
|
||||||
@ -378,8 +378,8 @@ TypeCreate(char *typeName,
|
|||||||
char typDelim,
|
char typDelim,
|
||||||
char *inputProcedure,
|
char *inputProcedure,
|
||||||
char *outputProcedure,
|
char *outputProcedure,
|
||||||
char *sendProcedure,
|
|
||||||
char *receiveProcedure,
|
char *receiveProcedure,
|
||||||
|
char *sendProcedure,
|
||||||
char *elementTypeName,
|
char *elementTypeName,
|
||||||
char *defaultTypeValue,
|
char *defaultTypeValue,
|
||||||
bool passedByValue, char alignment);
|
bool passedByValue, char alignment);
|
||||||
|
Reference in New Issue
Block a user