Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8105151
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T00:05:26+00:00 2026-06-06T00:05:26+00:00

I have a PostgreSQL, php5, running on Apache2.0 (on a Windows machine.) I want

  • 0

I have a PostgreSQL, php5, running on Apache2.0 (on a Windows machine.)

I want to be able to push updates to the client’s browser when certain table rows are updated.
I came across this https://github.com/brianc/node-postgres

  1. What & how do I set up on server side?
  2. How do I install/setup node-postgres?
  3. Does node-postgres assume I am already using node.js or is it a complete package?
  4. How do I send client browsers messages when specified tables are updated?

I just need some direction to get started! Thanks 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T00:05:27+00:00Added an answer on June 6, 2026 at 12:05 am
    1. You need to install Node.js with Npm on your server. You can find more information on the official Node.js.
    2. npm install pg
    3. No, see step 1
    4. Node.js should listen to your database for changes. I am not a postgres expert so I don’t know if this is possible. If it is possible you should have your client-side Javascript connect to your Node.js server. You have some options here like polling with ajax. If you want something more advanced you could use socket.io.

    You could also use message queues to talk between Node.js and Php. This means that you need to create a message in php though which is more complex than just having Node.js polling your database (if possible). Not sure if there are message queues that talk HTTP but if there are you don’t even need to use Node.js at all. You can have your client-side talk to your message queue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a postgresql (v8.4) table with login id and timestamps, and I want
I'd need advice on following situation with Oracle/PostgreSQL: I have a db table with
I have a client that has a PostgreSQL database and he cannot remember the
I have a postgresql table containing movements of different items (models) between warehouses. For
I have installed PostgreSQL and pgAdminIII on my Ubuntu Karmic box. I am able
say I have a postgresql table with the following values: id | value ----------
I have installed OpenSUSE 12.1 installed on machine. and i have postgresql-contrib-8.3.11-0.1.i586.rpm,postgresql-devel-8.3.11-0.1.i586.rpm, postgresql-docs-8.3.11-0.1.i586.rpm,postgresql-libs-8.3.11-0.1.i586.rpm,postgresql-server-8.3.11-0.1.i586.rpm.. I
I have a PostgreSQL table that is mostly a bridge table but it also
I have a PostgreSQL table containing some binary data. I need to get the
I have a PostgreSQL database at work that is a single table of data.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.