1. 06 3月, 2002 7 次提交
  2. 05 3月, 2002 31 次提交
    • B
    • B
    • B
      Update FAQ. · afc732e6
      Bruce Momjian 提交于
      afc732e6
    • B
      This version has been synchonized with English version at Mar 03. · 590102c2
      Bruce Momjian 提交于
      With best wishes,Victor Vislobokov
      Perm, Russia
      590102c2
    • B
      This trivial patch fixes a typo and improves the phrasing of a sentence · 7bf7b0bd
      Bruce Momjian 提交于
      in the docs.
      
      Neil Conway
      7bf7b0bd
    • B
      Adds \du documentation line for \? in psqls help.c · ed5eb09c
      Bruce Momjian 提交于
      Thought I saw a patch earlier converting docs to use []s, so this uses
      them.
      
      Rod Taylor
      ed5eb09c
    • B
      Please, apply attached patch for contrib/tsearch to 7.2.1 and current · 8fdc7814
      Bruce Momjian 提交于
      CVS. It  fix english stemmer's problem with ending words like
      'technology'.
      
      We have found one more bug in english stemmer. The bug is with
      'irregular'  english words like 'skies' -> 'sky'. Please, apply attached
      cumulative patch to  7.2.1 and current CVS instead previous one.
      
      Thank to Thomas T. Thai <tom@minnesota.com> for hard testing. This kind
      of bug  has significance only for dump/reload database and viewing, but
      searching/indexing works right.
      
      Teodor Sigaev
      8fdc7814
    • B
      Back out old version and update with newer patch of: · 6024ac1b
      Bruce Momjian 提交于
      	Fix for non-blocking connections in libpq
      
      Bernhard Herzog
      6024ac1b
    • B
      Currently, contrib/oid2name doesn't bother to free() the memory that it · 66cd6a0f
      Bruce Momjian 提交于
      malloc()'s. This isn't too serious (because oid2name is a short-lived
      utility, so the memory will soon be returned to the OS on process
      termination), but I still think it's poor style.
      
      This patch changes oid2name so that it allocates memory on the stack
      where possible and free()s the remaining heap-allocated memory. The
      patch also fixes a typo a comment and adds 'const' qualifiers to a few
      'char *' function parameters.
      
      Neil Conway
      66cd6a0f
    • B
      > Tatsuo Ishii wrote: · a8bd7e1c
      Bruce Momjian 提交于
      > > > > It was made to cope with encoding such as an Asian bloc in 7.2Beta2.
      > > > >
      > > > > Added ServerEncoding
      > > > >         Korean (JOHAB), Thai (WIN874),
      > > > >         Vietnamese (TCVN), Arabic (WIN1256)
      > > > >
      > > > > Added ClientEncoding
      > > > >         Simplified Chinese (GBK), Korean (UHC)
      > > > >
      > > > >
      > > > >
      > http://www.sankyo-unyu.co.jp/Pool/postgresql-7.2b2.newencoding.diff.tar.gz
      > > > > (608K)
      > > >
      > > > Looks good.  I need some people to review this for me.
      > >
      > > For me they look good too. The only missing part is a
      > > documentation. I will ask him to write it up. If he couldn't, I will
      > > do it for him.
      > > > The diff is 3mb
      > > > but appears to address only additions to multibyte.  I have attached a
      > > > list of files it modifies.  Also, look at the sizes of the mb/
      > > > directory.  It is getting large:
      > > >
      > > >   4       ./CVS
      > > >   6       ./Unicode/CVS
      > > >   3433    ./Unicode
      > > >   6197    .
      > >
      > > Yes. We definitely need the on-the-fly encoding addition capability:
      > > i.e. CREATE CHRACTER SET in the future...
      > > --
      > > Tatsuo Ishii
      > >
      > >
      
      Address chainge.
      
      http://www.sankyo-unyu.co.jp/Pool/postgresql-7.2.newencoding.diff.gz
      
      Add PsqlODBC and document ...etc patch.
      
      Eiji Tokuya
      a8bd7e1c
    • B
      I attach a version of my toast-slicing patch, against current CVS · 03194432
      Bruce Momjian 提交于
      (current as of a few hours ago.)
      
      This patch:
      
      1. Adds PG_GETARG_xxx_P_SLICE() macros and associated support routines.
      
      2. Adds routines in src/backend/access/tuptoaster.c for fetching only
      necessary chunks of a toasted value. (Modelled on latest changes to
      assume chunks are returned in order).
      
      3. Amends text_substr and bytea_substr to use new methods. It now
      handles multibyte cases -and should still lead to a performance
      improvement in the multibyte case where the substring is near the
      beginning of the string.
      
      4. Added new command: ALTER TABLE tabname ALTER COLUMN colname SET
      STORAGE {PLAIN | EXTERNAL | EXTENDED | MAIN} to parser and documented in
      alter-table.sgml. (NB I used ColId as the item type for the storage
      mode string, rather than a new production - I hope this makes sense!).
      All this does is sets attstorage for the specified column.
      
      4. AlterTableAlterColumnStatistics is now AlterTableAlterColumnFlags and
      handles both statistics and storage (it uses the subtype code to
      distinguish). The previous version of my patch also re-arranged other
      code in backend/commands/command.c but I have dropped that from this
      patch.(I plan to return to it separately).
      
      5. Documented new macros (and also the PG_GETARG_xxx_P_COPY macros) in
      xfunc.sgml. ref/alter_table.sgml also contains documentation for ALTER
      COLUMN SET STORAGE.
      
      John Gray
      03194432
    • B
      I was digging through the GiST code, and figured I'd fix up some of the · 276fc7ce
      Bruce Momjian 提交于
      "bad smell" in that code. Stuff like function parameters that aren't
      used, typos in the comments, comparison between signed and unsigned
      ints, etc.
      
      Attached is a pretty trivial patch; it compiles, but beyond that
      completely untested. Unless anyone sees any problems, please apply for
      7.3.
      
      Neil Conway
      276fc7ce
    • B
      Here's a patch against 7.1.3 that fixes a problem with sending larger · 33766e68
      Bruce Momjian 提交于
      queries over non-blocking connections with libpq. "Larger" here
      basically means that it doesn't fit into the output buffer.
      
      The basic strategy is to fix pqFlush and pqPutBytes.
      
      The problem with pqFlush as it stands now is that it returns EOF when an
      error occurs or when not all data could be sent. The latter case is
      clearly not an error for a non-blocking connection but the caller can't
      distringuish it from an error very well.
      
      The first part of the fix is therefore to fix pqFlush. This is done by
      to renaming it to pqSendSome which only differs from pqFlush in its
      return values to allow the caller to make the above distinction and a
      new pqFlush which is implemented in terms of pqSendSome and behaves
      exactly like the old pqFlush.
      
      The second part of the fix modifies pqPutBytes to use pqSendSome instead
      of pqFlush and to either send all the data or if not all data can be
      sent on a non-blocking connection to at least put all data into the
      output buffer, enlarging it if necessary. The callers of pqPutBytes
      don't have to be changed because from their point of view pqPutBytes
      behaves like before. It either succeeds in queueing all output data or
      fails with an error.
      
      I've also added a new API function PQsendSome which analogously to
      PQflush just calls pqSendSome. Programs using non-blocking queries
      should use this new function. The main difference is that this function
      will have to be called repeatedly (calling select() properly in between)
      until all data has been written.
      
      AFAICT, the code in CVS HEAD hasn't changed with respect to non-blocking
      queries and this fix should work there, too, but I haven't tested that
      yet.
      
      Bernhard Herzog
      33766e68
    • T
      Previous patch to mark UNION outputs with common typmod (if any) breaks · 94467182
      Tom Lane 提交于
      three-or-more-way UNIONs, as per example from Josh Berkus.  Cause is a
      fragile assumption that one tlist's entries will exactly match another.
      Restructure code to make that assumption a little less fragile.
      94467182
    • D
    • D
      patch from Zhenbang Wei · fe4e95f6
      Dave Cramer 提交于
      The errors_zh_TW.properties must be translated using native2ascii or it
      will raise an exception. Please replace the old file.
      fe4e95f6
    • B
      Add: · bca7c57c
      Bruce Momjian 提交于
      > 	o allow replication over unreliable or non-persistent links
      bca7c57c
    • D
      Patch from Ryouichi Matsuda · 8f83590a
      Dave Cramer 提交于
       An attached patch corrects problem of this bug and fractional second.
      
      
       The handling of time zone was as follows:
      
         (a) with time zone
             using  SimpleDateFormat("yyyy-MM-dd HH:mm:ss z")
         (b) without time zone
             using  SimpleDateFormat("yyyy-MM-dd HH:mm:ss")
      
      
       About problem of fractional second,
       Fractional second was changed from milli-second to nano-second
      8f83590a
    • D
      patch from Mitchel Friedman to fix getTables · 7aa6270f
      Dave Cramer 提交于
      7aa6270f
    • B
      Showing index details with \d on psql. · 925d60ee
      Bruce Momjian 提交于
      Greg Sabino Mullane
      925d60ee
    • D
      521017c5
    • B
      Back out python patch: · fef790cc
      Bruce Momjian 提交于
      Elliot Lee wrote:
      > This patch to the python bindings adds C versions of the often-used
      query
      > args quoting routines, as well as support for quoting lists e.g.
      > dbc.execute("SELECT * FROM foo WHERE blah IN %s", ([1,2,3],))
      fef790cc
    • B
      This patch to the python bindings adds C versions of the often-used · 14b05248
      Bruce Momjian 提交于
      query args quoting routines, as well as support for quoting lists e.g.
      dbc.execute("SELECT * FROM foo WHERE blah IN %s", ([1,2,3],))
      
      Elliot Lee
      14b05248
    • B
      Add \timing patch to psql. Times all queries. · 25b0b09f
      Bruce Momjian 提交于
      Greg Sabino Mullane
      25b0b09f
    • B
      Add PQunescapeBytea libpq function. · 294f0d4b
      Bruce Momjian 提交于
      Everyone using libpq and bytea is probably having to invent this wheel..
      
      Patrick Welche
      294f0d4b
    • B
      b2aade0e
    • T
      Add Assert check to catch vsnprintf overrunning its buffer. (Seen to · e7db8fa8
      Tom Lane 提交于
      occur on Solaris 7 in 64-bit mode, for one.)
      e7db8fa8
    • T
      Update FAQ_Solaris with info about gcc 2.95.1 problems and how to work · aa39e9a8
      Tom Lane 提交于
      around 64-bit vsnprintf bug.
      aa39e9a8
    • T
      Make port makefile slightly less crufty. · dd178e37
      Tom Lane 提交于
      dd178e37
    • B
      Modify: · 6488c9d1
      Bruce Momjian 提交于
      < * Add GUC parameter for eurodates
      > * Add GUC parameter for DATESTYLE
      6488c9d1
    • B
      Add: · 493d0980
      Bruce Momjian 提交于
      > * Add GUC parameter for eurodates
      493d0980
  3. 04 3月, 2002 2 次提交