--- !ruby/object:RI::MethodDescription 
aliases: 
- !ruby/object:RI::AliasName 
  name: loopen
block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Open a large object of <em>oid</em>. Returns a PGlarge instance on success. The <em>mode</em> argument specifies the mode for the opened large object, which is either <tt>INV_READ</tt>, or <tt>INV_WRITE</tt>.
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: If <em>mode</em> On failure, it raises a PGError exception.
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: If <em>mode</em> is omitted, the default is <tt>INV_READ</tt>.
  type: :BULLET
full_name: PGconn#lo_open
is_singleton: false
name: lo_open
params: |
  conn.lo_open( oid, [mode] ) -> PGlarge

visibility: public
