1. 23 Aug, 1998 3 commits
    • Bruce Momjian's avatar
      autoconf · 9438fe5d
      Bruce Momjian authored
      9438fe5d
    • Bruce Momjian's avatar
      Attached is a patch that uses autoconf to determine whether there · 07ae591c
      Bruce Momjian authored
      is a working 64-bit-int type available.
      
      In playing around with it on my machine, I found that gcc provides
      perfectly fine support for "long long" arithmetic ... but sprintf()
      and sscanf(), which are system-supplied, don't work :-(.  So the
      autoconf test program does a cursory test on them too.
      
      If we find that a lot of systems are like this, it might be worth
      the trouble to implement binary<->ASCII conversion of int64 ourselves
      rather than relying on sprintf/sscanf to handle the data type.
      
      			regards, tom lane
      07ae591c
    • Bruce Momjian's avatar
      cleanup · 9cad9feb
      Bruce Momjian authored
      9cad9feb
  2. 22 Aug, 1998 6 commits
    • Bruce Momjian's avatar
      fulltext copy script. · 985f4ab9
      Bruce Momjian authored
      985f4ab9
    • Bruce Momjian's avatar
      As proposed, here is the current version of PL/pgSQL. The · 863a6206
      Bruce Momjian authored
          test isn't that complete up to now,  but  I  think  it  shows
          enough of the capabilities of the module.
      
          The  Makefile  assumes  it  is  located  in a directory under
          pgsql/src/pl.   Since   it   includes   Makefile.global   and
          Makefile.port  and doesn't use any own compiler/linker calls,
          it should build on most of our supported  platforms  (I  only
          tested  under Linux up to now).  It requires flex and bison I
          think. Maybe we should ship prepared gram.c etc. like for the
          main parser too?
      
      
      Jan
      863a6206
    • Bruce Momjian's avatar
      212f7bdf
    • Bruce Momjian's avatar
      With the attached patch, I have verified that long (> 8char anyway) · 99a099d4
      Bruce Momjian authored
      usernames and passwords work correctly in both "password" and
      "crypt" authorization mode.  NOTE: at least on my machine, it seems
      that the crypt() routines ignore the part of the password beyond
      8 characters, so there's no security gain from longer passwords in
      crypt auth mode.  But they don't fail.
      
      The login-related part of psql has apparently not been touched
      since roughly the fall of Rome ;-).  It was going through huge
      pushups to get around the lack of username/login parameters to
      PQsetdb.  I don't know when PQsetdbLogin was added to libpq, but
      it's there now ... so I was able to rip out quite a lot of crufty
      code while I was at it.
      
      It's possible that there are still bogus length limits on username
      or password in some of the other PostgreSQL user interfaces besides
      psql/libpq.  I will leave it to other folks to check that code.
      
      			regards, tom lane
      99a099d4
    • Bruce Momjian's avatar
      The attached patch fixes a problem that I seem to have introduced · c0d73046
      Bruce Momjian authored
      with the new support for asynchronous NOTIFY in libpgtcl.  With
      the current sources, if the backend disconnects unexpectedly then
      the tcl/tk application coredumps when control next reaches the idle
      loop.  Oops.
      
      			regards, tom lane
      c0d73046
    • Bruce Momjian's avatar
      · a738478a
      Bruce Momjian authored
      Here are additional patches for the UnixWare 7 port.
      
      Summary of changes:
      
      In pqcomm.h, use the SUN_LEN macro if it is defined to calculate
      the size of the sockaddr_un structure.
      
      In unixware.h, drop the use of the UNIXWARE macro.  Everything can
      be handled with the USE_UNIVEL_CC and DISABLE_COMPLEX_MACRO macros.
      
      In s_lock.h, remove the reference to the UNIXWARE macro (see above).
      
      In the unixware template, add the YFLAGS:-d line.
      
      In various makefile templates, add (or cleanup) unixware and univel
      port specific information.
      
      -- Billy G. Allie
      a738478a
  3. 21 Aug, 1998 1 commit
  4. 20 Aug, 1998 4 commits
  5. 19 Aug, 1998 8 commits
  6. 18 Aug, 1998 1 commit
    • Marc G. Fournier's avatar
      · 338c54cb
      Marc G. Fournier authored
      From: Jan Wieck <jwieck@debis.com>
      
      Hi,
      
          as  proposed here comes the first patch for the query rewrite
          system.
      
        <for details, see archive dated Mon, 17 Aug 1998>
      338c54cb
  7. 17 Aug, 1998 16 commits
  8. 16 Aug, 1998 1 commit