pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
ODBC and pgpool
7+ messages / 4 participants
[nested] [flat]

* ODBC and pgpool
@ 2006-01-31 15:49  Mark Morgan Lloyd <markMLl.pgsql-odbc@telemetry.co.uk>
  0 siblings, 2 replies; 7+ messages in thread

From: Mark Morgan Lloyd @ 2006-01-31 15:49 UTC (permalink / raw)
  To: pgsql-odbc

If a Win-32 system connects via ODBC to pgpool, does the system running pgpool
have to be permanently running or can it be rebooted without deranging open but
quiescent connections?

If it /can/ be rebooted can it also be transferred from one machine to another,
e.g. by changing the location of the IP alias?

If it /can't/ be rebooted without breaking ODBC how does one prevent this from
being a single point of failure? 

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: ODBC and pgpool
@ 2006-01-31 21:00  Ludek Finstrle <luf@pzkagis.cz>
  parent: Mark Morgan Lloyd <markMLl.pgsql-odbc@telemetry.co.uk>
  1 sibling, 0 replies; 7+ messages in thread

From: Ludek Finstrle @ 2006-01-31 21:00 UTC (permalink / raw)
  To: Mark Morgan Lloyd <markMLl.pgsql-odbc@telemetry.co.uk>; +Cc: pgsql-odbc

> If a Win-32 system connects via ODBC to pgpool, does the system
> running pgpool have to be permanently running or can it be rebooted
> without deranging open but quiescent connections?

I don't know how is pgpool working. It's not ODBC related question.
You need to know how pgpool is working. The questionis if all
communication goes through pgpool machine or not.
psqlODBC realizes no multipath so when you need no single point of
failure you have to realize it by another way.

Regards,

Luf



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: ODBC and pgpool
@ 2006-02-01 07:30  Peter Eisentraut <peter_e@gmx.net>
  parent: Mark Morgan Lloyd <markMLl.pgsql-odbc@telemetry.co.uk>
  1 sibling, 2 replies; 7+ messages in thread

From: Peter Eisentraut @ 2006-02-01 07:30 UTC (permalink / raw)
  To: Mark Morgan Lloyd <markMLl.pgsql-odbc@telemetry.co.uk>; +Cc: pgsql-odbc

Mark Morgan Lloyd wrote:
> If a Win-32 system connects via ODBC to pgpool, does the system
> running pgpool have to be permanently running or can it be rebooted
> without deranging open but quiescent connections?

No, your application will have to be able to reconnect if the connection 
is lost by reason of the "server" disappearing or having been moved.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: ODBC and pgpool
@ 2006-02-01 11:21  Mark Morgan Lloyd <markMLl.pgsql-odbc@telemetry.co.uk>
  parent: Peter Eisentraut <peter_e@gmx.net>
  1 sibling, 1 reply; 7+ messages in thread

From: Mark Morgan Lloyd @ 2006-02-01 11:21 UTC (permalink / raw)
  To: pgsql-odbc

Many thanks. Not the most desirable situation but at least it's a clear answer.

My current situation is that I'm using Delphi on the clients, this has
data-aware components that adopt undefined (or at the very least inconvenient
:-) states when no longer connected to the underlying database. However I have
aother reasons to want to discard these, so this becomes just one more factor to
consider in the redesign.

Peter Eisentraut wrote:
> 
> Mark Morgan Lloyd wrote:
> > If a Win-32 system connects via ODBC to pgpool, does the system
> > running pgpool have to be permanently running or can it be rebooted
> > without deranging open but quiescent connections?
> 
> No, your application will have to be able to reconnect if the connection
> is lost by reason of the "server" disappearing or having been moved.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: ODBC and pgpool
@ 2006-02-01 11:28  Ben Trewern <ben.trewern@_nospam_mowlem.com>
  parent: Mark Morgan Lloyd <markMLl.pgsql-odbc@telemetry.co.uk>
  0 siblings, 1 reply; 7+ messages in thread

From: Ben Trewern @ 2006-02-01 11:28 UTC (permalink / raw)
  To: pgsql-odbc

I'd try zeoslib instead see http://forum.zeoslib.net.ms/. It's not perfect 
but works well for what I'm using it for.

Regard

Ben

