What happens if you interrupt a POSTGRESQL database that’s receiving data?

I have a Docker application and as a quick and dirty backup strategy, I’m thinking to tar the whole project incrementally and send it off remotely.

I’d rather keep the services running while doing the tar operation.
The question arises, what happens if a client is writing data in the moment of tarring?

Will I have an incomplete or corrupt data entry?
If so, how much of a problem is that if you don’t care about that data being lost?

The other strategy is to stop the docker container and then do the tar.
In that scenario, I still wonder what happens if somebody is writing data at the moment of shutdown.

It seems like both scenarios might suffer the same problem and if that is so, I might just as well leave the service running during the backup.

What happens when Wild Shape/Polymorph runs out in a space that’s too small?

So in a 5e campaign I’m running, the party Druid has recently been doing some scouting of the local monster caves in spider form to avoid notice. I’ve also described how the goblins and kobolds who live in these caves use a variety of tunnels too small for Medium sized creatures in order to get around. Since the party doesn’t have any halflings or gnomes, I didn’t really think the party would ever get into those tunnels. But obviously if a goblin can fit, so can a spider, so there is the possibility that the Druid might try to scout them out.

But what if something goes wrong? What if the Spiderdruid were to get lost and run out of time in Wild Shape, or encounter a hungry lizard and drop to 0 Spiderhealth?

Is there anything in the rules to suggest what should happen when somebody tries to revert to their normal size in a space where they normally wouldn’t fit?

With a space sized for a Small creature such as in my game, I might just rule that he’s stuck unless he makes difficult Dexterity checks or waits to get his Wild Shape back. However, what if it was an even smaller space, such as a burrow or a pipe or a deep crack in the rock? Someplace where his human body literally won’t fit?

If there aren’t any rules for this, I’m open to suggestions on how it can best be handled.

What happens when a Shapechanged Dragon enters an Antimagic Field inside a narrow space? [duplicate]

A rather simple question: if an Ancient Dragon uses it’s Shapechange ability to transform into a medium-sized humanoid, and then has that Shapechange disabled/dispelled inside a narrow tunnel / small underground room, will they get crushed to death by their own size? I have plans on True Poly-ing my spellcaster PC into a Dragon, and i’m worried that a random dispel would instakill me when i go dungeon-delving in the Abyss or somewhere.

What happens when an aboleth enslaves another aboleth who’s enslaved a werewolf?

I was doing a monster battle with some of my friends and there were two aboleths, aboleth #1 and aboleth #2. Aboleth 1 had a werewolf under control using their enslave power, and then aboleth 2 took control of aboleth 1. Can aboleth 2 now control the werewolf under aboleth 1’s control?

What happens to Ability Score changes when shapeshifted?

A low strength druid has been hit twice by a Shadow’s Strength Drain ability, reducing their strength score from 9 to 3. Fearing potential instant death, the Druid uses Wild Shape to turn into a Brown Bear, changing there physical ability scores to match that of the Brown Bear, which would normally mean their strength is now 19. What happens to the reduction to strength score? The only official information on this matter comes from Sage Advise:

Can a creature under the effects of polymorph have other spell effects on them, or are those game statistics also replaced by the those of the beast form? Polymorph replaces only the target’s character sheet or stat block with the stat block of the chosen form. Other effects, such as other spells, still exist.

However this only covers what could happen if a creature already polymorphed has an effect placed on them. In this instance, would the Druid in Brown Bear form have 19, 13, 3, or something else as its strength score? Would the result be the same for Polymorph, or other shape changing abilities that take the new forms statistics?

What happens when an Immovable Rod is activated while in a vehicle?

The Red Bandits have boarded the train, hidden among the other passengers. They wait an hour or two – to be sure the train is far from any city – then, on the boss’s signal, they all pull out their weapons. The boss shouts, “Everybody down! This is a robbery!”

As they thieves rush from car to car, robbing each passenger of jewelry and loose coin, our adventurers realize they need to do something or lose their recently-won loot. The rogue pulls out an Immovable Rod, places it against the car’s door to bar it shut, and presses the button.

What happens?

