Re: [HACKERS] [PATCHES] Avahi support for Postgresql

2008-04-16 Thread Bruce Momjian
Added to TODO: * Implement the non-threaded Avahi service discovery protocol http://archives.postgresql.org/pgsql-hackers/2008-02/msg00939.php http://archives.postgresql.org/pgsql-patches/2008-02/msg00097.php http://archives.postgresql.org/pgsql-hackers/2008-03/msg01211.php

Re: [HACKERS] [PATCHES] Avahi support for Postgresql

2008-04-15 Thread Bruce Momjian
Alvaro Herrera wrote: Mathias Hasselmann wrote: The patches were in my initial mail, but now I've also uploaded them to my personal site for convenience: http://taschenorakel.de/files/pgsql-avahi-support/ Hmm, a quick look at the third patch reveals that it is using the

Re: [HACKERS] [PATCHES] Avahi support for Postgresql

2008-04-15 Thread Alvaro Herrera
Bruce Momjian wrote: Alvaro Herrera wrote: Mathias Hasselmann wrote: The patches were in my initial mail, but now I've also uploaded them to my personal site for convenience: http://taschenorakel.de/files/pgsql-avahi-support/ Hmm, a quick look at the third patch reveals

Re: [HACKERS] [PATCHES] Avahi support for Postgresql

