Date:

Mon Sep 11 14:03:10 PDT 1995

Description

psql mishandles certain command line arguments such as -f.

Thanks to Kang (kang@risca.rs.msu.edu) for finding this problem.

Fix

Apply this patch.

===================================================================
RCS file: /usr/local/devel/pglite/cvs/src/bin/psql/psql.c,v
retrieving revision 1.21
diff -c -r1.21 psql.c
*** 1.21	1995/08/30 23:05:59
--- src/bin/psql/psql.c	1995/09/11 18:34:07
***************
*** 813,819 ****
    int echo_query = 0;
    int single_step_mode = 0;
   
!   while ((c = getopt(argc, argv, "c:d:eintff:lhH:nsp:qS")) != EOF) {
      switch (c) {
      case 'c':
        single_query = optarg;
--- 813,819 ----
    int echo_query = 0;
    int single_step_mode = 0;
   
!   while ((c = getopt(argc, argv, "c:d:ef:lhH:nsp:qS")) != EOF) {
      switch (c) {
      case 'c':
        single_query = optarg;