backend triggers communication with front-end

Started by Adam O'Tooleover 20 years ago5 messagesgeneral
Jump to latest
#1Adam O'Toole
adamnb1@hotmail.com

<html><div style='background-color:'><DIV>
<DIV class=RTE>
<DIV class=RTE>
<DIV class=RTE>
<DIV class=RTE>Hello everyone,</DIV>
<DIV class=RTE>I am searching for a way to have my postgresql 7.4.7 backend be triggered to let the front end know there has been a change to the database. If more then one person is&nbsp;connected to the database and person (x) makes a change, I want other clients to then be aware of that, and refresh there screen so they are&nbsp;not then looking at out of date data. </DIV>
<DIV class=RTE>Any insight?&nbsp; Thank you so much, have a great day.</DIV>
<DIV class=RTE>Adam O'Toole&nbsp;</DIV></DIV></DIV></DIV></DIV></div></html>

#2Terry Lee Tucker
terry@esc1.com
In reply to: Adam O'Toole (#1)
Re: backend triggers communication with front-end

See "27.6. Asynchronous Notification" in documentation of ideas on how to
accomplish this.

On Tuesday 26 July 2005 05:22 pm, Adam O'Toole saith:

Show quoted text

Hello everyone,
I am searching for a way to have my postgresql 7.4.7 backend be triggered
to let the front end know there has been a change to the database. If more
then one person is connected to the database and person (x) makes a change,
I want other clients to then be aware of that, and refresh there screen so
they are not then looking at out of date data. Any insight? Thank you so
much, have a great day.
Adam O'Toole

#3Adam O'Toole
adamnb1@hotmail.com
In reply to: Terry Lee Tucker (#2)
connection string - DNS

Hi there.
I am connecting to my Postgresql 7.4.7 sever with psql-odbc from my VB.NET
frontend. Right now I am using the Postgres server IP address in the odbc
connection string. My question, I want to use a DNS server, how will my
connection string change. Will I just specify the DNS address for the
�SERVER=� parameter in the connection string, or will I specify a new
parameter �DNS=�. Here is my connection string right now:

OdbcConnection.ConnectionString =
"Protocol=6.4;Debug=0;Parse=0;SERVER=10.4.1.179;DRIVER=PostgreSQL;
ConnSettings=;MaxLongVarcharSize=8190;MaxVarcharSize=254;Socket=4096;TrueIsMinus1=0;DATABASE=mediaRegistry;Optimizer=1;UID=****;PWD=****;

Thank you!

#4Adam O'Toole
adamnb1@hotmail.com
In reply to: Terry Lee Tucker (#2)
connection string - DNS

Hi there.
I am connecting to my Postgresql 7.4.7 sever with psql-odbc from my VB.NET
frontend. Right now I am using the Postgres server IP address in the odbc
connection string. My question, I want to use a DNS server, how will my
connection string change. Will I just specify the DNS address for the
�SERVER=� parameter in the connection string, or will I specify a new
parameter �DNS=�. Here is my connection string right now:

OdbcConnection.ConnectionString =
"Protocol=6.4;Debug=0;Parse=0;SERVER=10.4.1.179;DRIVER=PostgreSQL;
ConnSettings=;MaxLongVarcharSize=8190;MaxVarcharSize=254;Socket=4096;TrueIsMinus1=0;DATABASE=mediaRegistry;Optimizer=1;UID=****;PWD=****;

Thank you!

#5Adam O'Toole
adamnb1@hotmail.com
In reply to: Adam O'Toole (#4)
Re: connection string - DNS

Any insight on this at all? I can't seem to find any info on it else-where..
Thanks