1. 19 10月, 1998 1 次提交
    • T
      Centralized shared-library build knowledge in a new file, · 6d98d373
      Tom Lane 提交于
      src/Makefile.shlib.  Updated all the makefiles that try to build shlibs
      to include that file instead of having duplicate (and mostly incomplete)
      copies of shared-library options.  It works on HPUX, a lot better than it
      did before in fact, but there's a chance I broke some other platforms.
      At least now you only have to fix one place not six...
      6d98d373
  2. 15 10月, 1998 2 次提交
  3. 14 10月, 1998 1 次提交
  4. 12 10月, 1998 1 次提交
  5. 07 10月, 1998 1 次提交
  6. 06 10月, 1998 1 次提交
  7. 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
  8. 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
  9. 16 6月, 1998 1 次提交
    • 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
  10. 12 5月, 1998 1 次提交
  11. 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
  12. 27 4月, 1998 1 次提交
    • 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
  13. 12 4月, 1998 1 次提交
  14. 06 4月, 1998 1 次提交
    • B
      Hi, · 1e801a8f
      Bruce Momjian 提交于
      Attached you'll find a (big) patch that fixes make dep and make
      depend in all Makefiles where I found it to be appropriate.
      
      It also removes the dependency in Makefile.global for NAMEDATALEN
      and OIDNAMELEN by making backend/catalog/genbki.sh and bin/initdb/initdb.sh
      a little smarter.
      
      This no longer requires initdb.sh that is turned into initdb with
      a sed script when installing Postgres, hence initdb.sh should be
      renamed to initdb (after the patch has been applied :-) )
      
      This patch is against the 6.3 sources, as it took a while to
      complete.
      
      Please review and apply,
      
      Cheers,
      
      Jeroen van Vianen
      1e801a8f
  15. 23 3月, 1998 2 次提交
  16. 23 2月, 1998 1 次提交
  17. 13 2月, 1998 1 次提交
    • M
      From: Tom I Helbekkmo <tih@Hamartun.Priv.NO> · 64e7adb0
      Marc G. Fournier 提交于
      Apart from this Makefile hack, all I've done is to make dynamically
      loaded code modules fail properly (as was already done for __mips__,
      although I think this is too loose: I believe NetBSD for the pmax can
      do dynamic linking), and to add test-and-set lock handling.  As Bruce
      suggested, this is done in a maximally efficient inlined way: I was
      not aware that this code was so important, speed-wise.
      64e7adb0
  18. 27 1月, 1998 1 次提交
  19. 16 1月, 1998 1 次提交
    • P
      Thank god for searchable mail archives. · baef78d9
      PostgreSQL Daemon 提交于
      Patch by: wieck@sapserv.debis.de (Jan Wieck)
      
         One  of  the design rules of PostgreSQL is extensibility. And
         to follow this rule means (at least for me) that there should
         not  only  be a builtin PL.  Instead I would prefer a defined
         interface for PL implemetations.
      baef78d9
  20. 21 12月, 1997 1 次提交
  21. 20 12月, 1997 2 次提交
  22. 17 12月, 1997 1 次提交
  23. 30 10月, 1997 1 次提交
  24. 17 8月, 1997 1 次提交
  25. 15 7月, 1997 1 次提交
  26. 08 5月, 1997 1 次提交
  27. 26 4月, 1997 1 次提交
  28. 16 4月, 1997 2 次提交
  29. 12 4月, 1997 1 次提交
  30. 04 4月, 1997 4 次提交
    • M
      Move YACC and YFLAGS into the template files · eda9d69d
      Marc G. Fournier 提交于
      Clean up the .sample files...comment out all sample entries except for
      the localhost one
      eda9d69d
    • M
      This commit represents a clean compile with the new templates under · c7b40e60
      Marc G. Fournier 提交于
      FreeBSD
      
      The Makefile(s) have all been cleaned up such that there is a single
      LDFLAGS vs LD_ADD or LDADD or LDFLAGS or LDFLAGS_BE.  The Makefile(s)
      should be alot more straightforward then they were before...and
      consistent
      c7b40e60
    • M
      One helluva mess. · f2eb14ad
      Marc G. Fournier 提交于
      	Further extended Makefile.global/build/configure so that we can
      have a 'template' file for each OS (and each version of OS, as in BSDi)
      which is used as much as possible to generate Makefile.global
      
      	Any future ports should look at using the template file as a basis,
      before moving over to Makefile.global.
      
      	This will most probably break alot of the ports, atho I've tried to
      be very neat about it...
      f2eb14ad
    • M
      Various improvements to reduce questions :) · e3649e9e
      Marc G. Fournier 提交于
      Remove USE_LOCALE from Makefile.global.in
      Add USE_LOCALE to build/configure/config.h
      
      Add check for BUILDRUN in configure to make sure that build is run before
      configure
      e3649e9e
  31. 03 4月, 1997 1 次提交
    • M
      From: Oleg Bartunov <oleg@sai.msu.su> · 5b1311ac
      Marc G. Fournier 提交于
      Subject: [HACKERS] locale patches !
      
      Hi there,
      
      here are little patches to get Postgres 6.1 works with locale stuff.
      This is a patch against 970402.tar.gz, there are no problem to apply them
      by hand to 6.0 release. Collate stuff tested about 1-2 months in real
      working database but I'm sure there must be no problem. US hackers
      could vote against locale implementation ( locale for sure will affect to
      speed of postgres ), so I introduce variable USE_LOCALE which
      controls locale stuff. Non-US users now could use ~* operator
      for searching and <order by> for strings with nation alphabet.
      Please, don't forget, as I did first time, to set environment variable
      LC_CTYPE and LC_COLLATE because backend get locale information from them.
      I start postmaster from a little script, assuming that shell is Bash shell
      it looks like:
      
      #!/bin/sh
      
      export LC_CTYPE=koi8-r
      export LC_COLLATE=koi8-r
      postmaster -B 1024 -S -D/usr/local/pgsql/data/ -o '-Fe'
      5b1311ac
  32. 26 3月, 1997 1 次提交
  33. 25 3月, 1997 1 次提交