forked from mirrors/gotosocial
07727753b9
* Add whereNotEmptyAndNotNull * Add GetRemoteOlderThanDays * Add GetRemoteOlderThanDays * Add PruneRemote to Manager interface * Start implementing PruneRemote * add new attachment + status to tests * fix up and test GetRemoteOlderThan * fix bad import * PruneRemote: return number pruned * add Cached column to mediaattachment * update + test pruneRemote * update mediaTest * use Cached column * upstep bun to latest version * embed structs in mediaAttachment * migrate mediaAttachment to new format * don't default cached to true * select only remote media * update db dependencies * step bun back to last working version * update pruneRemote to use Cached field * fix storage path of test attachments * add recache logic to manager * fix trimmed aspect ratio * test prune and recache * return errwithcode * tidy up different paths for emoji vs attachment * fix incorrect thumbnail type being stored * expose TransportController to media processor * implement tee-ing recached content * add thoughts of dog to test fedi attachments * test get remote files * add comment on PruneRemote * add postData cleanup to recache * test thumbnail fetching * add incredible diagram * go mod tidy * buffer pipes for recache streaming * test for client stops reading after 1kb * add media-remote-cache-days to config * add cron package * wrap logrus so it's available to cron * start and stop cron jobs gracefully |
||
---|---|---|
.. | ||
aclitem.go | ||
aclitem_array.go | ||
array.go | ||
array_type.go | ||
bit.go | ||
bool.go | ||
bool_array.go | ||
box.go | ||
bpchar.go | ||
bpchar_array.go | ||
bytea.go | ||
bytea_array.go | ||
CHANGELOG.md | ||
cid.go | ||
cidr.go | ||
cidr_array.go | ||
circle.go | ||
composite_fields.go | ||
composite_type.go | ||
convert.go | ||
database_sql.go | ||
date.go | ||
date_array.go | ||
daterange.go | ||
enum_array.go | ||
enum_type.go | ||
float4.go | ||
float4_array.go | ||
float8.go | ||
float8_array.go | ||
generic_binary.go | ||
generic_text.go | ||
hstore.go | ||
hstore_array.go | ||
inet.go | ||
inet_array.go | ||
int2.go | ||
int2_array.go | ||
int4.go | ||
int4_array.go | ||
int4range.go | ||
int8.go | ||
int8_array.go | ||
int8range.go | ||
interval.go | ||
json.go | ||
jsonb.go | ||
jsonb_array.go | ||
LICENSE | ||
line.go | ||
lseg.go | ||
macaddr.go | ||
macaddr_array.go | ||
name.go | ||
numeric.go | ||
numeric_array.go | ||
numrange.go | ||
oid.go | ||
oid_value.go | ||
path.go | ||
pgtype.go | ||
pguint32.go | ||
point.go | ||
polygon.go | ||
qchar.go | ||
range.go | ||
README.md | ||
record.go | ||
text.go | ||
text_array.go | ||
tid.go | ||
time.go | ||
timestamp.go | ||
timestamp_array.go | ||
timestamptz.go | ||
timestamptz_array.go | ||
tsrange.go | ||
tsrange_array.go | ||
tstzrange.go | ||
tstzrange_array.go | ||
typed_array.go.erb | ||
typed_array_gen.sh | ||
typed_range.go.erb | ||
typed_range_gen.sh | ||
unknown.go | ||
uuid.go | ||
uuid_array.go | ||
varbit.go | ||
varchar.go | ||
varchar_array.go | ||
xid.go |
pgtype
pgtype implements Go types for over 70 PostgreSQL types. pgtype is the type system underlying the
https://github.com/jackc/pgx PostgreSQL driver. These types support the binary format for enhanced performance with pgx.
They also support the database/sql Scan
and Value
interfaces and can be used with https://github.com/lib/pq.