Re: postgresql-server depends on client. Why?

2014-10-19 Thread Roger Marquis

Palle Girgensohn gir...@pingpong.net wrote:

So, apart from the obvious I want to upgrade the client separately
(before) the server, there are no arguments for not doing it the way we
do it now. But maybe that argument is enough to motivate a change?


KIS is one reason we do not install clients with server (of other DBs or
on other OSs).  Security standard practice also recommends client
software not be installed on server systems.

Considering how trivial it is to split client and server ports I can't
think of a good reason not to.

Roger
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: postgresql-server depends on client. Why?

2014-10-18 Thread Dan Langille

On Oct 17, 2014, at 10:44 AM, Palle Girgensohn gir...@pingpong.net wrote:

 Thing is, we install header files and man pages in the client only, if memory 
 serves me right. Also, tools like createdb are in the client package. 
 
 So, apart from the obvious I want to upgrade the client separately (before) 
 the server, there are no arguments for not doing it the way we do it now. 
 But maybe that argument is enough to motivate a change?

“want” is not part of the issue.

Upgrading the client before upgrading the server is standard procedure as 
documented by the PostgreSQL project.


 
 Palle
 
 17 okt 2014 kl. 16:40 skrev Olli Hauer oha...@gmx.de:
 
 In case the dependency on thr client will be removed all ports depending on 
 the server alone at the moment should be checked if they also require the 
 client part.
 Additional clients should not define a conflict with server versions  
 client version
 -- 
 Sent from my Android phone with GMX Mail. Please excuse my brevity.
 
 Chris Rees cr...@physics.org wrote:
 Hi Dan,
 
 http://svnweb.freebsd.org/ports/head/databases/postgresql90-server/Makefile?revision=286930view=markup#l64
 
 It was always supposed to be the case, however I agree that it's probably 
 not necessary.
 
 Anyone mind if it doesn't depend?
 
 Chris
 
 
 On 17 October 2014 15:12:51 BST, Dan Langille d...@langille.org wrote:
 Why is postgresql-server dependent upon postgresql-client?
 
 This wasn’t the case in the past and seems to be the case not.
 
 Not all server installations need the client.
 
 In addition, upgrading the client before upgrading the server is
 standard procedure:
 
 http://www.postgresql.org/docs/9.3/static/upgrading.html
 
 i.e. upgrade the client, pg_dump using the new client, then upgrade
 server, pg_restore.
 
 Thanks
 
 —
 Dan Langille
 
 --
 Sent from my Android device with K-9 Mail. Please excuse my brevity.
 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 
 ___
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
 

— 
Dan Langille



signature.asc
Description: Message signed with OpenPGP using GPGMail


postgresql-server depends on client. Why?

2014-10-17 Thread Dan Langille
Why is postgresql-server dependent upon postgresql-client?

This wasn’t the case in the past and seems to be the case not.

Not all server installations need the client.

In addition, upgrading the client before upgrading the server is standard 
procedure:

  http://www.postgresql.org/docs/9.3/static/upgrading.html

i.e. upgrade the client, pg_dump using the new client, then upgrade server, 
pg_restore.

Thanks

— 
Dan Langille



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: postgresql-server depends on client. Why?

2014-10-17 Thread Chris Rees
Hi Dan,

http://svnweb.freebsd.org/ports/head/databases/postgresql90-server/Makefile?revision=286930view=markup#l64

It was always supposed to be the case, however I agree that it's probably not 
necessary.

Anyone mind if it doesn't depend?

Chris


On 17 October 2014 15:12:51 BST, Dan Langille d...@langille.org wrote:
Why is postgresql-server dependent upon postgresql-client?

This wasn’t the case in the past and seems to be the case not.

Not all server installations need the client.

In addition, upgrading the client before upgrading the server is
standard procedure:

  http://www.postgresql.org/docs/9.3/static/upgrading.html

i.e. upgrade the client, pg_dump using the new client, then upgrade
server, pg_restore.

Thanks

— 
Dan Langille

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: postgresql-server depends on client. Why?

2014-10-17 Thread Palle Girgensohn
Hi Dan,

Well, it has always been like that, actually. 

PostgreSQL does not really support installing them completely separately. 
PostgreSQL does support minimiziing the installation to the client only, but 
not really the other way around. Maybe they are independent, I didn't really 
check it out.

http://www.postgresql.org/docs/9.2/static/install-procedure.html - Towards the 
end of the page: Client-only installation.

There is really no information about Server-only installation. Hence I didn't 
bother pursuing that track.

PAlle


17 okt 2014 kl. 16:12 skrev Dan Langille d...@langille.org:

 Why is postgresql-server dependent upon postgresql-client?
 
 This wasn’t the case in the past and seems to be the case not.
 
 Not all server installations need the client.
 
 In addition, upgrading the client before upgrading the server is standard 
 procedure:
 
  http://www.postgresql.org/docs/9.3/static/upgrading.html
 
 i.e. upgrade the client, pg_dump using the new client, then upgrade server, 
 pg_restore.
 
 Thanks
 
 — 
 Dan Langille
 



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: Re: postgresql-server depends on client. Why?

2014-10-17 Thread Olli Hauer
   In case the dependency on thr client will be removed all ports
   depending on the server alone at the moment should be checked if they
   also require the client part.
   Additional clients should not define a conflict with server versions 
   client version
   --
   Sent from my Android phone with GMX Mail. Please excuse my brevity.

   Chris Rees cr...@physics.org wrote:

 Hi Dan,
 [1]http://svnweb.freebsd.org/ports/head/databases/postgresql90-serve
 r/Makefile?revision=286930view=markup#l64
 It was always supposed to be the case, however I agree that it's
 probably not necessary.
 Anyone mind if it doesn't depend?
 Chris
 On 17 October 2014 15:12:51 BST, Dan Langille d...@langille.org
 wrote:
 Why is postgresql-server dependent upon postgresql-client?
 
 This wasn't the case in the past and seems to be the case not.
 
 Not all server installations need the client.
 
 In addition, upgrading the client before upgrading the server is
 standard procedure:
 
 [2] http://www.postgresql.org/docs/9.3/static/upgrading.html
 
 i.e. upgrade the client, pg_dump using the new client, then upgrade
 server, pg_restore.
 
 Thanks
 
 --
 Dan Langille
 --
 Sent from my Android device with K-9 Mail. Please excuse my brevity.
 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 ___
 freebsd-ports@freebsd.org mailing list
 [3]http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to
 freebsd-ports-unsubscr...@freebsd.org

References

   1. 
http://svnweb.freebsd.org/ports/head/databases/postgresql90-server/Makefile?revision=286930view=markup#l64
   2. http://www.postgresql.org/docs/9.3/static/upgrading.html
   3. http://lists.freebsd.org/mailman/listinfo/freebsd-ports
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: postgresql-server depends on client. Why?

2014-10-17 Thread Palle Girgensohn
Thing is, we install header files and man pages in the client only, if memory 
serves me right. Also, tools like createdb are in the client package. 

So, apart from the obvious I want to upgrade the client separately (before) 
the server, there are no arguments for not doing it the way we do it now. But 
maybe that argument is enough to motivate a change?

Palle

17 okt 2014 kl. 16:40 skrev Olli Hauer oha...@gmx.de:

 In case the dependency on thr client will be removed all ports depending on 
 the server alone at the moment should be checked if they also require the 
 client part.
 Additional clients should not define a conflict with server versions  client 
 version
 -- 
 Sent from my Android phone with GMX Mail. Please excuse my brevity.
 
 Chris Rees cr...@physics.org wrote:
 Hi Dan,
 
 http://svnweb.freebsd.org/ports/head/databases/postgresql90-server/Makefile?revision=286930view=markup#l64
 
 It was always supposed to be the case, however I agree that it's probably not 
 necessary.
 
 Anyone mind if it doesn't depend?
 
 Chris
 
 
 On 17 October 2014 15:12:51 BST, Dan Langille d...@langille.org wrote:
 Why is postgresql-server dependent upon postgresql-client?
 
 This wasn’t the case in the past and seems to be the case not.
 
 Not all server installations need the client.
 
 In addition, upgrading the client before upgrading the server is
 standard procedure:
 
  http://www.postgresql.org/docs/9.3/static/upgrading.html
 
 i.e. upgrade the client, pg_dump using the new client, then upgrade
 server, pg_restore.
 
 Thanks
 
 —
 Dan Langille
 
 --
 Sent from my Android device with K-9 Mail. Please excuse my brevity.
 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 
 ___
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: postgresql-server depends on client. Why?

2014-10-17 Thread Baptiste Daroussin
On Fri, Oct 17, 2014 at 04:44:47PM +0200, Palle Girgensohn wrote:
 Thing is, we install header files and man pages in the client only, if memory 
 serves me right. Also, tools like createdb are in the client package. 
 
 So, apart from the obvious I want to upgrade the client separately (before) 
 the server, there are no arguments for not doing it the way we do it now. 
 But maybe that argument is enough to motivate a change?
 
 Palle

I don't think that really make sense not to depend on the client.

regards,
Bapt


pgpxt3T_aPFdq.pgp
Description: PGP signature