diff options
Diffstat (limited to 'src/interfaces/jdbc/org/postgresql/PGConnection.java')
-rw-r--r-- | src/interfaces/jdbc/org/postgresql/PGConnection.java | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/PGConnection.java b/src/interfaces/jdbc/org/postgresql/PGConnection.java index c05f31222c..2d22a318b0 100644 --- a/src/interfaces/jdbc/org/postgresql/PGConnection.java +++ b/src/interfaces/jdbc/org/postgresql/PGConnection.java @@ -7,7 +7,7 @@ import org.postgresql.core.Encoding; import org.postgresql.fastpath.Fastpath; import org.postgresql.largeobject.LargeObjectManager; -/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/Attic/PGConnection.java,v 1.1 2002/07/23 03:59:55 barry Exp $ +/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/Attic/PGConnection.java,v 1.2 2002/09/02 03:07:36 barry Exp $ * This interface defines PostgreSQL extentions to the java.sql.Connection interface. * Any java.sql.Connection object returned by the driver will also implement this * interface @@ -68,5 +68,14 @@ public interface PGConnection */ public Object getObject(String type, String value) throws SQLException; + + /* + * This method returns any notifications that have been received + * since the last call to this method. + * Returns null if there have been no notifications. + */ + public PGNotification[] getNotifications(); + + } |