1. 26 3月, 1997 11 次提交
  2. 25 3月, 1997 15 次提交
    • M
      another one missed · 0ccaaac1
      Marc G. Fournier 提交于
      0ccaaac1
    • M
      MIssed adding a file to the repository · 884d70ed
      Marc G. Fournier 提交于
      884d70ed
    • M
      From: "D'Arcy J.M. Cain" <darcy@druid.net> · 07038148
      Marc G. Fournier 提交于
      Subject: [HACKERS] backend/utils/adt/timestamp.c
      
      Back to this timezone stuff.  The struct tm has a field (tm_gmtoff) which
      is the offset from UTC (GMT is archaic BTW) in seconds.  Is this the
      value you are looking for when you use timezone?  Note that this applies
      to NetBSD but it does not appear to be in either ANSI C or POSIX.  This
      looks like one of those things that is just going to have to be hand
      coded for each platform.
      
      Why not just store the values in UTC and use localtime instead of
      gmtime when retrieving the value?
      
      Also, you assume the time is returned as a 4 byte integer.  In fact,
      there is not even any requirement that time be an integral value.  You
      should use time_t here.
      
      The input function seems unduly restrictive.  Somewhere in the sources
      there is an input function that allows words for months.  Can't we do
      the same here?
      
      There is a standard function, difftime, for subtracting two times.  It
      deals with cases where time_t is not integral.  There is, however, a
      small performance hit since it returns a double and I don't believe
      there is any system currently which uses anything but an integral for
      time_t.  Still, this is technically the correct and portable thing to do.
      
      The returns from the various comparisons should probably be a bool.
      07038148
    • M
      Various patches for shared libraries under i386-solaris by: · c2e73db8
      Marc G. Fournier 提交于
      Christoph Kaesling <ck@dog.pfalz.sub.de>
      c2e73db8
    • M
      Here's two more diffs... · 6304e2c2
      Marc G. Fournier 提交于
      The first fixes a warning from gcc about the assignment within the condition.
      The extra set of parens should not make a difference, but with -Werror, they
      are necessary.
      
      The second fixes an "ln -s" invocation that assumes the current directory is
      implicitly the target if not specified.  Not true in all cases, and again, it
      should not make a difference except to those implementation that it does.
      
      From: "Michael P. Snyder" <msnyder@hawkeye.huntersmoon.com>
      6304e2c2
    • M
      Rather than make this a Linux test, we should just test for the existence · ea2fa32e
      Marc G. Fournier 提交于
      of endian.h.  I figure that if it exists it's pretty sure that it has
      the byte order information and we may catch some other ports without
      any further testing.
      
      From: "D'Arcy J.M. Cain" <darcy@druid.net>
      ea2fa32e
    • M
      Use $(LD_ADD) from Makefile.global instead of $(LDADD), which doesn't exist... · fcd65952
      Marc G. Fournier 提交于
      Pointed out indirectly by D'Arcy
      fcd65952
    • M
      From: Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov> · dfe04753
      Marc G. Fournier 提交于
      Subject: [HACKERS] More patches for date/time
      
      I have accumulated several patches to add functionality to the datetime
      and timespan data types as well as to fix reported porting bugs on non-BSD
      machines. These patches are:
      
      dt.c.patch              - add datetime_part(), fix bugs
      dt.h.patch              - add quarter and timezone support, add prototypes
      globals.c.patch         - add time and timezone variables
      miscadmin.h.patch       - add time and timezone variables
      nabstime.c.patch        - add datetime conversion routine
      nabstime.h.patch        - add prototypes
      pg_operator.h.patch     - add datetime operators, clean up formatting
      pg_proc.h.patch         - add datetime functions, reassign conflicting date OIDs
      pg_type.h.patch         - add datetime and timespan data types
      
      The dt.c and pg_proc.h patches are fairly large; the latter mostly because I tried
      to get some columns for existing entries to line up.
      dfe04753
    • M
      MOre univel port patches/files from: · d2a386d6
      Marc G. Fournier 提交于
      "Michael P. Snyder" <msnyder@hawkeye.huntersmoon.com>
      d2a386d6
    • M
    • V
      1a63f48b
    • M
      - Renamed the variable names to something shorter, and I hope · ef56e51c
      Marc G. Fournier 提交于
          nicer. Also, I grabbed my copy of the Informix manual, and
          added a couple of variables that make sense (formats for
          money, time, a language setting, a timezone).
      
        - New functions SetPGVariable() and GetPGVariable() in tcop/*.
          These don't actually do anything for the moment, but should
          be enough to implement the SET var_name TO var_val in the
          parser?
      
          SetPGVariable() expects just two strings, the var_name and
          the var_value from above, and is expected to do the right thing.
          Returns TRUE if  everything okay.
      
      
      From: "Martin J. Laubach" <mjl@wwx.vip.at>
      ef56e51c
    • M
      Add in alpha port · e16b43e2
      Marc G. Fournier 提交于
      e16b43e2
    • M
      I don't know whether this breaks what the previous person tried to · 424e4332
      Marc G. Fournier 提交于
      fix, but figure I"ll know soon enough, eh?
      
      Patch submitted by Dan McGuirk
      424e4332
    • M
      Needs USE_POSIX_SIGNALS · 7fae4365
      Marc G. Fournier 提交于
      Pointed out by Dan McGuirk
      7fae4365
  3. 24 3月, 1997 4 次提交
  4. 22 3月, 1997 2 次提交
  5. 21 3月, 1997 3 次提交
    • M
      change strtok(0.. to strtok(NULL.. · 69c2c661
      Marc G. Fournier 提交于
      From: Keith Parks <emkxp01@mtcc.demon.co.uk>
      69c2c661
    • M
      From: "D'Arcy J.M. Cain" <darcy@druid.net> · bf872f0a
      Marc G. Fournier 提交于
      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
    • M
      Check for and set HAVE_CRYPT_H if <crypt.h> exists · 7d5770ea
      Marc G. Fournier 提交于
      include crypt.h in password.c if crypt.h does exist
      7d5770ea
  6. 20 3月, 1997 1 次提交
  7. 19 3月, 1997 4 次提交