2008-04-01 Thread Mathias Hasselmann
Am Samstag, den 29.03.2008, 12:25 + schrieb [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Feb 23, 2008 at 01:13:38PM +0100, Mathias Hasselmann wrote: [...] Avahi/Bonjour/DNS-SD support[1] is very important, for integrating Postgresql with modern

Re: [HACKERS] [PATCHES] Avahi support for Postgresql

2008-04-01 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Apr 01, 2008 at 09:35:56AM +0200, Mathias Hasselmann wrote: Am Samstag, den 29.03.2008, 12:25 + schrieb [EMAIL PROTECTED]: [...] Sorry for a dumb question, but I couldn't figure that out from your references [1]..[4]: does that mean

Re: [HACKERS] [PATCHES] Avahi support for Postgresql

2008-04-01 Thread Mathias Hasselmann
Am Dienstag, den 01.04.2008, 12:02 + schrieb [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Apr 01, 2008 at 09:35:56AM +0200, Mathias Hasselmann wrote: Am Samstag, den 29.03.2008, 12:25 + schrieb [EMAIL PROTECTED]: [...] Sorry for a dumb question, but

Re: [HACKERS] [PATCHES] Avahi support for Postgresql

2008-04-01 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Apr 01, 2008 at 05:07:31PM +0200, Mathias Hasselmann wrote: [...] Personally, I'be rather scared than delighted ;-) So in data centers you don't even trust the machines in your broadcast domain? Kind of. Put it another way: never have

Re: [HACKERS] [PATCHES] Avahi support for Postgresql

2008-04-01 Thread Murray Cumming
On Tue, 2008-04-01 at 15:34 +, [EMAIL PROTECTED] wrote: I would really prefer a more loosely coupled system. The functionality will be much the same. The implementation would be more difficult and obscure and there would be more points of failure and more things to configure, but it wouldn't

Re: [HACKERS] [PATCHES] Avahi support for Postgresql

2008-03-29 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Feb 23, 2008 at 01:13:38PM +0100, Mathias Hasselmann wrote: [...] Avahi/Bonjour/DNS-SD support[1] is very important, for integrating Postgresql with modern desktop environments like OSX, GNOME, KDE: It's very convenient to choose active

Re: [HACKERS] [PATCHES] Avahi support for Postgresql

2008-02-25 Thread Peter Eisentraut
Am Dienstag, 27. November 2007 schrieb Mathias Hasselmann: Postmaster already has code to announce its services via DNS-SD (ZeroConf) by using Apple's Bonjour API. This series of patches implements that capability on top of the Avahi library[1] which is free software, available for a wider

Re: [HACKERS] [PATCHES] Avahi support for Postgresql

2008-02-25 Thread Peter Eisentraut
Am Dienstag, 27. November 2007 schrieb Mathias Hasselmann: Postmaster already has code to announce its services via DNS-SD (ZeroConf) by using Apple's Bonjour API. This series of patches implements that capability on top of the Avahi library[1] which is free software, available for a wider

Re: [HACKERS] [PATCHES] Avahi support for Postgresql

2008-02-25 Thread Alvaro Herrera
Mathias Hasselmann wrote: The patches were in my initial mail, but now I've also uploaded them to my personal site for convenience: http://taschenorakel.de/files/pgsql-avahi-support/ Hmm, a quick look at the third patch reveals that it is using the threaded Avahi client. That's a

Re: [HACKERS] [PATCHES] Avahi support for Postgresql

2008-02-25 Thread Peter Eisentraut
Am Montag, 25. Februar 2008 schrieb Alvaro Herrera: Hmm, a quick look at the third patch reveals that it is using the threaded Avahi client.  That's a showstopper. Could you elaborate why that is? -- Peter Eisentraut http://developer.postgresql.org/~petere/ ---(end of

Re: [HACKERS] [PATCHES] Avahi support for Postgresql

2008-02-25 Thread Alvaro Herrera
Peter Eisentraut wrote: Am Montag, 25. Februar 2008 schrieb Alvaro Herrera: Hmm, a quick look at the third patch reveals that it is using the threaded Avahi client.  That's a showstopper. Could you elaborate why that is? Because it creates a new thread under the Postmaster to handle Avahi

Re: [HACKERS] [PATCHES] Avahi support for Postgresql

2008-02-25 Thread Mathias Hasselmann
Am Montag, den 25.02.2008, 15:05 +0100 schrieb Peter Eisentraut: Am Dienstag, 27. November 2007 schrieb Mathias Hasselmann: Postmaster already has code to announce its services via DNS-SD (ZeroConf) by using Apple's Bonjour API. This series of patches implements that capability on top of

Re: [HACKERS] [PATCHES] Avahi support for Postgresql

2008-02-25 Thread Tom Lane
Mathias Hasselmann [EMAIL PROTECTED] writes: Am Montag, den 25.02.2008, 15:05 +0100 schrieb Peter Eisentraut: Is there a reason we couldn't use the Bonjour compatibility layer offered by Avahi to keep the code differences to a minimum? 1) The Avahi's compatibility layer doesn't implement the

Re: [HACKERS] [PATCHES] Avahi support for Postgresql

2008-02-25 Thread Mathias Hasselmann
Am Montag, den 25.02.2008, 14:32 -0300 schrieb Alvaro Herrera: Peter Eisentraut wrote: Am Montag, 25. Februar 2008 schrieb Alvaro Herrera: Hmm, a quick look at the third patch reveals that it is using the threaded Avahi client. That's a showstopper. Could you elaborate why that is?

Re: [HACKERS] [PATCHES] Avahi support for Postgresql

2008-02-25 Thread Tom Lane
Mathias Hasselmann [EMAIL PROTECTED] writes: Just to be sure we talk about the same topic: I assume the prohibition you talk about is something like no use of threads in Postmaster? Correct. If that's the case: Are there some docs, mails, ... explaining the rationale behind this restriction?

Re: [HACKERS] [PATCHES] Avahi support for Postgresql

2008-02-23 Thread Mathias Hasselmann
Hello, Congratulations to the 8.3 release. No, that pre-release stress is over I'd really like to put attention on my Avahi patches again. Avahi/Bonjour/DNS-SD support[1] is very important, for integrating Postgresql with modern desktop environments like OSX, GNOME, KDE: It's very convenient to

Re: [HACKERS] [PATCHES] Avahi support for Postgresql

2008-02-23 Thread Peter Eisentraut
Mathias Hasselmann wrote: Congratulations to the 8.3 release. No, that pre-release stress is over I'd really like to put attention on my Avahi patches again. I've added your item to the patch list (http://developer.postgresql.org/index.php/Todo:PatchStatus). It would help if you could

Re: [HACKERS] [PATCHES] Avahi support for Postgresql

2008-02-23 Thread Mathias Hasselmann
Am Samstag, den 23.02.2008, 21:08 +0100 schrieb Peter Eisentraut: Mathias Hasselmann wrote: Congratulations to the 8.3 release. Now, that pre-release stress is over I'd really like to put attention on my Avahi patches again. I've added your item to the patch list