1. 08 Aug, 2002 1 commit
  2. 27 Jul, 2002 1 commit
  3. 18 Jul, 2002 1 commit
    • Tatsuo Ishii's avatar
      I have committed many support files for CREATE CONVERSION. Default · eb335a03
      Tatsuo Ishii authored
      conversion procs and conversions are added in initdb. Currently
      supported conversions are:
      
      UTF-8(UNICODE) <--> SQL_ASCII, ISO-8859-1 to 16, EUC_JP, EUC_KR,
      		    EUC_CN, EUC_TW, SJIS, BIG5, GBK, GB18030, UHC,
      		    JOHAB, TCVN
      
      EUC_JP <--> SJIS
      EUC_TW <--> BIG5
      MULE_INTERNAL <--> EUC_JP, SJIS, EUC_TW, BIG5
      
      Note that initial contents of pg_conversion system catalog are created
      in the initdb process. So doing initdb required is ideal, it's
      possible to add them to your databases by hand, however. To accomplish
      this:
      
      psql -f your_postgresql_install_path/share/conversion_create.sql your_database
      
      So I did not bump up the version in cataversion.h.
      
      TODO:
      Add more conversion procs
      Add [CASCADE|RESTRICT] to DROP CONVERSION
      Add tuples to pg_depend
      Add regression tests
      Write docs
      Add SQL99 CONVERT command?
      --
      Tatsuo Ishii
      eb335a03
  4. 16 Jul, 2002 1 commit
  5. 22 May, 2002 1 commit
  6. 05 May, 2002 1 commit
  7. 13 Mar, 2002 1 commit
    • Peter Eisentraut's avatar
      Move · f362dcec
      Peter Eisentraut authored
        src/GNUmakefile.in to src/Makefile
      and
        src/backend/port/Makefile.in to src/backend/port/Makefile
      
      All configure substitutions are now done in Makefile.global.
      f362dcec
  8. 18 Feb, 2002 1 commit
  9. 20 Nov, 2001 1 commit
  10. 16 Sep, 2001 1 commit
    • Peter Eisentraut's avatar
      Install dynamically loadable modules into a private subdirectory · 264f8f2b
      Peter Eisentraut authored
      under libdir, for a cleaner separation in the installation layout
      and compatibility with binary packaging standards.  Point backend's
      default search location there.  The contrib modules are also
      installed in the said location, giving them the benefit of the
      default search path as well.  No changes in user interface
      nevertheless.
      264f8f2b
  11. 02 Jun, 2001 1 commit
    • Peter Eisentraut's avatar
      Native Language Support (NLS) · e5420364
      Peter Eisentraut authored
      Use --enable-nls to turn it on; see installation instructions for details.
      See developer's guide how to make use of it in programs and how to add
      translations.
      
      psql sources have been almost fully prepared and an incomplete German
      translation has been provided.  In the backend, only elog() calls are
      currently translatable, and the provided German translation file is more
      of a placeholder.
      e5420364
  12. 24 May, 2001 1 commit
    • Bruce Momjian's avatar
      I haven't tried building postgres with the Watcom compiler for 7.1 because · f36fc7bb
      Bruce Momjian authored
      it does not support 64bit integers. AFAIK that's the default data type for
      OIDs, so I am not surprised that this does not work. Use gcc instead.
      BTW., 7.1 does not compile as is with gcc either, I believed the
      required patches made it into the 7.1.1 release but obviously I missed
      the deadline.
      Since the ports mailing list does not seem to be archived I have attached
      a copy of the patch (for 7.1 and 7.1.1).
      
      I've just performed a build of a Watcom compiled version and found a couple
      of bugs in the watcom specific part of that patch. Please use the attached
      version instead.
      
      Tegge, Bernd
      f36fc7bb
  13. 23 Apr, 2001 1 commit
  14. 04 Apr, 2001 1 commit
  15. 02 Apr, 2001 1 commit
  16. 30 Nov, 2000 1 commit
    • Peter Eisentraut's avatar
      Make all commands that link a program look like · e5ba2fc5
      Peter Eisentraut authored
      $(CC) $(CFLAGS) $(LDFLAGS) <object files> <extra-libraries> $(LIBS) -o $@
      
      This form seemed to be the most portable, readable, and logical, but in any
      case it's better than having a dozen different ones in the tree.
      e5ba2fc5
  17. 20 Oct, 2000 1 commit
  18. 07 Oct, 2000 1 commit
  19. 17 Sep, 2000 1 commit
    • Peter Eisentraut's avatar
      Support for DESTDIR make variable. This is used as in `make install · 335248c9
      Peter Eisentraut authored
      DESTDIR=/else/where' and prepends the value of DESTDIR to the full
      installation paths (e.g., /else/where/usr/local/pgsql/bin). This allows
      users to install the package into a location different from the one that
      was configured and hard-coded into various scripts, e.g., for creating
      binary packages.
      
      DESTDIR is in many cases preferrable over `make install
      prefix=/else/where' because
      
      a) `prefix' affects the path that is hard-coded into the files, which can
      lead to a `make install prefix=xxx' (as done by the regression test
      driver) corrupting the files in the source tree with wrong paths.
      
      b) it doesn't work at all if a directory was overridden to not depend on
      `prefix', e.g., --sysconfdir=/etc.
      
      (Updating the regression test driver to use DESTDIR is a separate
      undertaking.)
      
      See also autoconf@gnu.org, From: Akim Demaille <akim@epita.fr>, Date: 08
      Sep 2000 12:48:59 +0200, Message-ID:
      <mv4em2vb1lw.fsf@nostromo.lrde.epita.fr>, Subject: Re: HTML format
      documentation.
      335248c9
  20. 31 Aug, 2000 1 commit
  21. 19 Jul, 2000 1 commit
    • Peter Eisentraut's avatar
      Add distprep target to take some of the job of the release_prep script. · 32163099
      Peter Eisentraut authored
      The latter updated accordingly. Also add `dist' and `distcheck' targets
      to play with, but caveat packager.
      
      Updated backend/bootstrap and backend/parser makefile to make them
      marginally builddir aware and fix the usual set of things.
      
      Add rule to automatically remake config.h dependent on config.h.in and
      config.status. (Adopted from Autoconf manual and about every other
      package.) On a good day we should now have a complete and accurate set
      of dependencies throughout everything.
      32163099
  22. 16 Jul, 2000 1 commit
  23. 14 Jul, 2000 1 commit
  24. 13 Jul, 2000 1 commit
  25. 08 Jul, 2000 1 commit
  26. 06 Jul, 2000 1 commit
    • Peter Eisentraut's avatar
      Backend makefile cleanup. make maintainer-clean is now completely · f0b4ae69
      Peter Eisentraut authored
      functional.
      
      Handle include file installation in src/include/Makefile
      
      genbki.sh improvements: Don't substitute anything by config.status,
      instead pass in AWK and CPP through environment. Change calling
      convention to support named output files, so we get to see error
      messages on stderr.
      
      Rename bootstrap template files and install them into PREFIX/share.
      Update initdb to that effect and other readability improvements
      in initdb.
      f0b4ae69
  27. 02 Jul, 2000 1 commit
  28. 28 Jun, 2000 1 commit
    • Tom Lane's avatar
      First phase of memory management rewrite (see backend/utils/mmgr/README · 1aebc361
      Tom Lane authored
      for details).  It doesn't really do that much yet, since there are no
      short-term memory contexts in the executor, but the infrastructure is
      in place and long-term contexts are handled reasonably.  A few long-
      standing bugs have been fixed, such as 'VACUUM; anything' in a single
      query string crashing.  Also, out-of-memory is now considered a
      recoverable ERROR, not FATAL.
      Eliminate a large amount of crufty, now-dead code in and around
      memory management.
      Fix problem with holding off SIGTRAP, SIGSEGV, etc in postmaster and
      backend startup.
      1aebc361
  29. 17 Jun, 2000 1 commit
  30. 05 Jun, 2000 1 commit
    • Tom Lane's avatar
      Simplify build/install process for bki and description files. There's · c61db5ba
      Tom Lane authored
      no reason for them to be copied into src/backend rather than being
      installed straight from the catalog subdirectory.  This also avoids
      some peculiar behavior (bugs?) present in at least gmake 3.78.1: it
      won't always update the bki files in backend/ even when the ones in
      backend/catalog/ are newer.
      c61db5ba
  31. 04 Jun, 2000 1 commit
  32. 31 May, 2000 1 commit
    • Peter Eisentraut's avatar
      The heralded `Grand Unified Configuration scheme' (GUC) · 6a68f426
      Peter Eisentraut authored
      That means you can now set your options in either or all of $PGDATA/configuration,
      some postmaster option (--enable-fsync=off), or set a SET command. The list of
      options is in backend/utils/misc/guc.c, documentation will be written post haste.
      
      pg_options is gone, so is that pq_geqo config file. Also removed were backend -K,
      -Q, and -T options (no longer applicable, although -d0 does the same as -Q).
      
      Added to configure an --enable-syslog option.
      
      changed all callers from TPRINTF to elog(DEBUG)
      6a68f426
  33. 30 May, 2000 1 commit
  34. 29 May, 2000 2 commits
  35. 28 May, 2000 1 commit
    • Tom Lane's avatar
      First round of changes for new fmgr interface. fmgr itself and the · 0a7fb4e9
      Tom Lane authored
      key call sites are changed, but most called functions are still oldstyle.
      An exception is that the PL managers are updated (so, for example, NULL
      handling now behaves as expected in plperl and plpgsql functions).
      NOTE initdb is forced due to added column in pg_proc.
      0a7fb4e9
  36. 11 May, 2000 1 commit
  37. 08 Apr, 2000 1 commit
  38. 08 Mar, 2000 2 commits
    • Tom Lane's avatar
    • Bruce Momjian's avatar
      I've made a diff against the 7.0beta1 tree that accomplishes several things: · f43ec05d
      Bruce Momjian authored
              1) adds NetBSD shared lib support on both ELF and a.out platforms
      
              2) replaces "-L$(LIBPQDIR) -lpq" with "$(LIBPQ)" defined in
                 Makefile.global.  This makes it much easier to build stuff in
                 the source tree after you've already installed the libraries.
      
              3) adds TEMPLATEDIR in Makefile.global that indicates where the
                 database templates are stored.  This separates the template files
                 from real libraries that are installed in $(LIBDIR).
              4) changes include order of <readline/readline.h> and <readline.h>.
                 The latest GNU readline installs its headers under a readline
                 subdirectory.
      
      In addition to applying the patch below the following files need to be copied:
      
              backend/port/dynloader:
                      bsd.h -> netbsd.h
                      bsd.c -> netbsd.c
              include/port:
                      bsd.h -> netbsd.h
              makefiles:
                      Makefile.bsd -> Makefile.netbsd
      
      It would be great to see this incorporated into the source tree before
      the 7.0 release is cut.
      
              Thanks!
      
           -- Johnny C. Lam <lamj@stat.cmu.edu>
      f43ec05d