Skip to content
Snippets Groups Projects
  1. May 30, 2001
  2. May 28, 2001
    • Bruce Momjian's avatar
      Sample output that appears below the table attributes for \d: · 32762fac
      Bruce Momjian authored
      Indicies: palm_buy_date_idx
                palm_user_date_idx
      Primary Key: palm_buyers_pkey
      Unique Key: palm_buyers_username
      Constraint: "$1" ((sex = 'M'::bpchar) OR (sex = 'F'::bpchar))
      
      Note that check constraint name now shown as well.  (Makes it a lot easier
      to test inheritance support in ADD/DROP constraint :) )
      
      Attached is a docs change for psql.
      
      Christopher Kings
      32762fac
  3. May 27, 2001
  4. May 25, 2001
  5. May 19, 2001
  6. May 17, 2001
  7. May 12, 2001
  8. May 10, 2001
  9. May 09, 2001
    • Bruce Momjian's avatar
      · a79b698a
      Bruce Momjian authored
      Here's a version of my suggested diffs transplanted to 7.1 beta 5.  I'm
      still looking at the best way to integrate Tom Vijlbrief's fixes
      (insofar as they're still needed); would 7.2 be a suitable time for
      incompatible API changes?
      
      
      Jeroen
      
      
      Changes:
      
      (*) Introduced bool, true, false (replacing some int, 1, 0)
      (*) Made some member functions const
      (*) Documented GetIsNull()
      (*) Marked DisplayTuples() and PrintTuples() as obsolescent; fixed possible
          portability problem (assumed that NULL pointer equals all-zero bit pattern)
      (*) PrintTuples(): renamed width parameter to fillAlign to conform with other
          usage; fixed memory leak and compile issue w.r.t. field separator (should
          also slightly improve performance)
      (*) Fixed some minor compilation issues
      (*) Moved "using namespace std;" out of headers, where they didn't belong; used
          new (temporary) preprocessor macro PGSTD to do this
      (*) Made ToString() static, removed unneeded memset(), made buffer size adapt
          to sizeof(int)
      (*) Made some constructors explicit
      (*) Changed some const std::string & parameters to plain std::string
      (*) Marked PgCursor::Cursor(std::string) as obsolescent (setter with same name
          as getter--bad style)
      (*) Renamed some paramaters previously named "string"
      (*) Introduced size_type typedef for number of tuples in result set
      (*) PgTransaction now supports re-opening after closing, and aborts if not
          explicitly committed prior to destruction
      
      J. T. Vermeulen
      a79b698a
    • Bruce Momjian's avatar
      If it's true that the ALTER TABLE x ADD CONSTRAINT x CHECK (x) syntax is · 1ef9338a
      Bruce Momjian authored
      supported in 7.1.1, here is a patch to that alter_table.sgml that documents
      it.
      
      Christopher Kings-Lynne
      1ef9338a
  10. May 08, 2001
    • Peter Eisentraut's avatar
      Add SET SESSION AUTHORIZATION command. · 1c1c58c7
      Peter Eisentraut authored
      1c1c58c7
    • Bruce Momjian's avatar
      Remove pgadmin.sgml file. · 530dc73c
      Bruce Momjian authored
      530dc73c
    • Bruce Momjian's avatar
      drop_function.sgml: · 04e14fa3
      Bruce Momjian authored
      ===================
      In Notes:
       Refer to CREATE FUNCTION for information on creating aggregate functions.
                                                            ^^^^^^^^^^^^^^^^^^^
      I assume it must read C function instead.
      
      In Compatibility SQL/PSM:
       SQL/PSM is a proposed standard.
      
       We had that before: remove proposed.
      
      
      drop_index.sgml:
      ================
      <REFNAME>: Removes existing indexes from a database
      
      as far as I can see index should be singular. The command description is
      written as if only one index can be removed at a time. Interestingly
      enough, in v7.0.2 it was in fact singular. Am I mistaken here?
      
      drop_operator.sgml:
      ===================
      In Outputs the arguments are referred to as type and type2, but the synopsis
      and Inputs section these are left_type and right_type, respectively. Also,
      oper is used in Outputs versus id in Inputs/Synopsis. In the translation I
      follow the replaceables used in the Inputs/Synopsis part.
      
      Frank Wegmann
      04e14fa3
    • Bruce Momjian's avatar
      drop_function.sgml: · cd11d33a
      Bruce Momjian authored
      ===================
      In Notes:
       Refer to CREATE FUNCTION for information on creating aggregate functions.
                                                            ^^^^^^^^^^^^^^^^^^^
      I assume it must read C function instead.
      
      Frank Wegmann
      cd11d33a
  11. May 07, 2001
    • Peter Eisentraut's avatar
      Add \cd command to psql. · 232724af
      Peter Eisentraut authored
      232724af
    • Tom Lane's avatar
      Rewrite of planner statistics-gathering code. ANALYZE is now available as · f905d65e
      Tom Lane authored
      a separate statement (though it can still be invoked as part of VACUUM, too).
      pg_statistic redesigned to be more flexible about what statistics are
      stored.  ANALYZE now collects a list of several of the most common values,
      not just one, plus a histogram (not just the min and max values).  Random
      sampling is used to make the process reasonably fast even on very large
      tables.  The number of values and histogram bins collected is now
      user-settable via an ALTER TABLE command.
      
      There is more still to do; the new stats are not being used everywhere
      they could be in the planner.  But the remaining changes for this project
      should be localized, and the behavior is already better than before.
      
      A not-very-related change is that sorting now makes use of btree comparison
      routines if it can find one, rather than invoking '<' twice.
      f905d65e
  12. May 06, 2001
  13. May 03, 2001
  14. May 02, 2001
  15. Apr 28, 2001
    • Bruce Momjian's avatar
      In create_function there is a remark concerning SQL/PSM not · 82511e33
      Bruce Momjian authored
      being ratified as yet. This is certainly no longer true, it wasn't
      even true in Q2/1998 when I did a little research for Date's book.
      SQL/PSM had been published on 1996-12-15 as ISO/IEC 9075:4. So you
      might want to update that section.
      
      
      Frank Wegmann
      82511e33
  16. Apr 27, 2001
  17. Mar 25, 2001
  18. Mar 24, 2001
  19. Mar 20, 2001
  20. Mar 19, 2001
  21. Mar 17, 2001
  22. Mar 13, 2001
    • Tom Lane's avatar
      XLOG (and related) changes: · 4d14fe00
      Tom Lane authored
      * Store two past checkpoint locations, not just one, in pg_control.
        On startup, we fall back to the older checkpoint if the newer one
        is unreadable.  Also, a physical copy of the newest checkpoint record
        is kept in pg_control for possible use in disaster recovery (ie,
        complete loss of pg_xlog).  Also add a version number for pg_control
        itself.  Remove archdir from pg_control; it ought to be a GUC
        parameter, not a special case (not that it's implemented yet anyway).
      
      * Suppress successive checkpoint records when nothing has been entered
        in the WAL log since the last one.  This is not so much to avoid I/O
        as to make it actually useful to keep track of the last two
        checkpoints.  If the things are right next to each other then there's
        not a lot of redundancy gained...
      
      * Change CRC scheme to a true 64-bit CRC, not a pair of 32-bit CRCs
        on alternate bytes.  Polynomial borrowed from ECMA DLT1 standard.
      
      * Fix XLOG record length handling so that it will work at BLCKSZ = 32k.
      
      * Change XID allocation to work more like OID allocation.  (This is of
        dubious necessity, but I think it's a good idea anyway.)
      
      * Fix a number of minor bugs, such as off-by-one logic for XLOG file
        wraparound at the 4 gig mark.
      
      * Add documentation and clean up some coding infelicities; move file
        format declarations out to include files where planned contrib
        utilities can get at them.
      
      * Checkpoint will now occur every CHECKPOINT_SEGMENTS log segments or
        every CHECKPOINT_TIMEOUT seconds, whichever comes first.  It is also
        possible to force a checkpoint by sending SIGUSR1 to the postmaster
        (undocumented feature...)
      
      * Defend against kill -9 postmaster by storing shmem block's key and ID
        in postmaster.pid lockfile, and checking at startup to ensure that no
        processes are still connected to old shmem block (if it still exists).
      
      * Switch backends to accept SIGQUIT rather than SIGUSR1 for emergency
        stop, for symmetry with postmaster and xlog utilities.  Clean up signal
        handling in bootstrap.c so that xlog utilities launched by postmaster
        will react to signals better.
      
      * Standalone bootstrap now grabs lockfile in target directory, as added
        insurance against running it in parallel with live postmaster.
      4d14fe00
  23. Mar 06, 2001
  24. Mar 05, 2001
Loading