diff options
Diffstat (limited to 'src/bin/scripts/createlang.c')
-rw-r--r-- | src/bin/scripts/createlang.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/bin/scripts/createlang.c b/src/bin/scripts/createlang.c index 01df2a3275e..3b4a9b060d8 100644 --- a/src/bin/scripts/createlang.c +++ b/src/bin/scripts/createlang.c @@ -5,7 +5,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Header: /cvsroot/pgsql/src/bin/scripts/createlang.c,v 1.5 2003/07/23 08:47:41 petere Exp $ + * $Header: /cvsroot/pgsql/src/bin/scripts/createlang.c,v 1.6 2003/08/04 00:43:29 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -110,9 +110,9 @@ main(int argc, char *argv[]) if (argc - optind > 0) { - fprintf(stderr, _("%s: too many command-line arguments (first is \"%s\")\n"), + fprintf(stderr, _("%s: too many command-line arguments (first is \"%s\")\n"), progname, argv[optind]); - fprintf(stderr, _("Try \"%s --help\" for more information.\n"), progname); + fprintf(stderr, _("Try \"%s --help\" for more information.\n"), progname); exit(1); } @@ -154,7 +154,7 @@ main(int argc, char *argv[]) if (langname == NULL) { fprintf(stderr, _("%s: missing required argument language name\n"), progname); - fprintf(stderr, _("Try \"%s --help\" for more information.\n"), progname); + fprintf(stderr, _("Try \"%s --help\" for more information.\n"), progname); exit(1); } @@ -165,37 +165,37 @@ main(int argc, char *argv[]) if (*p >= 'A' && *p <= 'Z') *p += ('a' - 'A'); - if (strcmp(langname, "plpgsql")==0) + if (strcmp(langname, "plpgsql") == 0) { trusted = true; handler = "plpgsql_call_handler"; object = "plpgsql"; } - else if (strcmp(langname, "pltcl")==0) + else if (strcmp(langname, "pltcl") == 0) { trusted = true; handler = "pltcl_call_handler"; object = "pltcl"; } - else if (strcmp(langname, "pltclu")==0) + else if (strcmp(langname, "pltclu") == 0) { trusted = false; handler = "pltclu_call_handler"; object = "pltcl"; } - else if (strcmp(langname, "plperl")==0) + else if (strcmp(langname, "plperl") == 0) { trusted = true; handler = "plperl_call_handler"; object = "plperl"; } - else if (strcmp(langname, "plperlu")==0) + else if (strcmp(langname, "plperlu") == 0) { trusted = false; handler = "plperl_call_handler"; object = "plperl"; } - else if (strcmp(langname, "plpythonu")==0) + else if (strcmp(langname, "plpythonu") == 0) { trusted = false; handler = "plpython_call_handler"; |