Re: [ODBC] MD5 support for ODBC

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [ODBC] MD5 support for ODBC
Date: 2001-11-13 22:11:16
Message-ID: 200111132211.fADMBGH19422@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc pgsql-patches

> Bruce Momjian writes:
>
> > > Nope, this doesn't work. The source directory is not necessarily the
> > > current directory.
> >
> > OK, I will remove it. However, many of our Makefiles that do ../..
>
> The *build* directory is always the current directory, so '..' stuff is
> okay to refer to built files. But to reference source files you need to
> start with $(srcdir) or $(top_srcdir), whichever is convenient.

Oh, OK.

> > Also, should we add such checks to the other files that must remain
> > identical?
>
> I don't think we have any others that must remain identical per se.
>
> In general, checks for source code sanity are okay, but if you want them
> in a makefile they should be under the maintainer-check target, not in the
> build path. However, since there is very little that merits an automated
> check of this sort, I doubt very many people would actually run this
> target.
>

OK, removed.

> > Yes, I already do a symlink for md5.c in libpq. The problem is that
> > ODBC has to compile stand-alone, with no reference to any outside
> > directory.
>
> Okay, that's reasonable. I think making a note in the file under odbc/
> should be sufficient. Possibly include which CVS revision of the original
> the copy is based on, so one can see when it needs updating. Also, a note
> in the venerable RELEASE_CHANGES file seems appropriate.

I am not sure if it is even worth it there. I can't imagine anyone
changing md5.c anyway.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Christopher Kings-Lynne 2001-11-14 01:27:18 Re: [HACKERS] Last inserted id
Previous Message Peter Eisentraut 2001-11-13 22:08:29 Re: [ODBC] MD5 support for ODBC

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2001-11-13 23:04:49 Re: [PATCHES] More FK patches
Previous Message Peter Eisentraut 2001-11-13 22:08:29 Re: [ODBC] MD5 support for ODBC