Skip to content
Snippets Groups Projects
  1. Jul 30, 2004
  2. Jul 29, 2004
  3. Jul 28, 2004
    • Tom Lane's avatar
      Fix subtransaction behavior for large objects, temp namespace, files, · 1bf3d615
      Tom Lane authored
      password/group files.  Also allow read-only subtransactions of a read-write
      parent, but not vice versa.  These are the reasonably noncontroversial
      parts of Alvaro's recent mop-up patch, plus further work on large objects
      to minimize use of the TopTransactionResourceOwner.
      1bf3d615
  4. Jul 27, 2004
    • Tom Lane's avatar
      Replace nested-BEGIN syntax for subtransactions with spec-compliant · cc813fc2
      Tom Lane authored
      SAVEPOINT/RELEASE/ROLLBACK-TO syntax.  (Alvaro)
      Cause COMMIT of a failed transaction to report ROLLBACK instead of
      COMMIT in its command tag.  (Tom)
      Fix a few loose ends in the nested-transactions stuff.
      cc813fc2
    • Tom Lane's avatar
      Fix oversight: in case where SIGTERM is received while there are · 0177f430
      Tom Lane authored
      live backends, the archiver and stats processes never got sent a
      kill signal.  They'd eventually exit on their own, but not for awhile,
      which is a bit annoying when you are trying to replace the executable
      file on a platform that doesn't allow removal of busy executables.
      Also, tweak main loop logic so that we will perform the background
      tasks after select() returns EINTR.
      0177f430
  5. Jul 26, 2004
  6. Jul 25, 2004
  7. Jul 24, 2004
  8. Jul 23, 2004
  9. Jul 22, 2004
  10. Jul 21, 2004
  11. Jul 20, 2004
  12. Jul 19, 2004
    • Bruce Momjian's avatar
      Here is another patch that fixes a stack of pg_dump bugs: · 45995219
      Bruce Momjian authored
      * Fix help text ordering
      
      * Add back --set-session-authorization to pg_dumpall.  Updated the docs
      for that.  Updated help for that.
      
      * Dump ALTER USER commands for the cluster owner ("pgsql").  These are
      dumped AFTER the create user and create database commands in case the
      permissions to do these have been revoked.
      
      * Dump ALTER OWNER for public schema (because it's possible to change
      it).  This was done by adding TOC entries for the public schema, and
      filtering them out at archiver time.  I also save the owner in the TOC
      entry just for the public schema.
      
      * Suppress dumping single quotes around schema_path and DateStyle
      options when they are set using ALTER USER or ALTER DATABASE.  Added a
      comment to the steps in guc.c to remind people to update that list.
      
      * Fix dumping in --clean mode against a pre-7.3 server.  It just sets
      all drop statements to assume the public schema, allowing it to restore
      without error.
      
      * Cleaned up text output.  eg. Don't output -- Tablespaces comment if
      there are none.  Same for groups and users.
      
      * Make the commands to DELETE FROM pg_shadow and DELETE FROM pg_group
      only be output when -c mode is enabled.  I'm not sure why that hasn't
      been done before?!?!
      
      This should be good for application asap, after which I will start on
      regression dumping 7.0-7.4 databases.
      
      Christopher Kings-Lynne
      45995219
    • Tom Lane's avatar
      Fix incorrect tracking of session authorization in the presence of ACLs · 465edca3
      Tom Lane authored
      that contain rights granted by non-owners.  Per bug report from
      Nishad Prakash.
      465edca3
    • Tom Lane's avatar
    • Tom Lane's avatar
      Remove unportable use of strptime() to parse recovery target time spec. · 9c7a765f
      Tom Lane authored
      Instead use our own abstimein code, which is more flexible anyway.
      9c7a765f
    • Tom Lane's avatar
      XLOG file archiving and point-in-time recovery. There are still some · 66ec2db7
      Tom Lane authored
      loose ends and a glaring lack of documentation, but it basically works.
      
      Simon Riggs with some editorialization by Tom Lane.
      66ec2db7
  13. Jul 17, 2004
    • Tom Lane's avatar
      When renaming a column that participates in a foreign key, we must · 7f72fd8c
      Tom Lane authored
      force relcache rebuild for the other table as well as the column's
      own table.  Otherwise, already-cached foreign key triggers will stop
      working.  Per example from Alexander Pravking.
      7f72fd8c
    • Tom Lane's avatar
      Invent ResourceOwner mechanism as per my recent proposal, and use it to · fe548629
      Tom Lane authored
      keep track of portal-related resources separately from transaction-related
      resources.  This allows cursors to work in a somewhat sane fashion with
      nested transactions.  For now, cursor behavior is non-subtransactional,
      that is a cursor's state does not roll back if you abort a subtransaction
      that fetched from the cursor.  We might want to change that later.
      fe548629
  14. Jul 16, 2004
  15. Jul 15, 2004
Loading