1. 19 Jun, 2002 4 commits
  2. 18 Jun, 2002 3 commits
  3. 17 Jun, 2002 11 commits
  4. 16 Jun, 2002 2 commits
  5. 15 Jun, 2002 20 commits
    • Tom Lane's avatar
      b50cbbd6
    • Tom Lane's avatar
      Ooops, fix busted markup. · 62d45261
      Tom Lane authored
      62d45261
    • Tom Lane's avatar
      Clean up gcc warnings. Avoid the bad habit of putting externs in .c · 32fecad8
      Tom Lane authored
      files rather than a header file where they belong.  Pay some modicum
      of attention to picking global routine names that aren't likely to
      conflict with surrounding applications.
      32fecad8
    • Tom Lane's avatar
      Fix up gcc warnings, improve comments. · c63bc32c
      Tom Lane authored
      c63bc32c
    • Tom Lane's avatar
    • Bruce Momjian's avatar
      Patch for current_schemas to optionally include implicit ... · eb1ad5b4
      Bruce Momjian authored
      Second cut attached. This one just adds a boolean option to the existing
      function to indicate that implicit schemas are to be included (or not).
      I remembered the docs as well this time :-)
      
      Dave Page
      eb1ad5b4
    • Bruce Momjian's avatar
      PATCH SSL_pending() checks in libpq/fe-misc.c: · 79ff2e96
      Bruce Momjian authored
      I am no longer pursuing a total non-blocking implementation.  I haven't
      found a good way to test it with the type of work that I do with
      PostgreSQL.  I do use blocking SSL sockets with this mod and have had no
      problem whatsoever.  The bug that I fixed in this patch is exceptionally
      hard to reproduce reliably.
      
      Jack Bates
      79ff2e96
    • Bruce Momjian's avatar
      WriteBuffer return value: · 6e8a1a67
      Bruce Momjian authored
      >I'd vote for changing WriteBuffer to
      >return void, and have it elog() on bad argument.
      
      Manfred Koizar
      6e8a1a67
    • Bruce Momjian's avatar
      Update LOG_PID to mention it doesn't control syslog. · 82b14b62
      Bruce Momjian authored
      Oliver Elphick
      82b14b62
    • Bruce Momjian's avatar
      Remove some pre-WAL relics: · 918e864f
      Bruce Momjian authored
        SharedBufferChanged
        BufferRelidLastDirtied
        BufferTagLastDirtied
        BufferDirtiedByMe
      
      Manfred Koizar
      918e864f
    • Bruce Momjian's avatar
      This patch wraps all accesses to t_xmin, t_cmin, t_xmax, and t_cmax in · 3c35face
      Bruce Momjian authored
      HeapTupleHeaderData in setter and getter macros called
      HeapTupleHeaderGetXmin, HeapTupleHeaderSetXmin etc.
      
      It also introduces a "virtual" field xvac by defining
      HeapTupleHeaderGetXvac and HeapTupleHeaderSetXvac.  Xvac is used by
      VACUUM, in fact it is stored in t_cmin.
      
      Manfred Koizar
      3c35face
    • Bruce Momjian's avatar
      The normal operation of our servers is to have tcpip_sockets enabled, · 78821799
      Bruce Momjian authored
      but occasionally I may need to shut down the server and restart it
      w/o tcpip sockets. Postmaster has the -i option to turn on tcpip
      connections, but it wasn't immediately clear how to easily or
      temporarily turn it off (when it's been enabled in postgresql.conf).
      
      In fact, it wasn't clear to me until digging in to postmaster.c that
      I could pass '-c tcpip_socket=false' or '--tcpip_socket=false'.
      (And then of course when I looked more closely at the man page I
      realized I'd missed the proper part of the documentation.) What I'd
      been looking for is a flag that would have the opposite effect of
      '-i', and it's conceivable that others will be looking for specific
      flags to do the opposite of '-F' and '-S'.
      
      I was preparing to add options to postmaster until I realized that
      maybe the solution is just to add some documentation.
      
      If you'd rather have 1 character options to accomplish this, I'd be
      happy to do that-- adding those 9 lines of code is definitely within
      my ability. :)  (Although, the "right" letter to be the opposite of -S
      isn't clear to me, since -s is already taken.)
      
      Ron Snyder.
      78821799
    • Bruce Momjian's avatar
      Fix for TAB completion using GRANT DELETE in psql. · dbbd13bd
      Bruce Momjian authored
      Oliver Elphick
      dbbd13bd
    • Bruce Momjian's avatar
      The macaddr datatype understands most formats of MAC address, except 12 · 6b9e7424
      Bruce Momjian authored
      hex digits with no separators, eg 00AABBCCDDEE. This is easily remedied
      with the following patch (against 7.2.1):
      
      Mike Wyer
      6b9e7424
    • Bruce Momjian's avatar
      Noted with versions 7.0.3, 7.1.3, and 7.2.1: · cd7be4d9
      Bruce Momjian authored
      The psql interpreter becomes unstable if variable substitutions
      are used.  The debugger GDB was unable to help however mpatrol
      reports that the sprintf at mainloop.c:389 is steping one byte
      farther than the allocation.
      
      William K. Volkman
      cd7be4d9
    • Bruce Momjian's avatar
      On Wed, 2002-05-29 at 01:41, Tom Lane wrote: · eeb1dd50
      Bruce Momjian authored
      >
      > > Is it a good idea to provide an example (such as the above), or should I
      > > just try and describe the behaviour?
      >
      > Examples are generally good things ...
      
      OK, the attached documentation patch provides some simple examples of
      use of tablename as a parameter, %ROWTYPE and %TYPE.
      
      In the end I decided that the documentation is literally correct, but
      hard to follow without any examples explicitly showing the use of a
      table name as a parameter.
      
      Andrew McMillan
      eeb1dd50
    • Bruce Momjian's avatar
      The method PgLargeObject::LOid() is missing an implementation in the .cc · 240de617
      Bruce Momjian authored
      file.
      
      
      The program seems to compile ok, but when linking a program that uses
      the call,
      g++ chokes with an undefined reference error.
      
      
      If you know how this problem might be fixed, list the solution below:
      ---------------------------------------------------------------------
      I include the code:
      
      Oid PgLargeObject::LOid(){
        return pgObject;
      }
      
      in the .cc file.
      
      Chris Traylor
      240de617
    • Bruce Momjian's avatar
      Add C++ indent tool. · d54ae2af
      Bruce Momjian authored
      d54ae2af
    • Bruce Momjian's avatar
      This patch fixes a few minor problems with libpq++: remove the deprecated · 2e580240
      Bruce Momjian authored
      PQExec(" ") in the wrapper around PQnotifies(), fix the Makefile for
      the examples so that they will actually compile properly (with the
      exception of #5, which depends on internal headers), make a minor change
      to libpq++.h so that "make examples" now works on my machine, update
      some documentation, fix some grammatical problems, and remove some of
      the more hideous comments.
      
      Neil Conway
      2e580240
    • Thomas G. Lockhart's avatar
      Add LOCALTIME and LOCALTIMESTAMP functions per SQL99 standard. · 133df7ce
      Thomas G. Lockhart authored
      Remove ODBC-compatible empty parentheses from calls to SQL99 functions
       for which these parentheses do not match the standard.
      Update the ODBC driver to ensure compatibility with the ODBC standard
       for these functions (e.g. CURRENT_TIMESTAMP, CURRENT_USER, etc).
      Include a new appendix in the User's Guide which lists the labeled features
       for SQL99 (the labeled features replaced the "basic", "intermediate",
       and "advanced" categories from SQL92). features.sgml does not yet split
       this list into "supported" and "unsupported" lists.
      133df7ce