diff options
author | Bruce Momjian <bruce@momjian.us> | 1999-05-25 16:15:34 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1999-05-25 16:15:34 +0000 |
commit | 07842084fe3e11041f83563c851236395f481470 (patch) | |
tree | ab9960e67325bec5a97b8b4dd4b2075ce60cc420 /src/backend/utils/adt/not_in.c | |
parent | 4b04b01aaa460f1e52980f24173dc7a4535efd2d (diff) |
pgindent run over code.
Diffstat (limited to 'src/backend/utils/adt/not_in.c')
-rw-r--r-- | src/backend/utils/adt/not_in.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/backend/utils/adt/not_in.c b/src/backend/utils/adt/not_in.c index 62a76c83692..7082b0d007e 100644 --- a/src/backend/utils/adt/not_in.c +++ b/src/backend/utils/adt/not_in.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/not_in.c,v 1.15 1999/03/15 03:24:32 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/not_in.c,v 1.16 1999/05/25 16:12:12 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -47,18 +47,16 @@ int4notin(int32 not_in_arg, char *relation_and_attr) int attrid; char *relation, *attribute; - char my_copy[NAMEDATALEN*2+2]; + char my_copy[NAMEDATALEN * 2 + 2]; Datum value; strncpy(my_copy, relation_and_attr, sizeof(my_copy)); - my_copy[sizeof(my_copy)-1] = '\0'; + my_copy[sizeof(my_copy) - 1] = '\0'; relation = (char *) strtok(my_copy, "."); attribute = (char *) strtok(NULL, "."); if (attribute == NULL) - { elog(ERROR, "int4notin: must provide relationname.attributename"); - } /* Open the relation and get a relation descriptor */ |