1. 16 Mar, 2006 2 commits
    • Tom Lane's avatar
      Fix invalid use of #if within a macro, per Laurenz Albe. Also try to · 92f5bfcc
      Tom Lane authored
      make the LDAP code's error messages look like they were written by someone
      who had heard of our style guidelines.
      92f5bfcc
    • Tom Lane's avatar
      Clean up representation of function RTEs for functions returning RECORD. · 23160139
      Tom Lane authored
      The original coding stored the raw parser output (ColumnDef and TypeName
      nodes) which was ugly, bulky, and wrong because it failed to create any
      dependency on the referenced datatype --- and in fact would not track type
      renamings and suchlike.  Instead store a list of column type OIDs in the
      RTE.
      
      Also fix up general failure of recordDependencyOnExpr to do anything sane
      about recording dependencies on datatypes.  While there are many cases where
      there will be an indirect dependency (eg if an operator returns a datatype,
      the dependency on the operator is enough), we do have to record the datatype
      as a separate dependency in examples like CoerceToDomain.
      
      initdb forced because of change of stored rules.
      23160139
  2. 15 Mar, 2006 1 commit
  3. 14 Mar, 2006 3 commits
  4. 13 Mar, 2006 1 commit
    • Neil Conway's avatar
      Fix a number of syntax errors in contrib modules' uninstall scripts. · 48fb6967
      Neil Conway authored
      Most of the changes add the mandatory USING clause to DROP OPERATOR
      CLASS statements.  DROP TYPE is now DROP TYPE CASCADE; without
      CASCADE a DROP TYPE fails due to the circular dependency on the
      type's I/O functions.  The DROP FUNCTION statements for the I/O
      functions have been removed, as DROP TYPE CASCADE removes them
      automatically. Patch from Michael Fuhr.
      48fb6967
  5. 11 Mar, 2006 4 commits
  6. 10 Mar, 2006 7 commits
  7. 09 Mar, 2006 1 commit
  8. 08 Mar, 2006 7 commits
  9. 07 Mar, 2006 9 commits
  10. 06 Mar, 2006 5 commits
    • Bruce Momjian's avatar
      SGML typo fix. · 135fe189
      Bruce Momjian authored
      135fe189
    • Bruce Momjian's avatar
      Default to ON for 8.2, as announced in the release notes: · d694bd81
      Bruce Momjian authored
      	escape_string_warning = on
      d694bd81
    • Bruce Momjian's avatar
      Done though the second is default so off in 8.2: · 1c021447
      Bruce Momjian authored
      > * -Eventually enable escape_string_warning and standard_conforming_strings
      1c021447
    • Bruce Momjian's avatar
      Attached is the new patch. To summarize: · d69b1632
      Bruce Momjian authored
         - new function justify_interval(interval)
         - modified function justify_hours(interval)
         - modified function justify_days(interval)
      
      These functions are defined to meet the requirements as discussed in
      this thread.  Specifically:
      
         - justify_hours makes certain the sign bit on the hours
           matches the sign bit on the days.  It only checks the
           sign bit on the days, and not the months, when
           determining if the hours should be positive or negative.
           After the call, -24 < hours < 24.
      
         - justify_days makes certain the sign bit on the days
           matches the sign bit on the months.  It's behavior does
           not depend on the hours, nor does it modify the hours.
           After the call, -30 < days < 30.
      
         - justify_interval makes sure the sign bits on all three
           fields months, days, and hours are all the same.  After
           the call, -24 < hours < 24 AND -30 < days < 30.
      
      Mark Dilger
      d69b1632
    • Bruce Momjian's avatar
      Enable standard_conforming_strings to be turned on. · 19c21d11
      Bruce Momjian authored
      Kevin Grittner
      19c21d11