Does the Rod use the ground (or the Prime Material Plane) as its reference frame for “unmoving”? Does the Rod stay still relative to the train car? Does it stay in motion in a straight line, which works fine (albeit with some shaking) until the train tracks turn?

Obviously this ultimately falls to DM discretion, but is there any rule or description that leans toward a particular answer? (I’ve tagged it for 5e, but I’ll take an answer from any edition.)

What happens to a person who is scattered to the astral plane when inside of a destroyed bag of holding

When a bag of holding is destroyed, the contents are scattered in the astral plane. If a person is inside the bag, what happens to their body? According to the accepted answer here: “Will loot you find on the astral plane while using astral projection remain when you leave it?” – you don’t have a physical form in the astral plane. Is their body gone, forever? Or do they get a new body when they enter a physical plane?

What happens when a Changeling dies on the Dreaming?

On Changeling: The Dreaming 20th Anniversary, I find two seemingly contradictory texts. On page 291, speaking of chimerical death:

Those who suffer a chimerical death while in the Dreaming are expelled from it, waking up in the Autumn world with no memory of how they got there.

I understand in this that you die in the Dreaming, and wake up on the normal world (autumn world) having lost your fae memories, just as any chimerical death.

But on the Dreaming chapter, something much more dangerous is described (page 300):

The Dreaming makes no distinction between chimerical damage (and death) and physical death. A changeling that suffers either form of death in the Dreaming dies, their soul passing on to a new incarnation (or, in the case of Arcadian sidhe, disappearing for parts unknown). For someone with an anchor in the Autumn world, death means that the physical body falls into a coma and wastes away.

The first sentence says that once you die in the dreaming, that’s it. You’re as dead as if you had mundane bullet in your brains. You go to your next reincarnation. I understand the second sentence as referred to people to people that are not changeling, enchanted, and maybe prodigals that found their way into the Dreaming.

For me it seems that both chapters contradict themselves. Is there an official explanation on this? How did death happen on previous editions?

what happens too both ends of the spell fabricate?

if you cast fabricate and target more raw materials than needed for what you create, what happens to the excess material(casting it on a 120ft cube of forest and turning it into a single chair)? Furthermore, the spell doesn’t specify where the created item would be or any restrictions on it, would the created item have to be within the same 120ft cube or something else? (eg 100 miles in the air, behind a corner, or inside of another creature)

Choose raw materials that you can see within range. You can fabricate a Large or smaller object (contained within a 10-foot cube, or eight connected 5-foot cubes), given a sufficient quantity of raw material.

If something happens “when an attack is made”, when does that something happen?

A select few features occur, not when an attack roll is made, but instead when an attack is made.

Three examples are the Protection Fighting Style, the Vengeance Paladin’s Soul of Vengeance feature, and the Arrow-Catching Shield magic item. These states (emphasis mine):

When a creature you can see attacks a target other than you that is within 5 feet of you, you can use your reaction to impose disadvantage on the attack roll. […]

[…] In addition, whenever an attacker makes a ranged attack against a target within 5 feet of you, you can use your reaction to become the target of the attack instead. […]

[…] When a creature under the effect of your Vow of Enmity makes an attack, you can use your reaction to make a melee weapon attack against that creature if it is within range. […]

Notably, there are numerous other features that occur when somebody is targeted by an attack, or when somebody makes an attack roll, or when somebody is actually hit with an attack, but none of the features above specify any of those scenarios. Examples of features that do specify are the Mastermind Rogue’s Misdirection feature, the Lore Bard’s Cutting Words feature, and the Monk’s Deflect Missiles feature:

[…] When you are targeted by an attack […]

[…] When a creature that you can see within 60 feet of you makes an attack roll […]

[…] when you are hit by a ranged weapon attack. […]

As such, I’m unsure when the Protection Fighting Style, Soul of Vengeance, and Arrow-Catching Shield actually takes place. Are they before the target is determined? Before the attack roll is made? After the attack roll but before knowing if it hits or misses? After knowing if it hits or misses? After the damage is applied? Does it vary with each feature? Is it some other answer entirely?