473,387 Members | 1,575 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

apple uses Postgres for RemoteDesktop 2

Hi,

maybe anyone already knows that Apple is distributing Postgres 7.3.3
with RemoteDesktop 2. Its located in
/System/Library/CoreServices/RemoteManagement/rmdb.bundle/

BUT... they did not do a good job: -their- installation is using the
default port which means: either -their- version works or the one that
the server owner maybe installed on the same server. In our case
neither our Postgres nor the one from RemoteDesktop 2 did start up
because of file conflicts.

If anyone from the Postgres (or from whereever) team is in contact with
apple about RemoteDesktop and Postgres it would be great it they could
ask apple to change their port, its unbelievable that they did not care
about this problem.

regards David
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org

Nov 23 '05 #1
7 2157
David Teran <da*********@cluster9.com> writes:
maybe anyone already knows that Apple is distributing Postgres 7.3.3
with RemoteDesktop 2. Its located in
/System/Library/CoreServices/RemoteManagement/rmdb.bundle/ BUT... they did not do a good job: -their- installation is using the
default port which means: either -their- version works or the one that
the server owner maybe installed on the same server. In our case
neither our Postgres nor the one from RemoteDesktop 2 did start up
because of file conflicts. If anyone from the Postgres (or from whereever) team is in contact with
apple about RemoteDesktop and Postgres it would be great it they could
ask apple to change their port, its unbelievable that they did not care
about this problem.


