This page in other versions: Unsupported versions: 7.1 / 7.2 / 7.3

fileno

Name

fileno -- returns the socket used to connect to the database

Synopsis

fileno()

Parameters

none

Return Type

socket id

The underlying socket id used to connect to the database.

Exceptions

TypeError

Too many (any) arguments.

Description

fileno() method returns the underlying socket id used to connect to the database. This is useful for use in select calls, etc.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group