1. 16 2月, 2003 3 次提交
  2. 15 2月, 2003 5 次提交
  3. 14 2月, 2003 22 次提交
  4. 13 2月, 2003 10 次提交
    • M
      - Applied error reporting patch by Matthew Vanecek · 1a9b0613
      Michael Meskes 提交于
      - Started with an Informix compatibility option.
      1a9b0613
    • B
      [ Revert patch ] · e529e9fa
      Bruce Momjian 提交于
      > =================================================================
      > User interface proposal for multi-row function targetlist entries
      > =================================================================
      > 1. Only one targetlist entry may return a set.
      > 2. Each targetlist item (other than the set returning one) is
      >    repeated for each item in the returned set.
      >
      
      Having gotten no objections (actually, no response at all), I can only
      assume no one had heartburn with this change. The attached patch covers
      the first of the two proposals, i.e. restricting the target list to only
      one set returning function.
      
      Joe Conway
      e529e9fa
    • B
      29e57ce3
    • B
      This patch fixes an error in the usage message for 'clusterdb', and · 0064031f
      Bruce Momjian 提交于
      makes a few editorial changes to the documentation.
      
      
      Neil Conway
      0064031f
    • B
      This trivial patch removes the usage of some old statistics code that no · 48ee6f49
      Bruce Momjian 提交于
      longer works -- IncrHeapAccessStat() didn't actually *do* anything
      anymore, so no reason to keep it around AFAICS. I also fixed a
      grammatical error in a comment.
      
      
      Neil Conway
      48ee6f49
    • B
      > > They work the same as table constraints with in-line declaration (no · 0845b6f3
      Bruce Momjian 提交于
      > > comma).
      >
      > OK. But the documentation implies there is a comma, so it should probably
      > get chenged then.
      
      Yes, it should. (attached)
      
      [ Backpatched to 7.3.X too.]
      
      Rod Taylor
      0845b6f3
    • B
      The attached patches change earthdistance to use the new cube functions · 9ccaaf67
      Bruce Momjian 提交于
      in one of the earth functions so that latitude and longitude to
      cartesian coordinates conversion will be more accurrate. (Previously
      a text string was built to provide as input which limited the accuracy
      to the number of digits printed.)
      
      The new functions were included in a recent patch to contrib/cube that has not
      as yet been accepted as of yet.
      
      I also added check constraints to the domain 'earth' since they are now
      working in 7.4.
      
      Bruno Wolff III
      9ccaaf67
    • B
      The attached patch provides cube with 4 functions for building cubes · 80b3513d
      Bruce Momjian 提交于
      directly from float8 values. (As opposed to converting the values to
      strings
      and then parsing the strings.)
      The functions are:
      cube(float8) returns cube
      cube(float8,float8) returns cube
      cube(cube,float8) returns cube
      cube(cube,float8,float8) returns cube
      
      Bruno Wolff III
      80b3513d
    • B
      Adds in NO MAXVALUE and NO MINVALUE options for create sequence per 200X · f249daf9
      Bruce Momjian 提交于
      spec, which will also make alter sequence a touch easier.
      
      sequence.c  init_params() will check for settings which have been
      defined twice, and complain.
      
      Rod Taylor
      f249daf9
    • B
      The "random" regression test uses a function called oidrand(), which · 6cb1f4fe
      Bruce Momjian 提交于
      takes two parameters, an OID x and an integer y, and returns "true" with
      probability 1/y (the OID argument is ignored). This can be useful -- for
      example, it can be used to select a random sampling of the rows in a
      table (which is what the "random" regression test uses it for).
      
      This patch removes that function, because it was old and messy. The old
      function had the following problems:
      
      - it was undocumented
      
      - it was poorly named
      
      - it was designed to workaround an optimizer bug that no longer exists
      (the OID argument is to ensure that the optimizer won't optimize away
      calls to the function; AFAIK marking the function as 'volatile' suffices
      nowadays)
      
      - it used a different random-number generation technique than the other
      PSRNG-related functions in the backend do (it called random() like they
      do, but it had its own logic for setting a set and deciding when to
      reseed the RNG).
      
      Ok, this patch removes oidrand(), oidsrand(), and userfntest(), and
      improves the SGML docs a little bit (un-commenting the setseed()
      documentation).
      
      Neil Conway
      6cb1f4fe