mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-09 00:27:30 -06:00
[performance] Add further indexes to mitigate laggy queries (#586)
* start adding more indexes as a migration * update sqlite version
This commit is contained in:
parent
5ef41ba3f2
commit
f4b0d76cd4
236 changed files with 395899 additions and 195070 deletions
2
vendor/modernc.org/libc/poll/capi_freebsd_386.go
generated
vendored
2
vendor/modernc.org/libc/poll/capi_freebsd_386.go
generated
vendored
|
|
@ -1,4 +1,4 @@
|
|||
// Code generated by 'ccgo poll/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o poll/poll_freebsd_386.go -pkgname poll', DO NOT EDIT.
|
||||
// Code generated by 'ccgo poll/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o poll/poll_freebsd_386.go -pkgname poll', DO NOT EDIT.
|
||||
|
||||
package poll
|
||||
|
||||
|
|
|
|||
2
vendor/modernc.org/libc/poll/capi_freebsd_amd64.go
generated
vendored
2
vendor/modernc.org/libc/poll/capi_freebsd_amd64.go
generated
vendored
|
|
@ -1,4 +1,4 @@
|
|||
// Code generated by 'ccgo poll/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o poll/poll_freebsd_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
// Code generated by 'ccgo poll/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o poll/poll_freebsd_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
|
||||
package poll
|
||||
|
||||
|
|
|
|||
2
vendor/modernc.org/libc/poll/capi_netbsd_amd64.go
generated
vendored
2
vendor/modernc.org/libc/poll/capi_netbsd_amd64.go
generated
vendored
|
|
@ -1,4 +1,4 @@
|
|||
// Code generated by 'ccgo poll/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o poll/poll_netbsd_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
// Code generated by 'ccgo poll/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o poll/poll_netbsd_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
|
||||
package poll
|
||||
|
||||
|
|
|
|||
2
vendor/modernc.org/libc/poll/capi_openbsd_amd64.go
generated
vendored
2
vendor/modernc.org/libc/poll/capi_openbsd_amd64.go
generated
vendored
|
|
@ -1,4 +1,4 @@
|
|||
// Code generated by 'ccgo poll/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o poll/poll_openbsd_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
// Code generated by 'ccgo poll/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o poll/poll_openbsd_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
|
||||
package poll
|
||||
|
||||
|
|
|
|||
66
vendor/modernc.org/libc/poll/poll_freebsd_386.go
generated
vendored
66
vendor/modernc.org/libc/poll/poll_freebsd_386.go
generated
vendored
|
|
@ -1,4 +1,4 @@
|
|||
// Code generated by 'ccgo poll/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o poll/poll_freebsd_386.go -pkgname poll', DO NOT EDIT.
|
||||
// Code generated by 'ccgo poll/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o poll/poll_freebsd_386.go -pkgname poll', DO NOT EDIT.
|
||||
|
||||
package poll
|
||||
|
||||
|
|
@ -15,38 +15,38 @@ var _ atomic.Value
|
|||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
INFTIM = -1
|
||||
POLLERR = 0x0008
|
||||
POLLHUP = 0x0010
|
||||
POLLIN = 0x0001
|
||||
POLLINIGNEOF = 0x2000
|
||||
POLLNVAL = 0x0020
|
||||
POLLOUT = 0x0004
|
||||
POLLPRI = 0x0002
|
||||
POLLRDBAND = 0x0080
|
||||
POLLRDNORM = 0x0040
|
||||
POLLSTANDARD = 511
|
||||
POLLWRBAND = 0x0100
|
||||
POLLWRNORM = 4
|
||||
X_FILE_OFFSET_BITS = 64
|
||||
X_ILP32 = 1
|
||||
X_MACHINE__LIMITS_H_ = 0
|
||||
X_MACHINE__TYPES_H_ = 0
|
||||
X_Nonnull = 0
|
||||
X_Null_unspecified = 0
|
||||
X_Nullable = 0
|
||||
X_SIGSET_T_DECLARED = 0
|
||||
X_SIG_MAXSIG = 128
|
||||
X_SIG_WORDS = 4
|
||||
X_SYS_CDEFS_H_ = 0
|
||||
X_SYS_POLL_H_ = 0
|
||||
X_SYS_TIMESPEC_H_ = 0
|
||||
X_SYS__SIGSET_H_ = 0
|
||||
X_SYS__TIMESPEC_H_ = 0
|
||||
X_SYS__TYPES_H_ = 0
|
||||
X_TIME_T_DECLARED = 0
|
||||
I386 = 1
|
||||
Unix = 1
|
||||
INFTIM = -1 // poll.h:94:1:
|
||||
POLLERR = 0x0008 // poll.h:80:1:
|
||||
POLLHUP = 0x0010 // poll.h:81:1:
|
||||
POLLIN = 0x0001 // poll.h:63:1:
|
||||
POLLINIGNEOF = 0x2000 // poll.h:73:1:
|
||||
POLLNVAL = 0x0020 // poll.h:82:1:
|
||||
POLLOUT = 0x0004 // poll.h:65:1:
|
||||
POLLPRI = 0x0002 // poll.h:64:1:
|
||||
POLLRDBAND = 0x0080 // poll.h:68:1:
|
||||
POLLRDNORM = 0x0040 // poll.h:66:1:
|
||||
POLLSTANDARD = 511 // poll.h:86:1:
|
||||
POLLWRBAND = 0x0100 // poll.h:69:1:
|
||||
POLLWRNORM = 4 // poll.h:67:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_ILP32 = 1 // <predefined>:1:1:
|
||||
X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1:
|
||||
X_MACHINE__TYPES_H_ = 0 // _types.h:42:1:
|
||||
X_Nonnull = 0 // cdefs.h:790:1:
|
||||
X_Null_unspecified = 0 // cdefs.h:792:1:
|
||||
X_Nullable = 0 // cdefs.h:791:1:
|
||||
X_SIGSET_T_DECLARED = 0 // poll.h:107:1:
|
||||
X_SIG_MAXSIG = 128 // _sigset.h:47:1:
|
||||
X_SIG_WORDS = 4 // _sigset.h:46:1:
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
|
||||
X_SYS_POLL_H_ = 0 // poll.h:34:1:
|
||||
X_SYS_TIMESPEC_H_ = 0 // timespec.h:37:1:
|
||||
X_SYS__SIGSET_H_ = 0 // _sigset.h:41:1:
|
||||
X_SYS__TIMESPEC_H_ = 0 // _timespec.h:37:1:
|
||||
X_SYS__TYPES_H_ = 0 // _types.h:32:1:
|
||||
X_TIME_T_DECLARED = 0 // _timespec.h:43:1:
|
||||
I386 = 1 // <predefined>:335:1:
|
||||
Unix = 1 // <predefined>:336:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int32 /* <builtin>:3:26 */
|
||||
|
|
|
|||
64
vendor/modernc.org/libc/poll/poll_freebsd_amd64.go
generated
vendored
64
vendor/modernc.org/libc/poll/poll_freebsd_amd64.go
generated
vendored
|
|
@ -1,4 +1,4 @@
|
|||
// Code generated by 'ccgo poll/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o poll/poll_freebsd_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
// Code generated by 'ccgo poll/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o poll/poll_freebsd_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
|
||||
package poll
|
||||
|
||||
|
|
@ -15,37 +15,37 @@ var _ atomic.Value
|
|||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
INFTIM = -1
|
||||
POLLERR = 0x0008
|
||||
POLLHUP = 0x0010
|
||||
POLLIN = 0x0001
|
||||
POLLINIGNEOF = 0x2000
|
||||
POLLNVAL = 0x0020
|
||||
POLLOUT = 0x0004
|
||||
POLLPRI = 0x0002
|
||||
POLLRDBAND = 0x0080
|
||||
POLLRDNORM = 0x0040
|
||||
POLLSTANDARD = 511
|
||||
POLLWRBAND = 0x0100
|
||||
POLLWRNORM = 4
|
||||
X_FILE_OFFSET_BITS = 64
|
||||
X_LP64 = 1
|
||||
X_MACHINE__LIMITS_H_ = 0
|
||||
X_MACHINE__TYPES_H_ = 0
|
||||
X_Nonnull = 0
|
||||
X_Null_unspecified = 0
|
||||
X_Nullable = 0
|
||||
X_SIGSET_T_DECLARED = 0
|
||||
X_SIG_MAXSIG = 128
|
||||
X_SIG_WORDS = 4
|
||||
X_SYS_CDEFS_H_ = 0
|
||||
X_SYS_POLL_H_ = 0
|
||||
X_SYS_TIMESPEC_H_ = 0
|
||||
X_SYS__SIGSET_H_ = 0
|
||||
X_SYS__TIMESPEC_H_ = 0
|
||||
X_SYS__TYPES_H_ = 0
|
||||
X_TIME_T_DECLARED = 0
|
||||
Unix = 1
|
||||
INFTIM = -1 // poll.h:94:1:
|
||||
POLLERR = 0x0008 // poll.h:80:1:
|
||||
POLLHUP = 0x0010 // poll.h:81:1:
|
||||
POLLIN = 0x0001 // poll.h:63:1:
|
||||
POLLINIGNEOF = 0x2000 // poll.h:73:1:
|
||||
POLLNVAL = 0x0020 // poll.h:82:1:
|
||||
POLLOUT = 0x0004 // poll.h:65:1:
|
||||
POLLPRI = 0x0002 // poll.h:64:1:
|
||||
POLLRDBAND = 0x0080 // poll.h:68:1:
|
||||
POLLRDNORM = 0x0040 // poll.h:66:1:
|
||||
POLLSTANDARD = 511 // poll.h:86:1:
|
||||
POLLWRBAND = 0x0100 // poll.h:69:1:
|
||||
POLLWRNORM = 4 // poll.h:67:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_LP64 = 1 // <predefined>:1:1:
|
||||
X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1:
|
||||
X_MACHINE__TYPES_H_ = 0 // _types.h:42:1:
|
||||
X_Nonnull = 0 // cdefs.h:783:1:
|
||||
X_Null_unspecified = 0 // cdefs.h:785:1:
|
||||
X_Nullable = 0 // cdefs.h:784:1:
|
||||
X_SIGSET_T_DECLARED = 0 // poll.h:107:1:
|
||||
X_SIG_MAXSIG = 128 // _sigset.h:47:1:
|
||||
X_SIG_WORDS = 4 // _sigset.h:46:1:
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
|
||||
X_SYS_POLL_H_ = 0 // poll.h:34:1:
|
||||
X_SYS_TIMESPEC_H_ = 0 // timespec.h:37:1:
|
||||
X_SYS__SIGSET_H_ = 0 // _sigset.h:41:1:
|
||||
X_SYS__TIMESPEC_H_ = 0 // _timespec.h:37:1:
|
||||
X_SYS__TYPES_H_ = 0 // _types.h:32:1:
|
||||
X_TIME_T_DECLARED = 0 // _timespec.h:43:1:
|
||||
Unix = 1 // <predefined>:337:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int64 /* <builtin>:3:26 */
|
||||
|
|
|
|||
46
vendor/modernc.org/libc/poll/poll_netbsd_amd64.go
generated
vendored
46
vendor/modernc.org/libc/poll/poll_netbsd_amd64.go
generated
vendored
|
|
@ -1,4 +1,4 @@
|
|||
// Code generated by 'ccgo poll/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o poll/poll_netbsd_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
// Code generated by 'ccgo poll/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o poll/poll_netbsd_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
|
||||
package poll
|
||||
|
||||
|
|
@ -15,28 +15,28 @@ var _ atomic.Value
|
|||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
INFTIM = -1
|
||||
POLLERR = 0x0008
|
||||
POLLHUP = 0x0010
|
||||
POLLIN = 0x0001
|
||||
POLLNVAL = 0x0020
|
||||
POLLOUT = 0x0004
|
||||
POLLPRI = 0x0002
|
||||
POLLRDBAND = 0x0080
|
||||
POLLRDNORM = 0x0040
|
||||
POLLWRBAND = 0x0100
|
||||
POLLWRNORM = 4
|
||||
X_AMD64_INT_TYPES_H_ = 0
|
||||
X_FILE_OFFSET_BITS = 64
|
||||
X_LP64 = 1
|
||||
X_NETBSD_SOURCE = 1
|
||||
X_SYS_CDEFS_ELF_H_ = 0
|
||||
X_SYS_CDEFS_H_ = 0
|
||||
X_SYS_COMMON_ANSI_H_ = 0
|
||||
X_SYS_COMMON_INT_TYPES_H_ = 0
|
||||
X_SYS_POLL_H_ = 0
|
||||
X_SYS_SIGTYPES_H_ = 0
|
||||
X_X86_64_CDEFS_H_ = 0
|
||||
INFTIM = -1 // poll.h:67:1:
|
||||
POLLERR = 0x0008 // poll.h:59:1:
|
||||
POLLHUP = 0x0010 // poll.h:60:1:
|
||||
POLLIN = 0x0001 // poll.h:48:1:
|
||||
POLLNVAL = 0x0020 // poll.h:61:1:
|
||||
POLLOUT = 0x0004 // poll.h:50:1:
|
||||
POLLPRI = 0x0002 // poll.h:49:1:
|
||||
POLLRDBAND = 0x0080 // poll.h:53:1:
|
||||
POLLRDNORM = 0x0040 // poll.h:51:1:
|
||||
POLLWRBAND = 0x0100 // poll.h:54:1:
|
||||
POLLWRNORM = 4 // poll.h:52:1:
|
||||
X_AMD64_INT_TYPES_H_ = 0 // int_types.h:35:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_LP64 = 1 // <predefined>:268:1:
|
||||
X_NETBSD_SOURCE = 1 // featuretest.h:70:1:
|
||||
X_SYS_CDEFS_ELF_H_ = 0 // cdefs_elf.h:31:1:
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:37:1:
|
||||
X_SYS_COMMON_ANSI_H_ = 0 // common_ansi.h:33:1:
|
||||
X_SYS_COMMON_INT_TYPES_H_ = 0 // common_int_types.h:33:1:
|
||||
X_SYS_POLL_H_ = 0 // poll.h:33:1:
|
||||
X_SYS_SIGTYPES_H_ = 0 // sigtypes.h:40:1:
|
||||
X_X86_64_CDEFS_H_ = 0 // cdefs.h:4:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int64 /* <builtin>:3:26 */
|
||||
|
|
|
|||
54
vendor/modernc.org/libc/poll/poll_openbsd_amd64.go
generated
vendored
54
vendor/modernc.org/libc/poll/poll_openbsd_amd64.go
generated
vendored
|
|
@ -1,4 +1,4 @@
|
|||
// Code generated by 'ccgo poll/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o poll/poll_openbsd_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
// Code generated by 'ccgo poll/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o poll/poll_openbsd_amd64.go -pkgname poll', DO NOT EDIT.
|
||||
|
||||
package poll
|
||||
|
||||
|
|
@ -15,32 +15,32 @@ var _ atomic.Value
|
|||
var _ unsafe.Pointer
|
||||
|
||||
const (
|
||||
INFTIM = -1
|
||||
POLLERR = 0x0008
|
||||
POLLHUP = 0x0010
|
||||
POLLIN = 0x0001
|
||||
POLLNORM = 64
|
||||
POLLNVAL = 0x0020
|
||||
POLLOUT = 0x0004
|
||||
POLLPRI = 0x0002
|
||||
POLLRDBAND = 0x0080
|
||||
POLLRDNORM = 0x0040
|
||||
POLLWRBAND = 0x0100
|
||||
POLLWRNORM = 4
|
||||
X_FILE_OFFSET_BITS = 64
|
||||
X_LP64 = 1
|
||||
X_MACHINE_CDEFS_H_ = 0
|
||||
X_MACHINE__TYPES_H_ = 0
|
||||
X_MAX_PAGE_SHIFT = 12
|
||||
X_RET_PROTECTOR = 1
|
||||
X_SIGSET_T_DEFINED_ = 0
|
||||
X_STACKALIGNBYTES = 15
|
||||
X_SYS_CDEFS_H_ = 0
|
||||
X_SYS_POLL_H_ = 0
|
||||
X_SYS__TYPES_H_ = 0
|
||||
X_TIMESPEC_DECLARED = 0
|
||||
X_TIME_T_DEFINED_ = 0
|
||||
Unix = 1
|
||||
INFTIM = -1 // poll.h:54:1:
|
||||
POLLERR = 0x0008 // poll.h:42:1:
|
||||
POLLHUP = 0x0010 // poll.h:43:1:
|
||||
POLLIN = 0x0001 // poll.h:39:1:
|
||||
POLLNORM = 64 // poll.h:46:1:
|
||||
POLLNVAL = 0x0020 // poll.h:44:1:
|
||||
POLLOUT = 0x0004 // poll.h:41:1:
|
||||
POLLPRI = 0x0002 // poll.h:40:1:
|
||||
POLLRDBAND = 0x0080 // poll.h:48:1:
|
||||
POLLRDNORM = 0x0040 // poll.h:45:1:
|
||||
POLLWRBAND = 0x0100 // poll.h:49:1:
|
||||
POLLWRNORM = 4 // poll.h:47:1:
|
||||
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
|
||||
X_LP64 = 1 // <predefined>:1:1:
|
||||
X_MACHINE_CDEFS_H_ = 0 // cdefs.h:9:1:
|
||||
X_MACHINE__TYPES_H_ = 0 // _types.h:36:1:
|
||||
X_MAX_PAGE_SHIFT = 12 // _types.h:52:1:
|
||||
X_RET_PROTECTOR = 1 // <predefined>:2:1:
|
||||
X_SIGSET_T_DEFINED_ = 0 // poll.h:63:1:
|
||||
X_STACKALIGNBYTES = 15 // _types.h:49:1:
|
||||
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
|
||||
X_SYS_POLL_H_ = 0 // poll.h:29:1:
|
||||
X_SYS__TYPES_H_ = 0 // _types.h:35:1:
|
||||
X_TIMESPEC_DECLARED = 0 // poll.h:73:1:
|
||||
X_TIME_T_DEFINED_ = 0 // poll.h:68:1:
|
||||
Unix = 1 // <predefined>:340:1:
|
||||
)
|
||||
|
||||
type Ptrdiff_t = int64 /* <builtin>:3:26 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue