postgresql/src/include/storage
Amit Kapila 1379fd537f Introduce the 'force' option for the Drop Database command.
This new option terminates the other sessions connected to the target
database and then drop it.  To terminate other sessions, the current user
must have desired permissions (same as pg_terminate_backend()).  We don't
allow to terminate the sessions if prepared transactions, active logical
replication slots or subscriptions are present in the target database.

Author: Pavel Stehule with changes by me
Reviewed-by: Dilip Kumar, Vignesh C, Ibrar Ahmed, Anthony Nowocien,
Ryan Lambert and Amit Kapila
Discussion: https://postgr.es/m/CAP_rwwmLJJbn70vLOZFpxGw3XD7nLB_7+NKz46H5EOO2k5H7OQ@mail.gmail.com
2019-11-13 08:25:33 +05:30
..
.gitignore When trace_lwlocks is used, identify individual lwlocks by name. 2015-09-11 14:01:39 -04:00
backendid.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
barrier.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
block.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
buf.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
buf_internals.h Fix inconsistencies and typos in the tree, take 11 2019-08-19 16:21:39 +09:00
buffile.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
bufmgr.h Speedup truncations of relation forks. 2019-09-24 17:31:26 +09:00
bufpage.h Fix inconsistencies and typos in the tree 2019-07-29 12:28:30 +09:00
checksum.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
checksum_impl.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
condition_variable.h Introduce timed waits for condition variables. 2019-07-13 13:51:05 +12:00
copydir.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
dsm.h Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
dsm_impl.h Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
fd.h Rearrange postmaster's startup sequence for better syslogger results. 2019-09-11 11:43:01 -04:00
freespace.h Speedup truncations of relation forks. 2019-09-24 17:31:26 +09:00
fsm_internals.h Fix inconsistencies and typos in the tree 2019-07-16 13:23:53 +09:00
indexfsm.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
ipc.h Use data directory inode number, not port, to select SysV resource keys. 2019-09-05 13:31:46 -04:00
item.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
itemid.h Standardize ItemIdData terminology. 2019-05-13 15:53:39 -07:00
itemptr.h Fix inconsistencies and typos in the tree, take 9 2019-08-05 12:14:58 +09:00
large_object.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
latch.h Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
lmgr.h Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
lock.h Fix inconsistencies and typos in the tree 2019-07-29 12:28:30 +09:00
lockdefs.h Fix inconsistencies and typos in the tree 2019-07-29 12:28:30 +09:00
lwlock.h Fix inconsistencies and typos in the tree 2019-07-29 12:28:30 +09:00
md.h Move some md.c-specific logic from smgr.c to md.c. 2019-07-17 15:00:22 +12:00
off.h Fix inconsistencies and typos in the tree, take 9 2019-08-05 12:14:58 +09:00
pg_sema.h Use data directory inode number, not port, to select SysV resource keys. 2019-09-05 13:31:46 -04:00
pg_shmem.h Use data directory inode number, not port, to select SysV resource keys. 2019-09-05 13:31:46 -04:00
pmsignal.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
predicate.h Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
predicate_internals.h Fix inconsistencies and typos in the tree 2019-07-16 13:23:53 +09:00
proc.h Fix inconsistencies and typos in the tree, take 9 2019-08-05 12:14:58 +09:00
procarray.h Introduce the 'force' option for the Drop Database command. 2019-11-13 08:25:33 +05:30
proclist.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
proclist_types.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
procsignal.h Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
reinit.h Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
relfilenode.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
s_lock.h For PowerPC instruction "addi", use constraint "b". 2019-10-18 20:20:28 -07:00
sharedfileset.h Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
shm_mq.h Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
shm_toc.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
shmem.h Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
sinval.h Remove superfluous newlines in function prototypes. 2019-07-31 00:05:21 -07:00
sinvaladt.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
smgr.h Speedup truncations of relation forks. 2019-09-24 17:31:26 +09:00
spin.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
standby.h Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
standbydefs.h Fix inconsistencies and typos in the tree, take 10 2019-08-13 13:53:41 +09:00
sync.h Fix assorted inconsistencies. 2019-06-08 08:16:38 +05:30