Quantcast
Channel: Apply postgreSQL trigger to existing rows in database - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by jjanes for Apply postgreSQL trigger to existing rows in database

$
0
0

Since the table is small, just do a dummy update of the entire table:

update pg_rocks_post set title=title;

And let the trigger do its thing.


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>