summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/org/postgresql/PGNotification.java
diff options
context:
space:
mode:
authorBarry Lind <barry@xythos.com>2002-09-02 03:07:36 +0000
committerBarry Lind <barry@xythos.com>2002-09-02 03:07:36 +0000
commit2232172e447db0224c4ececd148ddf6d6e1e5c84 (patch)
treee3749d87c92844635951060b4b516c5aebaf974a /src/interfaces/jdbc/org/postgresql/PGNotification.java
parent97ac103289a3c751fc99967ac37c2555cbe00473 (diff)
downloadpostgresql-2232172e447db0224c4ececd148ddf6d6e1e5c84.tar.gz
JDBC checkin fixing the following bugs:
Fixed support in the driver for notifications (added PGConnection.getNotifications()) - problem reported by Benjamin.Feinstein@guardent.com Worked around server problems with int8/int2 and constants; quote values when they are intended to bind to an int8/int2 column - reported by many Fixed bug in the Array interface with string parsing not handling escaped characters correctly - reported by devajx@yahoo.com Added workaround to support 'infinity' and '-infinity' for dates - reported bydmitry@openratings.com Fixed some performance issues with setBlob - reported by d.wall@computer.org Added support for using new prepared statements functionality in 7.3 (added PGStatement.setUseServerPrepare() and isUseServerPrepare() methods) Modified Files: jdbc/org/postgresql/PGConnection.java jdbc/org/postgresql/PGStatement.java jdbc/org/postgresql/core/QueryExecutor.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java jdbc/org/postgresql/jdbc2/Array.java Added Files: jdbc/org/postgresql/PGNotification.java jdbc/org/postgresql/core/Notification.java
Diffstat (limited to 'src/interfaces/jdbc/org/postgresql/PGNotification.java')
-rw-r--r--src/interfaces/jdbc/org/postgresql/PGNotification.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/PGNotification.java b/src/interfaces/jdbc/org/postgresql/PGNotification.java
new file mode 100644
index 0000000000..0413e9b350
--- /dev/null
+++ b/src/interfaces/jdbc/org/postgresql/PGNotification.java
@@ -0,0 +1,20 @@
+package org.postgresql;
+
+
+/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/Attic/PGNotification.java,v 1.1 2002/09/02 03:07:36 barry Exp $
+ * This interface defines PostgreSQL extention for Notifications
+ */
+public interface PGNotification
+{
+ /*
+ * Returns name of this notification
+ */
+ public String getName();
+
+ /*
+ * Returns the process id of the backend process making this notification
+ */
+ public int getPID();
+
+}
+