I wish to create a trigger in PostgreSQL for counting points in a polygon.

The tweak is that the count should automatically get updated whenever the polygon is edited.

Can anyone please help me on the same?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.