26
6
submitted 6 months ago by [email protected] to c/[email protected]
27
6
submitted 6 months ago by [email protected] to c/[email protected]
28
6
submitted 6 months ago by [email protected] to c/[email protected]
29
8
submitted 6 months ago by [email protected] to c/[email protected]
30
4
submitted 6 months ago by [email protected] to c/[email protected]
31
10
submitted 6 months ago by [email protected] to c/[email protected]
32
5
submitted 6 months ago by [email protected] to c/[email protected]
33
8
submitted 7 months ago by [email protected] to c/[email protected]
34
4
submitted 7 months ago by [email protected] to c/[email protected]
35
4
submitted 7 months ago by [email protected] to c/[email protected]

PGDay Chicago is a non–profit, community–run conference series in the United States focused on PostgreSQL, the world’s leading open source database. Our conference delivers one day packed with presentations about PostgreSQL and related technologies and the usual hallway and social track. Our conference will be held April 26th, 2024, in Chicago, IL.

36
8
submitted 7 months ago by [email protected] to c/[email protected]

A managed Postgres offering developed by Supabase and Fly.io

37
9
submitted 7 months ago by [email protected] to c/[email protected]
38
5
submitted 7 months ago by [email protected] to c/[email protected]
39
3
Greenmask Beta Release (www.postgresql.org)
submitted 7 months ago by [email protected] to c/[email protected]
40
9
PostgreSQL and FIPS mode (peter.eisentraut.org)
submitted 7 months ago by [email protected] to c/[email protected]
41
5
submitted 7 months ago by [email protected] to c/[email protected]
42
2
submitted 7 months ago* (last edited 7 months ago) by [email protected] to c/[email protected]
  • Support for dark visual theme added.
  • SSL implemented.
  • Unicode names of objects are now supported.
  • Support for Windows 11 ARM added.
  • Updated SSH library with ECDSA, Ed25519 keys and Keyboard-interactive authentication method support.
  • Support for PostgreSQL 16.
  • JSON data type is now supported.
  • Schema selection is now available.
  • Encoding option for script file has been added.
  • Files with test data are now supplied with the program installation pack.
  • Many other improvements and fixes.
43
3
submitted 7 months ago by [email protected] to c/[email protected]
44
4
submitted 7 months ago by [email protected] to c/[email protected]
45
25
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]

Example flow is on the image. Here I want to accomplish if playlist removed, make it delete image too.

I know I should've put FK on image table but Image is generic and its used more than once.

What are my options? Triggers and application-side comes to mind, but I'm not sure. Maybe there is a better way.

UPDATE: I guess I've found what I was looking for, rules:

CREATE RULE playlist_delete AS ON DELETE TO playlist WHERE (SELECT id FROM image WHERE image.id = OLD.image_id) IS NOT NULL DO INSTEAD NOTHING;

46
10
submitted 8 months ago by [email protected] to c/[email protected]
47
2
submitted 8 months ago by [email protected] to c/[email protected]
48
9
submitted 8 months ago by [email protected] to c/[email protected]
49
8
submitted 8 months ago by [email protected] to c/[email protected]
50
6
submitted 8 months ago by [email protected] to c/[email protected]
view more: ‹ prev next ›

PostgreSQL

612 readers
1 users here now

The world's most advanced open source relational database

Project
Events
Podcasts
Related Fediverse communities

founded 1 year ago
MODERATORS