Обсуждение: Re: [COMMITTERS] pgsql: Add PGFILEDESC description to Makefiles for all /contrib

Поиск
Список
Период
Сортировка

Re: [COMMITTERS] pgsql: Add PGFILEDESC description to Makefiles for all /contrib

От
Tom Lane
Дата:
momjian@postgresql.org (Bruce Momjian) writes:
> Add PGAPPICON to all executable makefiles.

Is it really a good idea to have done that to the server, in particular?
I can't imagine it being a good idea to launch the postmaster from a
GUI, which is what I suppose this is good for.
        regards, tom lane


Re: [COMMITTERS] pgsql: Add PGFILEDESC description to Makefiles for all /contrib

От
Bruce Momjian
Дата:
Tom Lane wrote:
> momjian@postgresql.org (Bruce Momjian) writes:
> > Add PGAPPICON to all executable makefiles.
> 
> Is it really a good idea to have done that to the server, in particular?
> I can't imagine it being a good idea to launch the postmaster from a
> GUI, which is what I suppose this is good for.

Well, I assume this was the "icon", which I assumed should match for all
the binaries, as compared to config files, for example.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com


Re: [COMMITTERS] pgsql: Add PGFILEDESC description to Makefiles for all /contrib

От
Tom Lane
Дата:
Bruce Momjian <bruce@momjian.us> writes:
> Tom Lane wrote:
>> momjian@postgresql.org (Bruce Momjian) writes:
>>> Add PGAPPICON to all executable makefiles.
>> 
>> Is it really a good idea to have done that to the server, in particular?
>> I can't imagine it being a good idea to launch the postmaster from a
>> GUI, which is what I suppose this is good for.

> Well, I assume this was the "icon", which I assumed should match for all
> the binaries, as compared to config files, for example.

Er... why are you committing undiscussed patches if you just "assume"
they will work, or indeed do anything useful at all?  You should not
have touched this if you don't know exactly what it will do and why
changing it is a good thing.
        regards, tom lane


Re: [COMMITTERS] pgsql: Add PGFILEDESC description to Makefiles for all /contrib

От
Bruce Momjian
Дата:
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > Tom Lane wrote:
> >> momjian@postgresql.org (Bruce Momjian) writes:
> >>> Add PGAPPICON to all executable makefiles.
> >> 
> >> Is it really a good idea to have done that to the server, in particular?
> >> I can't imagine it being a good idea to launch the postmaster from a
> >> GUI, which is what I suppose this is good for.
> 
> > Well, I assume this was the "icon", which I assumed should match for all
> > the binaries, as compared to config files, for example.
> 
> Er... why are you committing undiscussed patches if you just "assume"
> they will work, or indeed do anything useful at all?  You should not
> have touched this if you don't know exactly what it will do and why
> changing it is a good thing.

All other binaries had such a designation, and all /contrib binaries
were missing them.  I assume I was doing cleanup.  You want the icon
removed from the backend makefile?  I can easily do it.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com


Re: [COMMITTERS] pgsql: Add PGFILEDESC description to Makefiles for all /contrib

От
Tom Lane
Дата:
Bruce Momjian <bruce@momjian.us> writes:
> All other binaries had such a designation, and all /contrib binaries
> were missing them.  I assume I was doing cleanup.  You want the icon
> removed from the backend makefile?

Yes.  I'm prepared to believe that not having the icons set on the
contrib executables was an oversight.  I'm much less prepared to assume
that not marking the postgres executable was an oversight.  Again,
unless you *know* that this change is needed and appropriate, now is
not the time to be making it, and especially not without discussion.
        regards, tom lane


Re: [COMMITTERS] pgsql: Add PGFILEDESC description to Makefiles for all /contrib

От
Bruce Momjian
Дата:
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > All other binaries had such a designation, and all /contrib binaries
> > were missing them.  I assume I was doing cleanup.  You want the icon
> > removed from the backend makefile?
>
> Yes.  I'm prepared to believe that not having the icons set on the
> contrib executables was an oversight.  I'm much less prepared to assume
> that not marking the postgres executable was an oversight.  Again,
> unless you *know* that this change is needed and appropriate, now is
> not the time to be making it, and especially not without discussion.

OK, done with attached patch, and I added a comment about why it is not
labeled.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com
Index: src/backend/Makefile
===================================================================
RCS file: /cvsroot/pgsql/src/backend/Makefile,v
retrieving revision 1.142
diff -c -c -r1.142 Makefile
*** src/backend/Makefile    12 May 2010 11:33:09 -0000    1.142
--- src/backend/Makefile    12 May 2010 21:41:14 -0000
***************
*** 10,16 ****
  #-------------------------------------------------------------------------

  PGFILEDESC = "PostgreSQL Server"
! PGAPPICON=win32

  subdir = src/backend
  top_builddir = ../..
--- 10,17 ----
  #-------------------------------------------------------------------------

  PGFILEDESC = "PostgreSQL Server"
! # it is unclear that this should be labeled as an executable
! #PGAPPICON=win32

  subdir = src/backend
  top_builddir = ../..