mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-17 19:30:00 +08:00
Re-order args for TypeCreate() to be clearer.
This commit is contained in:
parent
7c00ffb843
commit
d79b9a1b7a
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* 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
|
||||
* heap_creatr() - Create an uncataloged heap relation
|
||||
@ -729,8 +729,8 @@ addNewRelationType(char *typeName, Oid new_rel_oid)
|
||||
',', /* default array delimiter */
|
||||
"int4in", /* input procedure */
|
||||
"int4out",/* output procedure */
|
||||
"int4out",/* send procedure */
|
||||
"int4in", /* receive procedure */
|
||||
"int4out",/* send procedure */
|
||||
NULL, /* array element type - irrelevent */
|
||||
"-", /* default type value */
|
||||
(bool) 1, /* passed by value */
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* 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 *inputProcedure,
|
||||
char *outputProcedure,
|
||||
char *sendProcedure,
|
||||
char *receiveProcedure,
|
||||
char *sendProcedure,
|
||||
char *elementTypeName,
|
||||
char *defaultTypeValue, /* internal rep */
|
||||
bool passedByValue,
|
||||
|
@ -9,7 +9,7 @@
|
||||
*
|
||||
*
|
||||
* 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
|
||||
* The "DefineFoo" routines take the parse tree and pick out the
|
||||
@ -730,8 +730,8 @@ DefineType(char *typeName, List *parameters)
|
||||
delimiter, /* array element delimiter */
|
||||
inputName, /* input procedure */
|
||||
outputName, /* output procedure */
|
||||
sendName, /* send procedure */
|
||||
receiveName, /* receive procedure */
|
||||
sendName, /* send procedure */
|
||||
elemName, /* element type name */
|
||||
defaultValue, /* default type value */
|
||||
byValue, /* passed by value */
|
||||
@ -752,8 +752,8 @@ DefineType(char *typeName, List *parameters)
|
||||
DEFAULT_TYPDELIM,/* array element delimiter */
|
||||
"array_in", /* input procedure */
|
||||
"array_out", /* output procedure */
|
||||
"array_out", /* send procedure */
|
||||
"array_in", /* receive procedure */
|
||||
"array_out", /* send procedure */
|
||||
typeName, /* element type name */
|
||||
defaultValue, /* default type value */
|
||||
false, /* never passed by value */
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
* 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
|
||||
* the genbki.sh script reads this file and generates .bki
|
||||
@ -378,8 +378,8 @@ TypeCreate(char *typeName,
|
||||
char typDelim,
|
||||
char *inputProcedure,
|
||||
char *outputProcedure,
|
||||
char *sendProcedure,
|
||||
char *receiveProcedure,
|
||||
char *sendProcedure,
|
||||
char *elementTypeName,
|
||||
char *defaultTypeValue,
|
||||
bool passedByValue, char alignment);
|
||||
|
Loading…
Reference in New Issue
Block a user