1. 09 9月, 1997 1 次提交
  2. 08 9月, 1997 1 次提交
  3. 07 9月, 1997 1 次提交
  4. 27 8月, 1997 1 次提交
  5. 09 5月, 1997 1 次提交
    • M
      From: Edmund Mergl <E.Mergl@bawue.de> · 498d2d1e
      Marc G. Fournier 提交于
      Subject: [PATCHES] libpq patch
      
      Hi,
      
      here is a small patch which fixes two problems:
      
      1. libpq/libpq-fe.h:
      
      somehow disappeared the line
      
      #define DefaultOption ""
      
      now compilation stops with an error complainig an
      unknown DefaultOption (970508).
      
      
      2. Same patch as I sent already twice, but it never made it
        into the source tree:  there is no default value for
        AuthType and Password. This way any libpq-application
        (i.e. perl-scripts) which use the function PQconnectdb
        will break with PostgreSQL-6.1. The patch simply uses
        an empty string as default value.
      498d2d1e
  6. 13 3月, 1997 1 次提交
    • M
      From: Dan McGuirk <mcguirk@indirect.com> · 3a7c93e7
      Marc G. Fournier 提交于
      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
  7. 06 1月, 1997 1 次提交
  8. 27 12月, 1996 1 次提交
  9. 10 12月, 1996 1 次提交
  10. 04 12月, 1996 1 次提交
  11. 22 11月, 1996 1 次提交
  12. 11 11月, 1996 1 次提交
    • M
      As proposed, · 41b8c2c8
      Marc G. Fournier 提交于
          following is the patch to libpq's large object interface that
          removes the requirement to  include  fmgr.h  into  fe-lobj.c.
          The  large object interface now ask's the backend to tell the
          OID's of all the required functions in pg_proc.
      
      From: wieck@sapserv.debis.de (Jan Wieck)
      41b8c2c8
  13. 10 11月, 1996 1 次提交
  14. 09 11月, 1996 1 次提交
  15. 04 11月, 1996 1 次提交
  16. 10 10月, 1996 1 次提交
  17. 13 8月, 1996 1 次提交
    • M
      Fixes: · 9305fc74
      Marc G. Fournier 提交于
      Attached is a patch to allow libpq to determine if a field is null.
      
      This is needed because text fields will return a PQgetlength() of 0
      whether it is '' or NULL.  There is even a comment in the source noting
      the fact.
      
      I have changed the value of the 'len' field for NULL result fields.  If
      the field is null, the len is set to -1 (NULL_LEN).  I have changed
      PQgetlength() to return a 0 length for both '' and NULL.  A new function
      PQgetisnull() returns true or false for NULL.
      
      The only risk is to applications that do not use the suggested
      PQgetlength() call, but read the result 'len' field directly.
      
      As this is not recommended, I think we are safe here.
      
      A separate documentation patch will be sent.
      
      
      Submitted by: Bruce Momjian <maillist@candle.pha.pa.us>
      9305fc74
  18. 07 8月, 1996 1 次提交
    • M
      Fixes for: · c4e53a14
      Marc G. Fournier 提交于
      Here are a few minor fixes to Postgres95.  Mostly I have added const
      to some of the char pointers.  There was also a missing header file
      and a place where it looks like "==" was used when "=" was meant.
      I also changed some variables from Pfin and Pfout tp pfin and pfout
      because the latter shadow global variables and that just seems like
      an unsafe practice which I like to avoid.
      
      Submitted by:  "D'Arcy J.M. Cain" <darcy@druid.druid.com>
      c4e53a14
  19. 01 8月, 1996 1 次提交
  20. 27 7月, 1996 1 次提交
  21. 23 7月, 1996 1 次提交
  22. 18 7月, 1996 1 次提交
    • M
      libpq and psql.c have been modified to do various things they didn't do · 72f76d38
      Marc G. Fournier 提交于
      before (plus some optimisations/bug fixes et al).  I've included a small
      demo transcript below. Note that all of of the display
      functionality/intelligence you see here, can be had merely by calling
      the new LIBPQ PQprint() routine with the appropriate arguments/options,
      including the HTML3 output guff.
      
      
      submitted by:  Julian Assange <proff@suburbia.net>
      72f76d38
  23. 09 7月, 1996 1 次提交