1. 19 3月, 1999 2 次提交
  2. 18 3月, 1999 8 次提交
  3. 17 3月, 1999 2 次提交
  4. 16 3月, 1999 9 次提交
  5. 15 3月, 1999 19 次提交
    • B
      Irix fix from Jeff Johnson · b53ddbea
      Bruce Momjian 提交于
      b53ddbea
    • B
      bool uses one byte · cd72d24e
      Bruce Momjian 提交于
      cd72d24e
    • B
      Drop buffers before destroying database files. · 1a305b7a
      Bruce Momjian 提交于
      1a305b7a
    • B
      LIKE cleanup. · 25541a5c
      Bruce Momjian 提交于
      25541a5c
    • T
      Fix brain death in !!= operator ... it's still pretty bogus · 4a9c2390
      Tom Lane 提交于
      but at least now it does what it's supposed to do ...
      4a9c2390
    • B
      > > > This patches src/bin/psql/psql.c. · 265c283e
      Bruce Momjian 提交于
      > > >
      > > > This patch is in responce to the following TODO list item:
      > > >  * have psql \d on a view show the query
      > > > -Ryan
      265c283e
    • T
      Fix int8 configure one more time ... prior version didn't · f621b85a
      Tom Lane 提交于
      define INT64_FORMAT in all cases.
      f621b85a
    • B
      Hi All, · 98ad3fcf
      Bruce Momjian 提交于
      I've changed the check_primary_key() function code to allow for either
      the "automatic insert key rule" or "dependent insert key rule".
      Previously it restricted the addtion of a child entry if the
      corresponding parent entry was not there. Now if the option is
      "automatic" it will add an entry in the parent too ( it will be
      successful if there are no no-null fields in the parent apart from the
      primary key).
      The way to use it now is:
      :/*
       * check_primary_key () -- check that key in tuple being
      inserted/updated
       *                       references existing tuple in "primary" table.
       * Though it's called without args You have to specify referenced
       * table/keys while creating trigger:  key field names in triggered
      table,
       * referenced table name, referenced key field names,type of action
      [automatic|dependent]:
       * EXECUTE PROCEDURE
       * check_primary_key ('Fkey1', 'Fkey2', 'Ptable', 'Pkey1', 'Pkey2',
      '[automatic|dependent]').
       */
      I am attaching the new ../contrib/spi/refint.c file which will do this.
      I will be glad to help in case of any problems.
      
      - Anand.
      98ad3fcf
    • B
      cleanup · db42533e
      Bruce Momjian 提交于
      db42533e
    • B
      Cleanup · 5d34abc6
      Bruce Momjian 提交于
      5d34abc6
    • B
      Reversed out libpq protocol patch for Tom Lane. · d66a44a5
      Bruce Momjian 提交于
      d66a44a5
    • B
      src/backend/utils/adt/numeric.c fails to compile due to a string having · 8930699c
      Bruce Momjian 提交于
      an
      embedded new-line character.
      
      
      Billy G. Allie
      8930699c
    • B
      This is another example of why not allowing utility functions in SPI · cfb7ed41
      Bruce Momjian 提交于
      would be a Bad Thing.
      
      For what it's worth, I found another case in libpq where you can get a T
      message without a D that my utility patch needs to handle.  I have
      attached
      the updated patch against the 6.4.2 version of
      src/interfaces/libpq/fe-exec.c
      
      Jerry Gay
      cfb7ed41
    • B
      Attempting to insert a value of 'now' into a datetime type · c10e6bcb
      Bruce Momjian 提交于
      results in a bogus datetime value under AlphaLinux.  (Note that
      the link to submit a port-specific bug on your website is broken)
      
      -Test Case:
      ----------
      testdb=> create table dttest (dt datetime);
      testdb=> insert into dttest values ('now');
      
      --------------------------------------------------------------------------
      
      
      Solution:
      ---------
      The basic problem is the typedefs of AbsoluteTime and RelativeTime,
      which are both 'int32'.  These types appear to be used synonymously
      with the 'time_t' type, which on AlphaLinux is typedef'd as a 'long
      int', which is 64-bits (not 32).  The solution included here fixes
      the datetime type (it now passes the regression test), but does not
      pass the absolute and relative time regression tests.  Presumably, a
      more thorough investigation of how these types are used is warranted.
      The included patch is from the v6.3.2 source, but can be applied to
      the v6.4.2 source.  Please note that there is also a RedHat-specific
      patch distributed with the PostgreSQL source package from RedHat
      that was applied first.
      
      Rich Edwards
      c10e6bcb
    • B
      Hi, · e2c4d41f
      Bruce Momjian 提交于
          Just in case you'd like to see what I was talking about, I am
      attaching
      my patch to src/interfaces/libpq/fe-exec.c to prevent utility functions
      called from SPI from locking up the client.
      
      Jerry Gay
      e2c4d41f
    • B
      Here is a little syntax error found in a .y file... A dropped semi. · 80db587e
      Bruce Momjian 提交于
      DwD
      --
      Daryl W. Dunbar
      80db587e
    • B
      Cleanup of hash functions in pg_proc. · 042ec823
      Bruce Momjian 提交于
      042ec823
    • B
      compile cleanup · 1d3166d3
      Bruce Momjian 提交于
      1d3166d3
    • B
      Compile cleanup · f1cdcffb
      Bruce Momjian 提交于
      f1cdcffb