Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Which Tables Reference This Table? Finding Incoming Foreign Keys in PostgreSQL, MySQL, SQL Server and SQLite

Disclosure: I build Schemity , a desktop ERD tool - this post is from our blog and uses it for the examples. TL;DR: Ask the catalogue for foreign keys whose referenced table is yours: pg_constraint.confrelid in PostgreSQL, REFERENCED_TABLE_NAME in MySQL, sys.foreign_keys.referenced_object_id in SQL Server, and pragma_foreign_key_list across every table in SQLite. Then check two things the list…

To discover which tables reference a specific table, you need to query the database's catalog for foreign keys whose target table matches the table you're interested in. Each database management system (DBMS) stores this information differently, but they all provide a way to perform this lookup. In SQLite, since it stores foreign keys only in the CREATE TABLE statement of the table declaring them, you must scan every table's list to find incoming foreign keys.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Opinion

Chips too big to fail

PRINCETON — Ten days after Jensen Huang resigned as CEO of Nvidia amid national security concerns stemming from his extramarital affair with a suspected Chinese spy, U.S. President Donald Trump posted…

Build a Temperature and Humidity Monitor with DHT22 and an OLED Display

A practical Arduino Uno project • DHT22 sensor • 0.96-inch SSD1306 OLED • Updates every two seconds A practical weekend project.

  • Arduino project combines DHT22 sensor with OLED display
  • System displays temperature and humidity every 2 seconds
  • Uses Arduino Uno, DHT22, SSD1306 OLED, and three libraries

How to add web push notifications to a Blogger blog (free setup)

Blogger is the one platform where the standard web push setup quietly breaks, and the error message does not explain why.

  • Blogger platform limits service worker hosting in root directory
  • Use hosted opt-in method with popup window for Blogger blogs
  • Create Pushly account, add blog, paste code into Blogger gadget

Why your EKS node shows 110 Pods when the formula says 234

You add an m5.4xlarge to a managed node group, run kubectl describe node , and see pods: 110 . The AWS documentation for the VPC CNI says the same instance supports 234.

  • m5.4xlarge instance shows 110 pods, AWS documentation states 234 pods
  • Each pod requires unique IP from node's network interface (ENI)
  • Managed node groups cap pod count at 110 for instances with <30 vCPUs

More from Monday, 30 November 2026 →