Unix Technical Forum

ssl enabling of postgres on Mac OS X

This is a discussion on ssl enabling of postgres on Mac OS X within the Pgsql General forums, part of the PostgreSQL category; --> Hi folks. I successfully compiled/built pg 8.1.9 using --with-openssl on a Mac. I modified the startup config files to ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-09-2008, 07:17 PM
Michael Hogarth
 
Posts: n/a
Default ssl enabling of postgres on Mac OS X

Hi folks.

I successfully compiled/built pg 8.1.9 using --with-openssl on a Mac.
I modified the startup config files to enable ssl.
Server starts without problems, but when I try to require SSL from
pgAdminIII, I get "server does not support SSL".

Has anyone been able to get an SSL-enabled PG built and running on
Mac OS X (10.2.4)?

Help -- I am pulling the last hairs I have left.



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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-09-2008, 07:17 PM
Tom Lane
 
Posts: n/a
Default Re: ssl enabling of postgres on Mac OS X

Michael Hogarth <mahogarth@ucdavis.edu> writes:
> Has anyone been able to get an SSL-enabled PG built and running on
> Mac OS X (10.2.4)?


Dunno about 10.2.x, but it seems to work fine for me on 10.4.10.

Can you connect with psql, and does it show a startup comment like
this:

SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256)

regards, tom lane

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-09-2008, 07:17 PM
Perry Smith
 
Posts: n/a
Default Re: ssl enabling of postgres on Mac OS X

On Jul 6, 2007, at 9:57 PM, Michael Hogarth wrote:

> Hi folks.
>
> I successfully compiled/built pg 8.1.9 using --with-openssl on a Mac.
> I modified the startup config files to enable ssl.
> Server starts without problems, but when I try to require SSL from
> pgAdminIII, I get "server does not support SSL".
>
> Has anyone been able to get an SSL-enabled PG built and running on
> Mac OS X (10.2.4)?
>
> Help -- I am pulling the last hairs I have left.


This may not apply at all. When I tried to get subversion to work
with openssl, the key was to compile neon with openssl. Does any of
this use Neon?

If not, then please hit 'd' for delete....



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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-09-2008, 07:17 PM
Zlatko Matic
 
Posts: n/a
Default How to retrieve number of rows affected, in an after statement trigger?

Hello.
Is it possible to retrieve information about how many rows were
changed/inserted in a table that fired after statement trigger?
Thanks,

Zlatko


---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-09-2008, 07:17 PM
Greg Sabino Mullane
 
Posts: n/a
Default Re: How to retrieve number of rows affected, in an after statement trigger?


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160


> Is it possible to retrieve information about how many rows were
> changed/inserted in a table that fired after statement trigger?


Not directly, but you can store the information from row-level
triggers and gather it at the end. See this plperl example:

http://people.planetpostgresql.org/g...007/05/30.html

- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200707070745
http://biglumber.com/x/web?pk=2529DF...9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iD8DBQFGj30hvJuQZxSWSsgRA9iXAJ0aiS5oVbYxcY69yY0zvi g4G4eBTwCdE5ON
EYV77TeTYNSRt46fsZDfkTI=
=C7mD
-----END PGP SIGNATURE-----



---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 04-09-2008, 07:17 PM
=?iso-8859-2?Q?Zlatko_Mati=E6?=
 
Posts: n/a
Default Re: How to retrieve number of rows affected, in an after statement trigger?

Thank you for the answer.
At least I'm glad it is possible!
But , as I don't know Perl, could you, please, tell me how to accomplish it
in plpgsql.
Thanks,

Zlatko

----- Original Message -----
From: "Greg Sabino Mullane" <greg@turnstep.com>
To: <pgsql-general@postgresql.org>
Sent: Saturday, July 07, 2007 1:47 PM
Subject: Re: [GENERAL] How to retrieve number of rows affected, in an after
statement trigger?


>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
>
>
>> Is it possible to retrieve information about how many rows were
>> changed/inserted in a table that fired after statement trigger?

>
> Not directly, but you can store the information from row-level
> triggers and gather it at the end. See this plperl example:
>
> http://people.planetpostgresql.org/g...007/05/30.html
>
> - --
> Greg Sabino Mullane greg@turnstep.com
> PGP Key: 0x14964AC8 200707070745
> http://biglumber.com/x/web?pk=2529DF...9B906714964AC8
> -----BEGIN PGP SIGNATURE-----
>
> iD8DBQFGj30hvJuQZxSWSsgRA9iXAJ0aiS5oVbYxcY69yY0zvi g4G4eBTwCdE5ON
> EYV77TeTYNSRt46fsZDfkTI=
> =C7mD
> -----END PGP SIGNATURE-----
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings



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

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:33 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com