mirror of https://github.com/jackc/pgx.git
Remove unused code
parent
03abfc6452
commit
c418d45f75
|
@ -16,22 +16,6 @@ type LargeObjects struct {
|
||||||
tx *Tx
|
tx *Tx
|
||||||
}
|
}
|
||||||
|
|
||||||
const largeObjectFns = `select proname, oid from pg_catalog.pg_proc
|
|
||||||
where proname in (
|
|
||||||
'lo_open',
|
|
||||||
'lo_close',
|
|
||||||
'lo_create',
|
|
||||||
'lo_unlink',
|
|
||||||
'lo_lseek',
|
|
||||||
'lo_lseek64',
|
|
||||||
'lo_tell',
|
|
||||||
'lo_tell64',
|
|
||||||
'lo_truncate',
|
|
||||||
'lo_truncate64',
|
|
||||||
'loread',
|
|
||||||
'lowrite')
|
|
||||||
and pronamespace = (select oid from pg_catalog.pg_namespace where nspname = 'pg_catalog')`
|
|
||||||
|
|
||||||
// LargeObjects returns a LargeObjects instance for the transaction.
|
// LargeObjects returns a LargeObjects instance for the transaction.
|
||||||
func (tx *Tx) LargeObjects() LargeObjects {
|
func (tx *Tx) LargeObjects() LargeObjects {
|
||||||
return LargeObjects{tx: tx}
|
return LargeObjects{tx: tx}
|
||||||
|
|
Loading…
Reference in New Issue