1. 02 8月, 1998 2 次提交
    • B
      Fix MULTIBYTE typo. · b942928b
      Bruce Momjian 提交于
      b942928b
    • 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
  2. 26 7月, 1998 1 次提交
    • M
      · 5979d738
      Marc G. Fournier 提交于
      From: t-ishii@sra.co.jp
      
      As Bruce mentioned, this is due to the conflict among changes we made.
      Included patches should fix the problem(I changed all MB to
      MULTIBYTE). Please let me know if you have further problem.
      
      P.S. I did not include pathces to configure and gram.c to save the
      file size(configure.in and gram.y modified).
      5979d738
  3. 24 7月, 1998 1 次提交
    • M
      · bf00bbb0
      Marc G. Fournier 提交于
      I really hope that I haven't missed anything in this one...
      
      From: t-ishii@sra.co.jp
      
      Attached are patches to enhance the multi-byte support.  (patches are
      against 7/18 snapshot)
      
      * determine encoding at initdb/createdb rather than compile time
      
      Now initdb/createdb has an option to specify the encoding. Also, I
      modified the syntax of CREATE DATABASE to accept encoding option. See
      README.mb for more details.
      
      For this purpose I have added new column "encoding" to pg_database.
      Also pg_attribute and pg_class are changed to catch up the
      modification to pg_database.  Actually I haved added pg_database_mb.h,
      pg_attribute_mb.h and pg_class_mb.h. These are used only when MB is
      enabled. The reason having separate files is I couldn't find a way to
      use ifdef or whatever in those files. I have to admit it looks
      ugly. No way.
      
      * support for PGCLIENTENCODING when issuing COPY command
      
      commands/copy.c modified.
      
      * support for SQL92 syntax "SET NAMES"
      
      See gram.y.
      
      * support for LATIN2-5
      * add UNICODE regression test case
      * new test suite for MB
      
      New directory test/mb added.
      
      * clean up source files
      
      Basic idea is to have MB's own subdirectory for easier maintenance.
      These are include/mb and backend/utils/mb.
      bf00bbb0
  4. 19 7月, 1998 1 次提交
    • B
      My mailer munged the intro text in my last post. Here is the text · 0624f3dc
      Bruce Momjian 提交于
      in a more readable form.  -- I am submitting the following patches
      to the June 6, 1998 snapshot of PostgreSQL.  These patches implement
      a port of PostgreSQL to SCO UnixWare 7, and updates the Univel port
      (UnixWare 2.x).  The patched files, and the reason
       for the patch are:
      
      File            Reason for the patch ---------------
      ---------------------------------------------------------------
      src/backend/port/dynloader/unixware.c src/backend/port/dynloader/unixware.h
      src/include/port/unixware.h src/makefiles/Makefile.unixware
      src/template/unixware
      		Created for the UNIXWARE port.
      
      src/include/port/univel.h
      		Modifed this file to work with the changes made to
      		s_lock.[ch].
      
      src/backend/storage/buffer/s_lock.c src/include/storage/s_lock.h
      		Moved the UNIXWARE (and Univel) tas() function from
      		s_lock.c to s_lock.h.  The UnixWare compiler asm
      		construct is treated as a macro and needs to be in
      		the s_lock.h file.  I also reworked the tas()
      		function to correct some errors in the code.
      
      src/include/version.h.in
      		The use of the ## operator with quoted strings in
      		the VERSION macro caused problems with the UnixWare
      		C compiler.  I removed the ## operators since they
      		were not needed in this case.  The macro expands
      		into a sequence of quoted strings that will be
      		concatenated by any ANSI C compiler.
      
      src/config.guess
      		This script was modified to recognize SCO UnixWare
      		7.
      
      src/configure src/configure.in
      		The configure script was modified to recognize SCO
      		UnixWare 7.
      
      Billy G. Allie
      0624f3dc
  5. 14 7月, 1998 1 次提交
  6. 19 6月, 1998 1 次提交
  7. 18 6月, 1998 1 次提交
  8. 16 6月, 1998 2 次提交
    • B
      Hi, here are the patches to enhance existing MB handling. This time · cb7cbc16
      Bruce Momjian 提交于
      I have implemented a framework of encoding translation between the
      backend and the frontend. Also I have added a new variable setting
      command:
      
      SET CLIENT_ENCODING TO 'encoding';
      
      Other features include:
      	Latin1 support more 8 bit cleaness
      
      See doc/README.mb for more details. Note that the pacthes are
      against May 30 snapshot.
      
      Tatsuo Ishii
      cb7cbc16
    • B
      Here are two patches to fix up the c++ (and c) support in the · 916cb384
      Bruce Momjian 提交于
      configuration system.  The idea is to make the configure arguments
      that specify compilers to be compatible with the other --with
      options.  The main point, though, is that the c++ support is on by
      default, but can easily be disabled by the --without-CXX option
      for those few(?) that don't want it.
      
      Brook Milligan
      916cb384
  9. 13 6月, 1998 1 次提交
  10. 02 6月, 1998 1 次提交
  11. 24 5月, 1998 1 次提交
    • M
      · b2d7c58c
      Marc G. Fournier 提交于
      1998-05-18  Karl Eichwalder  <ke@suse.de>
      
              * configure.in (AC_CHECK_LIB): check for ncurses; if this fails
              check for curses.
      b2d7c58c
  12. 13 5月, 1998 3 次提交
  13. 29 4月, 1998 1 次提交
    • M
      From: Jeroen van Vianen <jeroenv@design.nl> · 51a1741c
      Marc G. Fournier 提交于
      Attached patch will add a version() function to Postges, e.g.
      
      template1=> select version();
      version
      ------------------------------------------------------------
      PostgreSQL 6.3.2 on i586-pc-linux-gnu, compiled by gcc 2.8.1
      (1 row)
      51a1741c
  14. 28 4月, 1998 1 次提交
    • M
      From: t-ishii@sra.co.jp · f554af0a
      Marc G. Fournier 提交于
      Hi, here are patches I promised (against 6.3.2):
      
      * character_length(), position(), substring() are now aware of
                multi-byte characters
      * add octet_length()
      * add --with-mb option to configure
      * new regression tests for EUC_KR
        (contributed by "Soonmyung. Hong" <hong@lunaris.hanmesoft.co.kr>)
      * add some test cases to the EUC_JP regression test
      * fix problem in regress/regress.sh in case of System V
      * fix toupper(), tolower() to handle 8bit chars
      
      note that:
      
      o  patches for both configure.in and configure are
      included. maybe the one for configure is not necessary.
      
      o pg_proc.h was modified to add octet_length(). I used OIDs
      (1374-1379) for that. Please let me know if these numbers are not
      appropriate.
      f554af0a
  15. 27 4月, 1998 2 次提交
    • M
      From: Tom Lane <tgl@sss.pgh.pa.us> · 6d817475
      Marc G. Fournier 提交于
      HP-UX (all versions) requires shared libraries to have execute
      permission, and really needs them to be exactly mode 555 for
      performance reasons.  The standard configure/install procedure
      installs libpq.sl as mode 644, which DOES NOT WORK.
      
      The attached patch modifies the makefiles to distinguish
      INSTL_LIB_OPTS (install mode for ordinary libraries) from
      INSTL_SHLIB_OPTS (mode for shared libs), and adds a test
      to configure to set INSTL_SHLIB_OPTS="-m 555" when on HP-UX.
      6d817475
    • B
      Add prper perl config testing. · e8fd57d7
      Bruce Momjian 提交于
      e8fd57d7
  16. 24 4月, 1998 2 次提交
  17. 21 4月, 1998 1 次提交
  18. 17 4月, 1998 3 次提交
  19. 10 4月, 1998 1 次提交
  20. 09 4月, 1998 2 次提交
  21. 08 4月, 1998 2 次提交
  22. 07 4月, 1998 2 次提交
  23. 06 4月, 1998 5 次提交
    • B
      confiure cleanup · 041d2e1c
      Bruce Momjian 提交于
      041d2e1c
    • 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
    • B
      configure cleanup. · 34fec161
      Bruce Momjian 提交于
      34fec161
    • B
      confiugre.in cleanup. · 9e45687d
      Bruce Momjian 提交于
      9e45687d
    • B
      Here are 3 patches (all relative to the src directory) to help with · 05102c75
      Bruce Momjian 提交于
      the configuration of v6.3.1.  I have replaced the queries for
      include/lib directories with --with configuration options.  I have
      also included a list of potential tcl/tk include directories directly
      in the CPPFLAGS variable.  As new versions are needed, these should
      be added to the list in reverse numerical order (libraries are in
      a separate list near the end).  This greatly simplifies the later
      checks if --with-tcl is set.  I hope this solution works for
      everyone.
      
      I also added a check to disable the perl support if postgres was
      not already installed (as per the instructions in the directory).
      By the way, why must there be an installed pgsql to compile perl
      support? This seems odd, at best.
      
      Finally, I changed the Makefile in the libpgtcl interface to place
      the shared libraries at the end of the list of files, not at the
      beginning.  With NetBSD at least, libraries are linked in order,
      so the original sequence does not work.
      
      Brook Milligan
      05102c75
  24. 04 4月, 1998 1 次提交
    • B
      A couple of weeks ago I submitted a patch to fix configure --with-tcl. · 67550269
      Bruce Momjian 提交于
      However somebody else also applied a patch to the same part of
      configure to fix a different problem. So part of my patch was not
      applied or got reversed or ... whatever.
      
      The attached patch will restore configure --with-tcl to working
      order and should remove a lot of the messages complaining about
      tcl not working.
      
      Alvin
      67550269
  25. 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