1. 10 Sep, 2001 20 commits
  2. 09 Sep, 2001 4 commits
  3. 08 Sep, 2001 9 commits
  4. 07 Sep, 2001 7 commits
    • Bruce Momjian's avatar
      Move TESTSUITE file to test/README. · 6b9f9402
      Bruce Momjian authored
      6b9f9402
    • Tom Lane's avatar
      Change addlit() to not assume its input is null-terminated, so that we · 09e99a10
      Tom Lane authored
      don't have more bugs like the quote-quote-quote-quote one.  Propagate
      fix into ecpg lexer, too.
      09e99a10
    • Bruce Momjian's avatar
      Attached is a patch that fixes 2 test cases of the JDBC test · b6385efb
      Bruce Momjian authored
      suite. This reduces the number of failures from 9 to 7.
      
      Both ConnectionTest and JBuilderTest did not create their own
      tables, which caused these test cases to fail with "relation ...
      does not exist". It appears these test cases relied on tables
      created by the example code elsewhere in the source tree. I've
      added the necessary "create table" and "drop table" statements
      to the test cases, using the column definitions from the example
      code.
      
      While working on that I modified the helper method createTable
      in JDBC2Tests.java to take a table parameter, rather than using
      table names passed via the properties in build.xml. I'm not sure
      what that was good for, and in fact, except for the default
      table name "jdbctest", this functionality wasn't used at all.
      
      Ren? Pijlman
      b6385efb
    • Bruce Momjian's avatar
      Read transactions don't work on 7.0.x db's 2nd patch · 7066253a
      Bruce Momjian authored
      Here is a revised patch with Barry's suggestions implemented
      
      Dave Cramer
      7066253a
    • Bruce Momjian's avatar
      Patch for jdbc2 ResultSet.java. Looks like performance improvement. · 6ea41dcc
      Bruce Momjian authored
      Joseph Shraibman
      6ea41dcc
    • Bruce Momjian's avatar
      I've attached the fixed version of the patch below. After the · 1834987f
      Bruce Momjian authored
      discussion on pgsql-hackers (especially the frightening memory dump in
      <12273.999562219@sss.pgh.pa.us>), we decided that it is best not to
      use identifiers from an untrusted source at all.  Therefore, all
      claims of the suitability of PQescapeString() for identifiers have
      been removed.
      
      Florian Weimer
      1834987f
    • Bruce Momjian's avatar
      Here is my much-promised patch to let people add UNIQUE constraints after · bd9b3280
      Bruce Momjian authored
      table creation time.  Big deal you say - but this patch is the basis of the
      next thing which is adding PRIMARY KEYs after table creation time.  (Which
      is currently impossible without twiddling catalogs)
      
      Rundown
      -------
      
      * I have made the makeObjectName function of analyze.c non-static, and
      exported it in analyze.h
      
      * I have included analyze.h and defrem.h into command.c, to support
      makingObjectNames and creating indices
      
      * I removed the 'case CONSTR_PRIMARY' clause so that it properly fails and
      says you can't add primary keys, rather than just doing nothing and
      reporting nothing!!!
      
      * I have modified the docs.
      
      Algorithm
      ---------
      
      * If name specified is null, search for a new valid constraint name.  I'm
      not sure if I should "lock" my generated name somehow tho - should I open
      the relation before doing this step?
      
      * Open relation in access exclusive mode
      
      * Check that the constraint does not already exist
      
      * Define the new index
      
      * Warn if they're doubling up on an existing index
      
      Christopher Kings-Lynne
      bd9b3280