mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Renaming cleanup, no pgindent yet.
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.25 1998/06/15 19:28:15 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.26 1998/09/01 03:22:00 momjian Exp $
|
||||
*
|
||||
* DESCRIPTION
|
||||
* The "DefineFoo" routines take the parse tree and pick out the
|
||||
@ -182,7 +182,7 @@ compute_full_attributes(const List *parameters, int32 *byte_pct_p,
|
||||
|
||||
|
||||
static void
|
||||
interpret_AS_clause(const char languageName[], const char as[],
|
||||
interpret_AS_clause(const char *languageName, const char *as,
|
||||
char **prosrc_str_p, char **probin_str_p)
|
||||
{
|
||||
|
||||
@ -710,14 +710,14 @@ defGetString(DefElem *def)
|
||||
{
|
||||
if (nodeTag(def->arg) != T_String)
|
||||
elog(ERROR, "Define: \"%s\" = what?", def->defname);
|
||||
return (strVal(def->arg));
|
||||
return strVal(def->arg);
|
||||
}
|
||||
|
||||
static int
|
||||
defGetTypeLength(DefElem *def)
|
||||
{
|
||||
if (nodeTag(def->arg) == T_Integer)
|
||||
return (intVal(def->arg));
|
||||
return intVal(def->arg);
|
||||
else if (nodeTag(def->arg) == T_String &&
|
||||
!strcasecmp(strVal(def->arg), "variable"))
|
||||
return -1; /* variable length */
|
||||
|
Reference in New Issue
Block a user