Hello, 

The patch correcting the small error in implementing the handling of the 
multi-line queries which is causing the build failure on machines without 
readline ( http://archives.postgresql.org/pgsql-hackers/2006-02/msg00511.php )

Regards,
        Sergey

*****************************************************
Sergey E. Koposov
Max Planck Institute for Astronomy
Web: http://lnfm1.sai.msu.ru/~math 
E-mail: [EMAIL PROTECTED]

Index: input.c
===================================================================
RCS file: /projects/cvsroot/pgsql/src/bin/psql/input.c,v
retrieving revision 1.48
diff -c -r1.48 input.c
*** input.c     12 Feb 2006 05:24:38 -0000      1.48
--- input.c     13 Feb 2006 12:19:06 -0000
***************
*** 212,218 ****
        return NULL;
  }
  
! 
  static void encode_history()
  {
        HIST_ENTRY *cur_hist;
--- 212,218 ----
        return NULL;
  }
  
! #ifdef USE_READLINE
  static void encode_history()
  {
        HIST_ENTRY *cur_hist;
***************
*** 236,242 ****
                        if (*cur_ptr == NL_IN_HISTORY)
                                *cur_ptr = '\n';
  }
! 
  
  /*
   * Put any startup stuff related to input in here. It's good to maintain
--- 236,242 ----
                        if (*cur_ptr == NL_IN_HISTORY)
                                *cur_ptr = '\n';
  }
! #endif
  
  /*
   * Put any startup stuff related to input in here. It's good to maintain
---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to