"Mark Morgan Lloyd" <markMLl.pgsql-odbc@telemetry.co.uk> wrote in message 
news:43E0999E.7281D1F@telemetry.co.uk...
> Many thanks. Not the most desirable situation but at least it's a clear 
> answer.
>
> My current situation is that I'm using Delphi on the clients, this has
> data-aware components that adopt undefined (or at the very least 
> inconvenient
> :-) states when no longer connected to the underlying database. However I 
> have
> aother reasons to want to discard these, so this becomes just one more 
> factor to
> consider in the redesign.
>
> Peter Eisentraut wrote:
>>
>> Mark Morgan Lloyd wrote:
>> > If a Win-32 system connects via ODBC to pgpool, does the system
>> > running pgpool have to be permanently running or can it be rebooted
>> > without deranging open but quiescent connections?
>>
>> No, your application will have to be able to reconnect if the connection
>> is lost by reason of the "server" disappearing or having been moved.
>
> -- 
> Mark Morgan Lloyd
> markMLl .AT. telemetry.co .DOT. uk
>
> [Opinions above are the author's, not those of his employers or 
> colleagues]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
> 





^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: ODBC and pgpool
@ 2006-02-05 10:04  Mark Morgan Lloyd <markMLl.pgsql-odbc@telemetry.co.uk>
  parent: Ben Trewern <ben.trewern@_nospam_mowlem.com>
  0 siblings, 0 replies; 7+ messages in thread

From: Mark Morgan Lloyd @ 2006-02-05 10:04 UTC (permalink / raw)
  To: pgsql-odbc

Sure, when I've had time to rewrite the apps.

I'm not trying to be flip, I mean it since I'm interested in porting to Lazarus
and preferably getting off x86. Right now the apps use ODBC but I'm planning a
server upgrade since I need some of the newer facilities and want to eliminate
as many points of failure as possible.

What would be nice would be if ODBC could itself failover between servers, but
from the point of view of this ML that comment's just from another kvetching
luser- I've got neither the time nor the C expertise to get directly involved.


Ben Trewern wrote:
> 
> I'd try zeoslib instead see http://forum.zeoslib.net.ms/. It's not perfect
> but works well for what I'm using it for.
> 
> Regard
> 
> Ben
> 
> "Mark Morgan Lloyd" <markMLl.pgsql-odbc@telemetry.co.uk> wrote in message
> news:43E0999E.7281D1F@telemetry.co.uk...
> > Many thanks. Not the most desirable situation but at least it's a clear
> > answer.
> >
> > My current situation is that I'm using Delphi on the clients, this has
> > data-aware components that adopt undefined (or at the very least
> > inconvenient
> > :-) states when no longer connected to the underlying database. However I
> > have
> > aother reasons to want to discard these, so this becomes just one more
> > factor to
> > consider in the redesign.
> >
> > Peter Eisentraut wrote:
> >>
> >> Mark Morgan Lloyd wrote:
> >> > If a Win-32 system connects via ODBC to pgpool, does the system
> >> > running pgpool have to be permanently running or can it be rebooted
> >> > without deranging open but quiescent connections?
> >>
> >> No, your application will have to be able to reconnect if the connection
> >> is lost by reason of the "server" disappearing or having been moved.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: ODBC and pgpool
@ 2006-02-23 13:07  Mark Morgan Lloyd <markMLl.pgsql-odbc@telemetry.co.uk>
  parent: Peter Eisentraut <peter_e@gmx.net>
  1 sibling, 0 replies; 7+ messages in thread

From: Mark Morgan Lloyd @ 2006-02-23 13:07 UTC (permalink / raw)
  To: pgsql-odbc

Apologies for being a pain but I wonder if I could aske for a further
clarifiaction on this.

Peter Eisentraut wrote:
> 
> Mark Morgan Lloyd wrote:
> > If a Win-32 system connects via ODBC to pgpool, does the system
> > running pgpool have to be permanently running or can it be rebooted
> > without deranging open but quiescent connections?
> 
> No, your application will have to be able to reconnect if the connection
> is lost by reason of the "server" disappearing or having been moved.

Does pgpool hide transitions from the live to a backup server, or is this likely
to interrupt ODBC sessions as well?

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2006-02-23 13:07 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-01-31 15:49 ODBC and pgpool Mark Morgan Lloyd <markMLl.pgsql-odbc@telemetry.co.uk>
2006-01-31 21:00 ` Ludek Finstrle <luf@pzkagis.cz>
2006-02-01 07:30 ` Peter Eisentraut <peter_e@gmx.net>
2006-02-01 11:21   ` Mark Morgan Lloyd <markMLl.pgsql-odbc@telemetry.co.uk>
2006-02-01 11:28     ` Ben Trewern <ben.trewern@_nospam_mowlem.com>
2006-02-05 10:04       ` Mark Morgan Lloyd <markMLl.pgsql-odbc@telemetry.co.uk>
2006-02-23 13:07   ` Mark Morgan Lloyd <markMLl.pgsql-odbc@telemetry.co.uk>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox