hunk.code_window:                             } else if ("timestamp".equals(type)) {
                                   value = "TIMESTAMP '2019-07-01 10:00:00'";
                               } else if ("timestamptz".equals(type)) {
                                   value = "TIMESTAMP WITH TIME ZONE '2019-07-01 06:30:00 CET'";
                               } else {
                                   value = "''";
                               }
  
hunk.labels: keep keep keep add keep keep keep
hunk.after_edit:                             } else if (type.startsWith("_int")) {
                                   value = "'{1, 2, 3}'";
                               } else if ("_varchar".equals(type)) {
                                   value = "'{\"first\", \"second\"}'";
  
hunk.file_path: app/server/appsmith-plugins/postgresPlugin/src/main/java/com/external/plugins/PostgresPlugin.java
hunk.type: add
file: import React from "react";
  import { connect } from "react-redux";
  import { AppState } from "reducers";
  import { Dialog, Classes } from "@blueprintjs/core";
  import Button from "components/editorComponents/Button";
  import {
    showRunActionConfirmModal,
    cancelRunActionConfirmModal,
    acceptRunActionConfirmModal,
  } from "actions/actionActions";
  
  type Props = {
    isModalOpen: boolean;
    dispatch: any;
  };
  
  class ConfirmRunModal extends React.Component<Props> {
    render() {
      const { dispatch, isModalOpen } = this.props;
      const handleClose = () => {
        dispatch(showRunActionConfirmModal(false));
  
        dispatch(cancelRunActionConfirmModal());
      };
  
      return (
        <Dialog title="Confirm Action" isOpen={isModalOpen} onClose={handleClose}>
          <div className={Classes.DIALOG_BODY}>
            Are you sure you want to perform this action?
          </div>
          <div className={Classes.DIALOG_FOOTER}>
            <div className={Classes.DIALOG_FOOTER_ACTIONS}>
              <Button
                filled
                text="Cancel"
                onClick={() => {
                  dispatch(cancelRunActionConfirmModal());
  
                  handleClose();
                }}
              />
              <Button
                filled
                text="Confirm"
                intent="primary"
                onClick={() => {
                  dispatch(acceptRunActionConfirmModal());
  
                  handleClose();
                }}
              />
            </div>
          </div>
        </Dialog>
      );
    }
  }
  
  const mapStateToProps = (state: AppState) => ({
    isModalOpen: state.ui.confirmRunAction.modalOpen,
  });
  
  export default connect(mapStateToProps)(ConfirmRunModal);
  