1. 09 Jul, 2003 1 commit
  2. 11 Jun, 2003 1 commit
  3. 06 May, 2003 1 commit
    • Tom Lane's avatar
      Restructure command destination handling so that we pass around · 79913910
      Tom Lane authored
      DestReceiver pointers instead of just CommandDest values.  The DestReceiver
      is made at the point where the destination is selected, rather than
      deep inside the executor.  This cleans up the original kluge implementation
      of tstoreReceiver.c, and makes it easy to support retrieving results
      from utility statements inside portals.  Thus, you can now do fun things
      like Bind and Execute a FETCH or EXPLAIN command, and it'll all work
      as expected (e.g., you can Describe the portal, or use Execute's count
      parameter to suspend the output partway through).  Implementation involves
      stuffing the utility command's output into a Tuplestore, which would be
      kind of annoying for huge output sets, but should be quite acceptable
      for typical uses of utility commands.
      79913910
  4. 02 May, 2003 3 commits
  5. 25 Apr, 2003 1 commit
    • Tom Lane's avatar
      In the continuing saga of FE/BE protocol revisions, add reporting of · 9cbaf721
      Tom Lane authored
      initial values and runtime changes in selected parameters.  This gets
      rid of the need for an initial 'select pg_client_encoding()' query in
      libpq, bringing us back to one message transmitted in each direction
      for a standard connection startup.  To allow server version to be sent
      using the same GUC mechanism that handles other parameters, invent the
      concept of a never-settable GUC parameter: you can 'show server_version'
      but it's not settable by any GUC input source.  Create 'lc_collate' and
      'lc_ctype' never-settable parameters so that people can find out these
      settings without need for pg_controldata.  (These side ideas were all
      discussed some time ago in pgsql-hackers, but not yet implemented.)
      9cbaf721
  6. 15 Nov, 2002 1 commit
    • Bruce Momjian's avatar
      Rename: · d36aa2e8
      Bruce Momjian authored
      ! #show_parser_stats = false
      ! #show_planner_stats = false
      ! #show_executor_stats = false
      ! #show_statement_stats = false
      
      TO:
      
      ! #log_parser_stats = false
      ! #log_planner_stats = false
      ! #log_executor_stats = false
      ! #log_statement_stats = false
      d36aa2e8
  7. 14 Nov, 2002 1 commit
  8. 21 Oct, 2002 1 commit
  9. 04 Sep, 2002 1 commit
  10. 02 Sep, 2002 1 commit
  11. 01 Sep, 2002 1 commit
  12. 30 Jul, 2002 1 commit
    • Bruce Momjian's avatar
      Here are two patches. The guc_and_tablefunc patch addresses the two · 23a8b77d
      Bruce Momjian authored
      changes mentioned above, and also adds a new function to the tablefunc
      API. The tablefunc API change adds the following function:
      
      * Oid foidGetTypeId(Oid foid) - Get a function's typeid given the
      * function Oid. Use this together with TypeGetTupleDesc() to get a
      * TupleDesc which is derived from the function's declared return type.
      
      In the next post I'll send the contrib/tablefunc patch, which
      illustrates the usage of this new function. Also attached is a doc patch
      for this change. The doc patch also adds a function that I failed to
      document previously.
      
      Joe Conway
      23a8b77d
  13. 20 Jul, 2002 2 commits
  14. 17 May, 2002 1 commit
    • Tom Lane's avatar
      Merge the last few variable.c configuration variables into the generic · f0811a74
      Tom Lane authored
      GUC support.  It's now possible to set datestyle, timezone, and
      client_encoding from postgresql.conf and per-database or per-user
      settings.  Also, implement rollback of SET commands that occur in a
      transaction that later fails.  Create a SET LOCAL var = value syntax
      that sets the variable only for the duration of the current transaction.
      All per previous discussions in pghackers.
      f0811a74
  15. 24 Mar, 2002 1 commit
  16. 01 Mar, 2002 1 commit
  17. 23 Feb, 2002 1 commit
  18. 05 Nov, 2001 1 commit
  19. 28 Oct, 2001 1 commit
  20. 25 Oct, 2001 1 commit
  21. 30 Sep, 2001 1 commit
  22. 18 Jun, 2001 1 commit
  23. 12 Jun, 2001 1 commit
    • Tom Lane's avatar
      Extend GUC concepts of parse_hook and assign_hook to all four supported · 2938eec7
      Tom Lane authored
      datatypes, not only strings.  parse_hook is useless for bool, I suppose,
      but it seems possibly useful for int and double to apply variable-specific
      constraints that are more complex than simple range limits.  assign_hook
      is definitely useful for all datatypes --- we need it right now for bool
      to support date cache reset when changing Australian timezone rule setting.
      Also, clean up some residual problems with the reset all/show all patch,
      including memory leaks and mistaken reset of PostPortNumber.  It seems
      best that RESET ALL not touch variables that don't have SUSET or
      USERSET context.
      2938eec7
  24. 07 Jun, 2001 1 commit
  25. 22 Mar, 2001 1 commit
  26. 10 Feb, 2001 1 commit
    • Tom Lane's avatar
      Restructure the key include files per recent pghackers discussion: there · d08741ea
      Tom Lane authored
      are now separate files "postgres.h" and "postgres_fe.h", which are meant
      to be the primary include files for backend .c files and frontend .c files
      respectively.  By default, only include files meant for frontend use are
      installed into the installation include directory.  There is a new make
      target 'make install-all-headers' that adds the whole content of the
      src/include tree to the installed fileset, for use by people who want to
      develop server-side code without keeping the complete source tree on hand.
      Cleaned up a whole lot of crufty and inconsistent header inclusions.
      d08741ea
  27. 27 Jul, 2000 1 commit
  28. 03 Jul, 2000 1 commit
  29. 22 Jun, 2000 1 commit
    • Peter Eisentraut's avatar
      Second pass over run-time configuration system. Adjust priorities on some · c4465095
      Peter Eisentraut authored
      option settings. Sort out SIGHUP vs BACKEND -- there is no total ordering
      here, so make explicit checks. Add comments explaining all of this.
      Removed permissions check on SHOW command.
      
      Add examine_subclass to the game, rename to SQL_inheritance to fit the
      official data model better. Adjust documentation.
      
      Standalone backend needs to reset all options before it starts. To
      facilitate that, have IsUnderPostmaster be set by the postmaster itself,
      don't wait for the magic -p switch.
      
      Also make sure that all environment variables and argv's survive
      init_ps_display(). Use strdup where necessary.
      
      Have initdb make configuration files (postgresql.conf, pg_hba.conf) mode
      0600 -- having configuration files is no fun if you can't edit them.
      c4465095
  30. 31 May, 2000 1 commit
    • Peter Eisentraut's avatar
      The heralded `Grand Unified Configuration scheme' (GUC) · 6a68f426
      Peter Eisentraut authored
      That means you can now set your options in either or all of $PGDATA/configuration,
      some postmaster option (--enable-fsync=off), or set a SET command. The list of
      options is in backend/utils/misc/guc.c, documentation will be written post haste.
      
      pg_options is gone, so is that pq_geqo config file. Also removed were backend -K,
      -Q, and -T options (no longer applicable, although -d0 does the same as -Q).
      
      Added to configure an --enable-syslog option.
      
      changed all callers from TPRINTF to elog(DEBUG)
      6a68f426