1. 21 11月, 1996 4 次提交
    • B
      There is a bug in aclinsert3 in the code which update the acl arrays. · c4d6bda2
      Bruce Momjian 提交于
      When an acl item is added or updated the new entry is deleted if it has no
      permissions and the acl array is shrinked. This is is done by decrementing
      the number of items without updating the corresponding array size.
      The array with the incorrect size is later read by pg_aclcheck and the entry
      count is used to allocate a new array while the array size is used to copy
      the old one. This causes a memory corruption and a backend crash.
      This happens only to normal user as the administrator bypasses acl checks.
      Massimo Dal Zotto
      c4d6bda2
    • B
      following is a little fix for libpq. · 8299e755
      Bruce Momjian 提交于
          PQexec  handles  the possibility of multiple results from one
          query by simply submitting an empty  query  after  the  first
          result and waiting for an 'I' message.
      
          Rules  can  generate  errors with transaction abort after the
          first 'C' message was recieved (e.g. if a C-language function
          used  in  a rule calls elog(WARN, ...)). Thus we have to look
          for.
      
      Jan(wieck@sapserv.debis.de)
      8299e755
    • B
      Fix \g filename. Free allocated memory and don't use memory that has · 6399c74f
      Bruce Momjian 提交于
      been freed.
      6399c74f
    • B
      Here is the patch for pg_dump not handling NULL values in 'insert' · 9d45f22e
      Bruce Momjian 提交于
      mode properly.  This will apply correctly to 1.09 & 2.0 sources.
      From David H. Bennett
      9d45f22e
  2. 20 11月, 1996 2 次提交
  3. 19 11月, 1996 6 次提交
  4. 18 11月, 1996 12 次提交
  5. 17 11月, 1996 6 次提交
  6. 16 11月, 1996 10 次提交