1. 26 8月, 1998 1 次提交
    • M
      · 88b17d9c
      Marc G. Fournier 提交于
      From: Massimo Dal Zotto <dz@cs.unitn.it>
      
      > ps-status.patch
      >
      >       macros for ps status, used by postgres.c and utility.c.
      >       Unfortunately ps status is system dependent and the current
      >       code doesn't work on linux. The use of macros confines system
      >       dependency to into one file (ps-status.h). Users of other
      >       operating systems should check this code and submit new macros.
      88b17d9c
  2. 24 8月, 1998 1 次提交
    • B
      o note that now pg_database has a new attribuite "encoding" even · c0b01461
      Bruce Momjian 提交于
      if MULTIBYTE is not enabled. So be sure to run initdb.
      
      o these patches are made against the latest source tree (after
      Bruce's massive patch, I think) BTW, I noticed that after running
      regression, the oid field of pg_type seems disappeared.
      
      	regression=> select oid from pg_type; ERROR:  attribute
      	'oid' not found
      
      this happens after the constraints test. This occures with/without
      my patches. strange...
      
      o pg_database_mb.h, pg_class_mb.h, pg_attribute_mb.h are no longer
      used, and shoud be removed.
      
      o GetDatabaseInfo() in utils/misc/database.c removed (actually in
      #ifdef 0). seems nobody uses.
      
      t-ishii@sra.co.jp
      c0b01461
  3. 06 8月, 1998 1 次提交
  4. 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
  5. 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
  6. 16 6月, 1998 3 次提交
  7. 05 6月, 1998 1 次提交
  8. 26 2月, 1998 1 次提交
  9. 25 1月, 1998 1 次提交
  10. 06 1月, 1998 2 次提交
  11. 05 1月, 1998 1 次提交
  12. 01 1月, 1998 1 次提交
  13. 04 12月, 1997 1 次提交
  14. 24 11月, 1997 1 次提交
  15. 22 11月, 1997 2 次提交
  16. 07 11月, 1997 1 次提交
  17. 28 10月, 1997 1 次提交
  18. 25 10月, 1997 1 次提交
  19. 29 9月, 1997 1 次提交
  20. 09 9月, 1997 1 次提交
  21. 08 9月, 1997 1 次提交
  22. 07 9月, 1997 1 次提交
  23. 31 8月, 1997 1 次提交
  24. 19 8月, 1997 1 次提交
  25. 18 8月, 1997 1 次提交
  26. 25 7月, 1997 1 次提交
  27. 22 5月, 1997 1 次提交
  28. 23 4月, 1997 2 次提交
    • V
      1. SHOW/RESET var fixed. · 2fac94ec
      Vadim B. Mikheev 提交于
      2. vacuum() call changed (ANALYZE).
      2fac94ec
    • M
      To: Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov> · 4b531912
      Marc G. Fournier 提交于
      Subject: Re: [PATCHES] SET DateStyle patches
      
      On Tue, 22 Apr 1997, Thomas Lockhart wrote:
      
      > Some more patches! These (try to) finish implementing SET variable TO value
      > for "DateStyle" (changed the name from simply "date" to be more descriptive).
      > This is based on code from Martin and Bruce (?), which was easy to modify.
      > The syntax is
      >
      > SET DateStyle TO 'iso'
      > SET DateStyle TO 'postgres'
      > SET DateStyle TO 'sql'
      > SET DateStyle TO 'european'
      > SET DateStyle TO 'noneuropean'
      > SET DateStyle TO 'us'         (same as "noneuropean")
      > SET DateStyle TO 'default'    (current same as "postgres,us")
      >
      > ("european" is just compared for the first 4 characters, and "noneuropean"
      > is compared for the first 7 to allow less typing).
      >
      > Multiple arguments are allowed, so SET datestyle TO 'sql,euro' is valid.
      >
      > My mods also try to implement "SHOW variable" and "RESET variable", but
      > that part just core dumps at the moment. I would guess that my errors
      > are obvious to someone who knows what they are doing with the parser stuff,
      > so if someone (Bruce and/or Martin??) could have it do the right thing
      > we will have a more complete set of what we need.
      >
      > Also, I would like to have a floating point precision global variable to
      > implement "SET precision TO 10" and perhaps "SET precision TO 10,2" for
      > float8 and float4, but I don't know how to do that for integer types rather
      > than strings. If someone is fixing the SHOW and RESET code, perhaps they can
      > add some hooks for me to do the floats while they are at it.
      >
      > I've left some remnants of variable structures in the source code which
      > I did not use in the interests of getting something working for v6.1.
      > We'll have time to clean things up for the next release...
      4b531912
  29. 03 4月, 1997 1 次提交
    • M
      From: "Martin J. Laubach" <mjl@CSlab.tuwien.ac.at> · a51df14a
      Marc G. Fournier 提交于
      Subject: [HACKERS] Patch: SET var TO 'val'
      
        Here is a patch that adds a "SET variable TO 'somevalue'" capability
      to the parser, and then calls the SetPGVariable() function (which does
      just issue a elog(NOTICE) to see whether it works).
      
        That's the framework for adding timezone/date format/language/...
      stuff.
      a51df14a
  30. 02 4月, 1997 1 次提交
  31. 13 3月, 1997 1 次提交
    • M
      From: Dan McGuirk <mcguirk@indirect.com> · e4949f9f
      Marc G. Fournier 提交于
      Subject: [HACKERS] better access control error messages
      
      This patch replaces the 'no such class or insufficient privilege' with
      distinct error messages that tell you whether the table really doesn't
      exist or whether access was denied.
      e4949f9f
  32. 16 1月, 1997 1 次提交
  33. 13 1月, 1997 1 次提交
  34. 14 11月, 1996 1 次提交
    • M
      Commit of a *MAJOR* patch from Dan McGuirk <djm@indirect.com> · 07a65b22
      Marc G. Fournier 提交于
      Changes:
      
              * Unique index capability works using the syntax 'create unique
                index'.
      
              * Duplicate OID's in the system tables are removed.  I put
                little scripts called 'duplicate_oids' and 'find_oid' in
                include/catalog that help to find and remove duplicate OID's.
                I also moved 'unused_oids' from backend/catalog to
                include/catalog, since it has to be in the same directory
                as the include files in order to work.
      
              * The backend tries converting the name of a function or aggregate
                to all lowercase if the original name given doesn't work (mostly
                for compatibility with ODBC).
      
              * You can 'SELECT NULL' to your heart's content.
      
              * I put my _bt_updateitem fix in instead, which uses
                _bt_insertonpg so that even if the new key is so big that
                the page has to be split, everything still works.
      
              * All literal references to system catalog OID's have been
                replaced with references to define'd constants from the catalog
                header files.
      
              * I added a couple of node copy functions.  I think this was a
                preliminary attempt to get rules to work.
      07a65b22
  35. 11 11月, 1996 1 次提交