Yikes. They need to get off of that badly broken PG version, too :-(
7.3.3 was about the worst choice they could have made in the past
several years ...

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 23 '05 #2
>>>>> "Tom" == Tom Lane <tg*@sss.pgh.pa.us> writes:

Tom> Yikes. They need to get off of that badly broken PG version, too :-(
Tom> 7.3.3 was about the worst choice they could have made in the past
Tom> several years ...

At least they make a habit of that. If I recall correctly, OSX 10.1
and 10.2 froze in a bad beta of Perl 5.6.0 prerelease. Now it's been
updated to at least a normal release (5.8.1, still a year behind, but
that's life).

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<me****@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 23 '05 #3
On Tue, 2004-08-17 at 05:22, David Teran wrote:
Hi,

maybe anyone already knows that Apple is distributing Postgres 7.3.3
with RemoteDesktop 2. Its located in
/System/Library/CoreServices/RemoteManagement/rmdb.bundle/

BUT... they did not do a good job: -their- installation is using the
default port which means: either -their- version works or the one that
the server owner maybe installed on the same server. In our case
neither our Postgres nor the one from RemoteDesktop 2 did start up
because of file conflicts.

If anyone from the Postgres (or from whereever) team is in contact with
apple about RemoteDesktop and Postgres it would be great it they could
ask apple to change their port, its unbelievable that they did not care
about this problem.


Why can't the user and the OS use the same server? I mean what's the
reason not to, not the problems one might encounter that could be
overcome? It would seem that by having one single server on a machine
memory would be more effectively utilized and performance for both
should be ok.
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 23 '05 #4
I usually get in trouble when I open my mouth, but ...

On Tue, 17 Aug 2004 22:02:15 -0600
"Scott Marlowe" <sm******@qwest.net> wrote
On Tue, 2004-08-17 at 05:22, David Teran wrote:
Hi,

maybe anyone already knows that Apple is distributing Postgres 7.3.3
with RemoteDesktop 2. Its located in
/System/Library/CoreServices/RemoteManagement/rmdb.bundle/

BUT... they did not do a good job: -their- installation is using the
default port which means: either -their- version works or the one that
the server owner maybe installed on the same server. In our case
neither our Postgres nor the one from RemoteDesktop 2 did start up
because of file conflicts.

If anyone from the Postgres (or from whereever) team is in contact with
apple about RemoteDesktop and Postgres it would be great it they could
ask apple to change their port, its unbelievable that they did not care
about this problem.


Why can't the user and the OS use the same server? I mean what's the
reason not to, not the problems one might encounter that could be
overcome? It would seem that by having one single server on a machine
memory would be more effectively utilized and performance for both
should be ok.


Apple does some "weird" stuff with things. Much of the configuration
information will be found in proprietary xml files instead of the usual
..conf style files we've all come to know and love, and they have their
own view of where the various directories should go.

It all makes sense, but it takes some figuring out to get an update in
properly.

One more bit of information, Remote Desktop is an app.

I suppose that the best advice to give the OP on this is to point out
how he can set up his own install of postgresql to use another port. (I
should look that up, but it's not handy right now.)

--
Joel <re**@ddcom.co.jp>
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 23 '05 #5
Joel <re**@ddcom.co.jp> writes:
"Scott Marlowe" <sm******@qwest.net> wrote
Why can't the user and the OS use the same server?
Apple does some "weird" stuff with things.
We learned this lesson from Cobalt, actually. Even if the OS installs
an absolutely vanilla version of Postgres, it's a bad idea. The first
problem is that the user may want to use a different PG version than the
OS does. ("Maybe not today, and maybe not tomorrow, but soon ... and
for the rest of your life ...") The second problem is that the user is
going to want superuser privs over his database, including the ability
to rm -rf it, initdb it, and possibly crash it if he's doing
development; this is not something you want happening to part of the
core GUI. (Cobalt had this problem in spades because their PG database
*was* part of the core GUI. Screw around with it, and you'd be lucky if
you could log in again. I trust that Remote Desktop isn't that core to
OS X, but I'd still not care to admin that database while logged in
through Remote Desktop.) Even if you think that Joe Average User won't
want to do this stuff, a Postgres developer who owns an Apple machine
(moi for instance) certainly will. Is it in Apple's interest to make
life hard for the developers of a technology they are depending on?
I suppose that the best advice to give the OP on this is to point out
how he can set up his own install of postgresql to use another port.


This is backwards. The OS should stay out of the user's way, not vice
versa. If the OS wants its own private PG server, I am surely all for
that ... but it should not commandeer the port the user would expect to
use for *his* PG server.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

Nov 23 '05 #6
On Wed, 18 Aug 2004 03:22:17 -0400
Tom Lane <tg*@sss.pgh.pa.us> wrote
Joel <re**@ddcom.co.jp> writes:
"Scott Marlowe" <sm******@qwest.net> wrote
Why can't the user and the OS use the same server?
Apple does some "weird" stuff with things.


We learned this lesson from Cobalt, actually. Even if the OS installs
an absolutely vanilla version of Postgres, it's a bad idea.


Maybe vanilla is the problem?
The first
problem is that the user may want to use a different PG version than the
OS does. ("Maybe not today, and maybe not tomorrow, but soon ... and
for the rest of your life ...") The second problem is that the user is
going to want superuser privs over his database, including the ability
to rm -rf it, initdb it, and possibly crash it if he's doing
development; this is not something you want happening to part of the
core GUI. (Cobalt had this problem in spades because their PG database
*was* part of the core GUI. Screw around with it, and you'd be lucky if
you could log in again. I trust that Remote Desktop isn't that core to
OS X, but I'd still not care to admin that database while logged in
through Remote Desktop.)
I think it's a separate app that costs money. I suppose I should check
their web site to see if they bundle it with Mac OS X Server.
Even if you think that Joe Average User won't
want to do this stuff, a Postgres developer who owns an Apple machine
(moi for instance) certainly will. Is it in Apple's interest to make
life hard for the developers of a technology they are depending on?
I suppose that the best advice to give the OP on this is to point out
how he can set up his own install of postgresql to use another port.

I guess I should say, "... the best advice for now ...".

(I submitted the second post in this thread to Apple's bug reporting
system, by the way. I don't know if they'll be happy with that.)
This is backwards. The OS should stay out of the user's way, not vice
versa.
Agreed.
If the OS wants its own private PG server, I am surely all for
that ... but it should not commandeer the port the user would expect to
use for *his* PG server.


I'm thinking there would be security issues, as well.

If PostGreSQL could be set up to run two servers at once on separate
ports from one binary image, it might be reasonable to use the same
binary, but then there's also the issue of patches, updates, and
upgrades.

If Apple hired me to fix that for them, I'd probably put a system-use
only copy in there that would not be visible in the normal user's path,
and tweak it to use some other port. But I can see why they would be a
bit wary of multiplying installs of what seems to be essentially the
same program.

--
Joel <re**@ddcom.co.jp>
---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Nov 23 '05 #7
Joel <re**@ddcom.co.jp> writes:
... If Apple hired me to fix that for them, I'd probably put a system-use
only copy in there that would not be visible in the normal user's path,
Right, that's what they did (according to my understanding of the first
post in this thread).
and tweak it to use some other port.


.... but they forgot that part.

Another issue that I've pointed out to them off-list is that the default
SysV shared-memory limits need to be raised considerably. With OS X's
default SHMMAX it's practically impossible to start two concurrent
postmasters at all, and it's definitely impossible to do so with
reasonable shared_buffers values.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 23 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Abdul-Wahid Paterson | last post by:
Hi, I have had a site working for the last 2 years and have had no problems until at the weekend I replace my database server with a newer one. The database migration went like a dream and I had...
6
by: Jeff Kowalczyk | last post by:
I need to adapt this an update statement to a general form that will iterate over multiple orderids for a given customerinvoiceid. My first concern is a form that will work for a given orderid,...
2
by: Mike Mascari | last post by:
Apparently the Postgres lineage is sufficiently obfuscated to cause people to think that the correct pronunciation/shorthand of PostgreSQL is 'Postgre' and not 'Postgres'. Note the last line in the...
3
by: warwick.poole | last post by:
I am interested in finding out about Enterprise scale Postgres installations and clustering, especially on Linux. Essentially I would like to know the possibility that Postgres can store the...
18
by: Joe Lester | last post by:
This thread was renamed. It used to be: "shared_buffers Question". The old thread kind of died out. I'm hoping to get some more direction by rephrasing the problem, along with some extra...
7
by: T.A. | last post by:
Class hierarchy below demonstrates my problem: #include <vector> #include <boost/smart_ptr.hpp> class Fruit { public: virtual ~Fruit() = 0; };
1
by: Jack Orenstein | last post by:
I'm trying to configure PHP 5.2.0 with support for Postgres 8.1.3. Postgres was installed with FC5 without source. PHP's configure needs source. When I run configure: configure: error: Cannot...
0
by: NM | last post by:
Hello, I've got a problem inserting binary objects into the postgres database. I have binary objects (e.g. images or smth else) of any size which I want to insert into the database. Funny is it...
29
Niheel
by: Niheel | last post by:
The Apple invasion into corporate has started and I can't say if I am excited or scared. As an IT manager, I have nightmares over all the support and technical issues of integrating Apple hardware...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.