1. 18 10月, 1999 1 次提交
  2. 17 10月, 1999 2 次提交
  3. 16 10月, 1999 3 次提交
  4. 15 10月, 1999 3 次提交
    • B
      Clean up type descriptions. · e16db383
      Bruce Momjian 提交于
      e16db383
    • B
      This patch implements ORACLE's COMMENT SQL command. · 7acc2377
      Bruce Momjian 提交于
      >From the ORACLE 7 SQL Language Reference Manual:
      -----------------------------------------------------
      COMMENT
      
      Purpose:
      
      To add a comment about a table, view, snapshot, or
      column into the data dictionary.
      
      Prerequisites:
      
      The table, view, or snapshot must be in your own
      schema
      or you must have COMMENT ANY TABLE system privilege.
      
      Syntax:
      
      COMMENT ON [ TABLE table ] |
                 [ COLUMN table.column] IS 'text'
      
      You can effectively drop a comment from the database
      by setting it to the empty string ''.
      -----------------------------------------------------
      
      Example:
      
      COMMENT ON TABLE workorders IS
         'Maintains base records for workorder information';
      
      COMMENT ON COLUMN workorders.hours IS
         'Number of hours the engineer worked on the task';
      
      to drop a comment:
      
      COMMENT ON COLUMN workorders.hours IS '';
      
      The current patch will simply perform the insert into
      pg_description, as per the TODO. And, of course, when
      the table is dropped, any comments relating to it
      or any of its attributes are also dropped. I haven't
      looked at the ODBC source yet, but I do know from
      an ODBC client standpoint that the standard does
      support the notion of table and column comments.
      Hopefully the ODBC driver is already fetching these
      values from pg_description, but if not, it should be
      trivial.
      
      Hope this makes the grade,
      
      Mike Mascari
      (mascarim@yahoo.com)
      7acc2377
    • B
      Add S-tree doc for possible future use. · 55fa71a9
      Bruce Momjian 提交于
      55fa71a9
  5. 14 10月, 1999 2 次提交
  6. 13 10月, 1999 6 次提交
    • T
      Split 'BufFile' routines out of fd.c into a new module, buffile.c. Extend · db3c4c3a
      Tom Lane 提交于
      BufFile so that it handles multi-segment temporary files transparently.
      This allows sorts and hashes to work with data exceeding 2Gig (or whatever
      the local limit on file size is).  Change psort.c to use relative seeks
      instead of absolute seeks for backwards scanning, so that it won't fail
      when the data volume exceeds 2Gig.
      db3c4c3a
    • B
      Hi, · c3ac9f07
      Bruce Momjian 提交于
      I have changed a bit the makefiles for the win32 port - the *.def files
      (created when building shared libraries) are now clean from
      Makefile.shlib.
      
      I have also removed "-g" from CFLAGS in the "cygwin32" template - it can
      be
      enabled when running configure.
      
                              Dan
      c3ac9f07
    • B
      Update jdbc for release version #> · 8ce829ea
      Bruce Momjian 提交于
      8ce829ea
    • B
      Update for NUMERIC/DECIMAL data type. · e3dd4942
      Bruce Momjian 提交于
      e3dd4942
    • B
      BLOBs containing NUL characters (ASCII 0) can be written to the · 7ee7ee13
      Bruce Momjian 提交于
      database, but they get truncated at the first NUL by lo_read
      when they are read back. The reason for this is that lo_read in
      Pg.xs is using the default:
          OUTPUT:
              RETVAL
              buf
      which uses C's strlen() to work out the length of the scalar.
      
      The code ought to read something more like:
          OUTPUT:
              RETVAL
              buf sv_setpvn((SV*)ST(2), buf, RETVAL);
      
      I am not sure if this needs to be done on both lo_read methods
      in this file, but I changed both and have not since had any
      problems with truncated BLOBs.
      
      Douglas Thomson <dougt@mugc.cc.monash.edu.au>
      7ee7ee13
    • B
      Update new HISTORY file. · 714efa88
      Bruce Momjian 提交于
      714efa88
  7. 12 10月, 1999 18 次提交
  8. 11 10月, 1999 4 次提交
  9. 10 10月, 1999 1 次提交