1. 23 Sep, 1998 1 commit
  2. 20 Sep, 1998 1 commit
  3. 03 Sep, 1998 1 commit
    • Bruce Momjian's avatar
      Attached is a patch to remove the definitions of libpq's internal · f71d0cf6
      Bruce Momjian authored
      structs from libpq-fe.h, as we previously discussed.
      
      There turned out to be sloppy coding practices in more places than
      I had realized :-(, but all in all I think it was a well-worth-while
      exercise.
      
      I ended up adding several routines to libpq's API in order to respond
      to application requirements that were exposed by this work.  I owe the
      docs crew updates for libpq.sgml to describe these changes.  I'm way too
      tired to work on the docs tonight, however.
      
      This is the last major change I intend to submit for 6.4.  I do want
      to see if I can make libpgtcl work with Tcl 8.0 before we go final,
      but hopefully that will be a minor bug fix.
      f71d0cf6
  4. 01 Sep, 1998 2 commits
  5. 29 Aug, 1998 1 commit
    • Bruce Momjian's avatar
      Ok. BTW Mr. Kataoka who is maintaing Japanese version of PostgreSQL · 88800aac
      Bruce Momjian authored
      ODBC driver have found a bug in 6.3.2 pg_dump and have made patches.
      I confirmed that the same bug still exists in the current source
      tree. So I made up patches based on Kataoka's. Here are some
      explanations.
      
      o fmtId() returns pointer to a static memory in it. In the meantime
      there is a line where is fmtId() called twice without saving the
      first value returned by fmtId(). So second call to fmtId() will
      break the first one.
      
      o findTableByName() looks up a table by its name. if a table name
      contanins upper letters or non ascii chars, fmtId() will returns
      a name quoted in double quotes, which will not what findTableByName()
      wants. The result is SEG fault.  -- Tatsuo Ishii t-ishii@sra.co.jp
      88800aac
  6. 25 Aug, 1998 1 commit
  7. 06 Aug, 1998 1 commit
  8. 19 Jul, 1998 1 commit
    • Bruce Momjian's avatar
      pg_dump -z has gotten rather thoroughly broken in the last couple · 916710fc
      Bruce Momjian authored
      of days --- it was emitting stuff like
      	REVOKE ALL on 'table' from PUBLIC; GRANT ALL on "table" to
      	"Public"; neither of which work.  While I was at it I
      cleaned up a few other things:
      
      * \connect commands are issued only in -z mode.  In this way,
      reloading a pg_dump script made without -z will generate a simple
      database wholly owned by the invoking user, rather than a mishmash
      of tables owned by various people but lacking in access rights.
      (Analogy: cp versus cp -p.)
      
      * \connect commands are issued just before COPY FROM stdin commands;
      without this, reloading a database containing non-world-writable
      tables tended to fail because the COPY was not necessarily attempted
      as the table owner.
      
      * Redundant \connect commands are suppressed (each one costs a
      backend launch, so...).
      
      * Man page updated (-z wasn't ever documented).
      
      The first two items were discussed in a pgsql-hackers thread around
      6 May 98 ("An item for the TODO list: pg_dump and multiple table
      owners") but no one had bothered to deal with 'em yet.
      
      			regards, tom lane
      916710fc
  9. 08 Jul, 1998 1 commit
  10. 20 Jun, 1998 1 commit
  11. 19 Jun, 1998 1 commit
  12. 16 Jun, 1998 2 commits
    • Bruce Momjian's avatar
      Hi, here are the patches to enhance existing MB handling. This time · cb7cbc16
      Bruce Momjian authored
      I have implemented a framework of encoding translation between the
      backend and the frontend. Also I have added a new variable setting
      command:
      
      SET CLIENT_ENCODING TO 'encoding';
      
      Other features include:
      	Latin1 support more 8 bit cleaness
      
      See doc/README.mb for more details. Note that the pacthes are
      against May 30 snapshot.
      
      Tatsuo Ishii
      cb7cbc16
    • Bruce Momjian's avatar
      I've hacked up pg_dump so that it generates CONSTRAINT and CHECK · 32eef5ad
      Bruce Momjian authored
      syntax that can be read back in with psql.  I did this by adding
      a
       "-c" switch that controls moving the CONTSTRAINT statements inside
      the CREATE TABLE statements and adding () around the CHECK arguments.
      Here's diffs against the 6.3.2 version of pg_dump.c.
      
      ccb
      32eef5ad
  13. 15 Jun, 1998 1 commit
  14. 06 May, 1998 1 commit
  15. 07 Apr, 1998 3 commits
  16. 30 Mar, 1998 1 commit
    • Bruce Momjian's avatar
      There's a patch attached to fix gcc 2.8.x warnings, except for the · 9a0dd4fb
      Bruce Momjian authored
      yyerror ones from bison. It also includes a few 'enhancements' to
      the C programming style (which are, of course, personal).
      
      The other patch removes the compilation of backend/lib/qsort.c, as
      qsort() is a standard function in stdlib.h and can be used any
      where else (and it is). It was only used in
      backend/optimizer/geqo/geqo_pool.c, backend/optimizer/path/predmig.c,
      and backend/storage/page/bufpage.c
      
      > > Some or all of these changes might not be appropriate for v6.3,
      since we > > are in beta testing and since they do not affect the
      current functionality.  > > For those cases, how about submitting
      patches based on the final v6.3 > > release?
      
      There's more to come. Please review these patches. I ran the
      regression tests and they only failed where this was expected
      (random, geo, etc).
      
      Cheers,
      
      Jeroen
      9a0dd4fb
  17. 16 Mar, 1998 1 commit
  18. 14 Mar, 1998 1 commit
  19. 26 Feb, 1998 1 commit
  20. 18 Feb, 1998 1 commit
  21. 30 Jan, 1998 1 commit
  22. 29 Jan, 1998 1 commit
  23. 16 Jan, 1998 1 commit
  24. 26 Dec, 1997 1 commit
  25. 06 Dec, 1997 1 commit
  26. 05 Dec, 1997 1 commit
  27. 04 Dec, 1997 1 commit
  28. 01 Dec, 1997 2 commits
  29. 21 Nov, 1997 1 commit
  30. 30 Oct, 1997 2 commits
  31. 16 Oct, 1997 1 commit
  32. 02 Oct, 1997 1 commit
  33. 24 Sep, 1997 2 commits