1. 18 Oct, 2001 4 commits
    • Tom Lane's avatar
      Repair missing brace in HAVE_INT_TIMEZONE case. · 369c9e3b
      Tom Lane authored
      369c9e3b
    • Thomas G. Lockhart's avatar
      Accept an INTERVAL argument for SET TIME ZONE per SQL99. · 9310075a
      Thomas G. Lockhart authored
       Modified the parser and the SET handlers to use full Node structures
       rather than simply a character string argument.
      Implement INTERVAL() YEAR TO MONTH (etc) syntax per SQL99.
       Does not yet accept the goofy string format that goes along with, but
       this should be fairly straight forward to fix now as a bug or later
       as a feature.
      Implement precision for the INTERVAL() type.
       Use the typmod mechanism for both of INTERVAL features.
      Fix the INTERVAL syntax in the parser:
       opt_interval was in the wrong place.
      INTERVAL is now a reserved word, otherwise we get reduce/reduce errors.
      Implement an explicit date_part() function for TIMETZ.
       Should fix coersion problem with INTERVAL reported by Peter E.
      Fix up some error messages for date/time types.
       Use all caps for type names within message.
      Fix recently introduced side-effect bug disabling 'epoch' as a recognized
       field for date_part() etc. Reported by Peter E. (??)
      Bump catalog version number.
      Rename "microseconds" current transaction time field
       from ...Msec to ...Usec. Duh!
      date/time regression tests updated for reference platform, but a few
       changes will be necessary for others.
      9310075a
    • Tom Lane's avatar
      Extend code that deduces implied equality clauses to detect whether a · 6254465d
      Tom Lane authored
      clause being added to a particular restriction-clause list is redundant
      with those already in the list.  This avoids useless work at runtime,
      and (perhaps more importantly) keeps the selectivity estimation routines
      from generating too-small estimates of numbers of output rows.
      Also some minor improvements in OPTIMIZER_DEBUG displays.
      6254465d
    • Michael Meskes's avatar
      Added Lee Kindness' patches. · 50450049
      Michael Meskes authored
      50450049
  2. 17 Oct, 2001 1 commit
  3. 16 Oct, 2001 8 commits
  4. 15 Oct, 2001 15 commits
    • Tom Lane's avatar
      Add note about pg_stats to pg_statistic entry; add sections for · daf72bba
      Tom Lane authored
      pg_largeobject, pg_listener, pg_rewrite, pg_trigger; miscellaneous
      small improvements.
      daf72bba
    • Tom Lane's avatar
      e158670c
    • Tom Lane's avatar
    • Tom Lane's avatar
    • Tom Lane's avatar
    • Bruce Momjian's avatar
      > Uh, isn't the correct fix · 394925b6
      Bruce Momjian authored
       > ! $$ = cat_str(8, make_str("grant"), $2, make_str("on"), $4, $5,
       > make_str("to"), $7, $8);
       > ISTM your patch loses the opt_with_grant clause.  (Of course the
       > backend doesn't currently accept that clause anyway, but that's no
       > reason for ecpg to drop it.)
      
      My patch doesn't loose the option, it's never been passed on anyway:
      
       opt_with_grant:  WITH GRANT OPTION
                                      {
                                              mmerror(ET_ERROR, "WITH GRANT OPTION is not supported.  Only relation owners can
       set privileges");
                                       }
                      | /*EMPTY*/
                      ;
      
      The existing code in ecpg/preproc/preproc.y to handle the WITH option
      simply throws an error and aborts the processing... The patch below
      prevents the segfault and also passes on the WITH option to the
      backend, probably a better fix.
      
      Lee Kindness
      394925b6
    • Tom Lane's avatar
      b261cb9f
    • Bruce Momjian's avatar
    • Tatsuo Ishii's avatar
      Forgot to add this file... · cdce5070
      Tatsuo Ishii authored
      cdce5070
    • Bruce Momjian's avatar
      PG_DUMP NLS (Russian) · 1c6bd047
      Bruce Momjian authored
      Here is another one :)
      Another chunk of translated messages.
      Please apply to the same file.
      
      Serguei Mokhov
      1c6bd047
    • Tom Lane's avatar
    • Tatsuo Ishii's avatar
      Commit Patrice's patches except: · df4cba68
      Tatsuo Ishii authored
      > - corrects a bit the UTF-8 code from Tatsuo to allow Unicode 3.1
      >  characters (characters with values >= 0x10000, which are encoded on
      >  four bytes).
      
      Also, update mb/expected/unicode.out. This is necessary since the
      patches affetc the result of queries using UTF-8.
      ---------------------------------------------------------------
      Hi,
      
      I should have sent the patch earlier, but got delayed by other stuff.
      Anyway, here is the patch:
      
      - most of the functionality is only activated when MULTIBYTE is
        defined,
      
      - check valid UTF-8 characters, client-side only yet, and only on
        output, you still can send invalid UTF-8 to the server (so, it's
        only partly compliant to Unicode 3.1, but that's better than
        nothing).
      
      - formats with the correct number of columns (that's why I made it in
        the first place after all), but only for UNICODE. However, the code
        allows to plug-in routines for other encodings, as Tatsuo did for
        the other multibyte functions.
      
      - corrects a bit the UTF-8 code from Tatsuo to allow Unicode 3.1
        characters (characters with values >= 0x10000, which are encoded on
        four bytes).
      
      - doesn't depend on the locale capabilities of the glibc (useful for
        remote telnet).
      
      I would like somebody to check it closely, as it is my first patch to
      pgsql.  Also, I created dummy .orig files, so that the two files I
      created are included, I hope that's the right way.
      
      Now, a lot of functionality is NOT included here, but I will keep that
      for 7.3 :) That includes all string checking on the server side (which
      will have to be a bit more optimised ;) ), and the input checking on
      the client side for UTF-8, though that should not be difficult. It's
      just to send the strings through mbvalidate() before sending them to
      the server. Strong checking on UTF-8 strings is mandatory to be
      compliant with Unicode 3.1+ .
      
      Do I have time to look for a patch to include iso-8859-15 for 7.2 ?
      The euro is coming 1. january 2002 (before 7.3 !) and over 280
      millions people in Europe will need the euro sign and only iso-8859-15
      and iso-8859-16 have it (and unfortunately, I don't think all Unices
      will switch to Unicode in the meantime)....
      
      err... yes, I know that this is not every single person in Europe that
      uses PostgreSql, so it's not exactly 280m, but it's just a matter of
      time ! ;)
      
      I'll come back (on pgsql-hackers) later to ask a few questions
      regarding the full unicode support (normalisation, collation,
      regexes,...) on the server side :)
      
      Here is the patch !
      
      Patrice.
      
      --
      Patrice HÉDÉ ------------------------------- patrice à islande org -----
        --  Isn't it weird  how scientists  can imagine  all the matter of the
      universe exploding out of a dot smaller than the head of a pin, but they
      can't come up with a more evocative name for it than "The Big Bang" ?
        -- What would _you_ call the creation of the universe ?
        -- "The HORRENDOUS SPACE KABLOOIE !"               - Calvin and Hobbes
      ------------------------------------------ http://www.islande.org/ -----
      df4cba68
    • Tatsuo Ishii's avatar
      Add UTF-8 char >= 0x10000 check · d07bacd5
      Tatsuo Ishii authored
      d07bacd5
    • Tom Lane's avatar
      Update examples of type coercion rules --- some of them no longer worked · 9bc15d49
      Tom Lane authored
      as the example claimed, because of changes elsewhere in the system.
      9bc15d49
    • Tom Lane's avatar
      Synchronize with main parser's keyword list (someone didn't check his · e3b3eb20
      Tom Lane authored
      last commit very carefully...)
      e3b3eb20
  5. 14 Oct, 2001 2 commits
  6. 13 Oct, 2001 10 commits