All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.postgresql.core.v3.TypeTransferModeRegistry Maven / Gradle / Ivy

There is a newer version: 42.7.3
Show newest version
/*
 * Copyright (c) 2003, PostgreSQL Global Development Group
 * See the LICENSE file in the project root for more information.
 */

package org.postgresql.core.v3;

public interface TypeTransferModeRegistry {
  /**
   * Returns if given oid should be sent in binary format.
   * @param oid type oid
   * @return true if given oid should be sent in binary format
   */
  boolean useBinaryForSend(int oid);

  /**
   * Returns if given oid should be received in binary format.
   * @param oid type oid
   * @return true if given oid should be received in binary format
   */
  boolean useBinaryForReceive(int oid);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy