1. 14 10月, 1998 1 次提交
    • M
      · 4fff1dad
      Marc G. Fournier 提交于
      From: Peter Gucwa <pg@softcomputer.com>
      
      Here are patches needed to complie under AIX 4.2.
      I changed configure.in, pqcomm.c, config.h.in, and fe-connect.c.
      Also I had to install flex because lex did not want to translate pgc.l.
      4fff1dad
  2. 09 10月, 1998 1 次提交
    • T
      Do not enable TCL_ARRAYS feature by default, because it · 60fee725
      Tom Lane 提交于
      is wrong and dangerous unless you are using contrib/string.  We really
      need a thorough look at the issue of making the backend and the FE/BE
      protocols completely 8-bit-clean for string data, but that's a task
      for some future release.
      60fee725
  3. 07 10月, 1998 1 次提交
  4. 06 10月, 1998 1 次提交
    • T
      Add configure test to make sure fcntl(SETLK) is available, · 9e23ab9b
      Tom Lane 提交于
      and make backend/libpq/pqcomm.c only try to lock the socket file when
      the call exists.  Also, change open-RDONLY to open-WRONLY; at least
      on my platform, you can't get a write lock on a file you didn't open
      for writing.
      9e23ab9b
  5. 12 9月, 1998 2 次提交
  6. 11 9月, 1998 2 次提交
  7. 26 8月, 1998 1 次提交
    • M
      · 1acf0d85
      Marc G. Fournier 提交于
      From: Massimo Dal Zotto <dz@cs.unitn.it>
      
      config.patch
      
              remove old defines no more used in the code.
      1acf0d85
  8. 24 8月, 1998 1 次提交
    • B
      Attached is a patch that uses autoconf to determine whether there · 07ae591c
      Bruce Momjian 提交于
      is a working 64-bit-int type available.
      
      In playing around with it on my machine, I found that gcc provides
      perfectly fine support for "long long" arithmetic ... but sprintf()
      and sscanf(), which are system-supplied, don't work :-(.  So the
      autoconf test program does a cursory test on them too.
      
      If we find that a lot of systems are like this, it might be worth
      the trouble to implement binary<->ASCII conversion of int64 ourselves
      rather than relying on sprintf/sscanf to handle the data type.
      
      			regards, tom lane
      07ae591c
  9. 02 8月, 1998 1 次提交
    • M
      · 0668aa88
      Marc G. Fournier 提交于
      Adrian Hall reported a problem to me that snprintf() doesn't exist in, at
      least, Solaris 2.5.1.  We use it in backend/utils/adt/int8.c.
      
      Add a check to configure so that we see if it exists or not, and, if not,
      compile in snprintf.c from backend/port, which was taken from, and falls under
      the same Berkeley license as us, the FreeBSD libc/stdio ...
      0668aa88
  10. 13 5月, 1998 2 次提交
    • M
      · 9391dd36
      Marc G. Fournier 提交于
      Add a check for DBL_MIN problem...not sure if this is right...needs
      testing...
      9391dd36
    • B
      The attached patch corrects two problems with autoconfiguration of · 982c695f
      Bruce Momjian 提交于
      psql in Postgres 6.3.2.  Both of these problems were complained of
      recently in pgsql-questions:
      
      1. In the right circumstances, psql.c will fail to compile due to
      trying
         to include a nonexistent <history.h>.  (Thread "Compile-time
         error" around 17 Apr 98.) 2. In other circumstances, psql will
      compile but does not provide
         command history capability, even though the underlying readline
         library supports it.  (Various threads, most recently "query
         repetition in psql" around 29 Apr.)
      
      Tom Lane
      982c695f
  11. 07 4月, 1998 2 次提交
  12. 06 4月, 1998 1 次提交
    • B
      this patch solve 2 problemes : · fdb37f07
      Bruce Momjian 提交于
      probleme number 1 :
      
      - configure can find the library readline , but don't
        find the header file . so in this case we don't use lib readline
        .
      
      probleme number 2 :
      
      - when you have postgres 6.2.1 and readline installed
        with the same prefix( and generally all your software ) .  you
        can compile the version 6.3 .  I use this prefix , when configure
        ask me for "Additional directories to search for include files"
        .
      
        ( because there a conflict in the header when you
          compile psql.c ) In this case, you must permut the sequence of
        directive -I .
      
      Erwan MAS
      fdb37f07
  13. 31 3月, 1998 1 次提交
    • M
      Pointed out by: Doug Winterburn <dlw@seavme.xroads.com> · 92c6bf97
      Marc G. Fournier 提交于
      2) Add "#define gettimeofday(a,b) gettimeofday(a) to src/include/config.h
              On the 88k SVR4, gettimeofday only has one argument.  This is
              checked for in a few other packages by configure, so there should
              be some examples of the configure test out there.
      92c6bf97
  14. 24 2月, 1998 4 次提交
    • M
      From: "Denis V. Dmitrienko" <denis@null.net> · 0227a4e1
      Marc G. Fournier 提交于
      What it does:
      It solves stupid problem with cyrillic charsets IP-based on-fly recoding.
      take a look at /data/charset.conf for details.
      You can use any tables for any charset.
      Tables are from Russian Apache project.
      Tables in this patch contains also Ukrainian characters.
      
      Then run ./configure --enable-recode
      0227a4e1
    • M
      From: t-ishii@sra.co.jp · 96316211
      Marc G. Fournier 提交于
      Ok. I have decided to use:
      
      #if defined(sun) && if defined(sparc) && !defined(__svr4)
      
      instead of defined(sunos4).  interfaces/libpq/libpq-fe.h and
      include/c.h have been modified(see included patches).
      
      Another porblems I have found are:
      
      o SunOS lacks strtoul(). to fix this I stole strtoul.c from FreeBSD
      and place it under backend/port. necessary modifications have been
      also made to backend/port/Makefile.in, include/config.h.in and
      configure.in (see included patches).
      96316211
    • M
      Various fixes for string.h vs strings.h · 712e77e3
      Marc G. Fournier 提交于
      From: Frank Ridderbusch <ridderbusch.pad@sni.de>
      712e77e3
    • M
      7549bb66
  15. 18 2月, 1998 1 次提交
  16. 15 2月, 1998 1 次提交
    • M
      From: Brian E Gallew <geek+@cmu.edu> · 527f8bab
      Marc G. Fournier 提交于
      dgux 5.4R4.11
      
      Missing port-protos.h (not needed, I think).  Wants dld.h.  Should
      really use the system dl stuff (like i386_solaris).  Needs to include
      <netinet/in.h> before <arpa/inet.h>.  Here are some patches...
      527f8bab
  17. 02 2月, 1998 1 次提交
  18. 27 1月, 1998 2 次提交
  19. 24 1月, 1998 1 次提交
  20. 16 1月, 1998 1 次提交
    • M
      Fix: · d876c258
      Marc G. Fournier 提交于
      nodeAgg.c: WARN -> NOTICE for elog
      parse_oper.c: was created after patch for fmgr_info, so function call wrong
      scan.c: regenerated for i386_solaris using flex 2.5.4
      gethostname.c: required prototype for gethostname() function
      config.h.in: create prototype for isinfo() function
      
      isinf.c: "fake" isinf() under i386_solaris using fpclass() call...
      d876c258
  21. 20 12月, 1997 3 次提交
  22. 19 12月, 1997 1 次提交
  23. 22 11月, 1997 1 次提交
  24. 27 10月, 1997 1 次提交
    • V
      c.h: · 6855820e
      Vadim B. Mikheev 提交于
      #define StrNCpy(dst,src,len)    \
      	(strncpy((dst),(src),(len)),(len > 0) ? *((dst)+(len)-1)='\0' : \
      	NULL,(void)(dst))
      	     ^^^^^^ - to avoid "value computed is not used" from gcc
      	in ma-a-any places (should to fix thouse places instead, but ...
      	time)
      
      config.h.in:
      /*
       * TBL_FREE_CMD_MEMORY: free memory allocated for an user query inside
       * transaction block after this query is done.
       */
      #define TBL_FREE_CMD_MEMORY
      - this is default now.
      6855820e
  25. 19 9月, 1997 1 次提交
  26. 17 8月, 1997 1 次提交
  27. 30 7月, 1997 1 次提交
  28. 25 4月, 1997 1 次提交
  29. 23 4月, 1997 1 次提交
  30. 16 4月, 1997 1 次提交