1. 12 Aug, 1997 1 commit
  2. 28 Jul, 1997 1 commit
  3. 17 Apr, 1997 1 commit
    • Marc G. Fournier's avatar
      From: Raymond Toy <toy@rtp.ericsson.se> · 8834795e
      Marc G. Fournier authored
      Subject: [PATCHES] 970417:  two more patches for large objects
      
      Here are two more patches:
      
              1.  pg_getint doesn't properly set the status flag when
                  calling pqGetShort or pqGetLong.  This is required when
                  accessing large objects via libpq.  This, combined with
                  problem 1 above causes postgres to crash when postgres
                  tries to print out the message that the status was not
                  good.
      
              2.  ExceptionalCondition crashes when called with detail =
                  NULL.  This patch prevents dereferencing the NULL.
      8834795e
  4. 16 Apr, 1997 1 commit
  5. 20 Mar, 1997 1 commit
    • Marc G. Fournier's avatar
      From: "D'Arcy J.M. Cain" <darcy@druid.net> · bf872f0a
      Marc G. Fournier authored
      Subject: [HACKERS] libpq/pqcomm stuff and Solaris byte order
      
      I decided to go ahead with the required changes since no one else seems
      to.  I don't guarantee that it is perfect but with these changes the
      package actually compiles.  While I was at it I added to the Sparc
      Solaris header to define the byte order.  Note that NetBSD sets this
      in the system headers so it wasn't required there.
      
      In particular, someone may want to check whether I removed the correct
      84 lines from backend/libpq/pqcomprim.c.
      bf872f0a
  6. 18 Mar, 1997 1 commit
    • Marc G. Fournier's avatar
      - Move most of the I/O in both libpq and the backend to a set · 812a6c2b
      Marc G. Fournier authored
          of common routines in pqcomprim.c (pq communication primitives).
          Not all adapted to it yet, but it's a start.
      
        - Rewritten some of those routines, to write/read bigger chunks of
          data, precomputing stuff in buffers instead of sending out byte
          by byte.
      
        - As a consequence, I need to know the endianness of the machine.
          Currently I rely on getting it from machine/endian.h, but this
          may not be available everywhere? (Who the hell thought it was
          a good idea to pass integers to the backend the other way around
          than the normal network byte order? *argl*)
      
        - Libpq looks in the environment for magic variables, and upon
          establishing a connection to the backend, sends it queries
          of the form "SET var_name TO 'var_value'". This needs a change
          in the backend parser (Mr. Parser, are you there? :)
      
        - Currently it looks for two Env-Vars, namely PG_DATEFORMAT
          and PG_FLOATFORMAT. What else makes sense? PG_TIMEFORMAT?
          PG_TIMEZONE?
      
      From: "Martin J. Laubach" <mjl@wwx.vip.at>
      812a6c2b
  7. 12 Mar, 1997 1 commit
    • Marc G. Fournier's avatar
      From: Dan McGuirk <mcguirk@indirect.com> · 3a7c93e7
      Marc G. Fournier authored
      Subject: [HACKERS] password authentication
      
      This patch adds support for plaintext password authentication.  To use
      it, you add a line like
      
      host         all         0.0.0.0       0.0.0.0           password  pg_pwd.conf
      
      
      to your pg_hba.conf, where 'pg_pwd.conf' is the name of a file containing
      the usernames and password hashes in the format of the first two fields
      of a Unix /etc/passwd file.  (Of course, you can use a specific database
      name or IP instead.)
      
      Then, to connect with a password through libpq, you use the PQconnectdb()
      function, specifying the "password=" tag in the connect string and also
      adding the tag "authtype=password".
      
      I also added a command-line switch '-u' to psql that tells it to prompt
      for a username and password and use password authentication.
      3a7c93e7
  8. 14 Feb, 1997 1 commit
  9. 26 Dec, 1996 1 commit
  10. 24 Nov, 1996 1 commit
  11. 15 Nov, 1996 1 commit
  12. 14 Nov, 1996 1 commit
  13. 08 Nov, 1996 1 commit
  14. 06 Nov, 1996 1 commit
  15. 31 Oct, 1996 2 commits
  16. 23 Jul, 1996 1 commit
  17. 09 Jul, 1996 1 commit