Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 142 for table (0.15 sec)

  1. internal/config/config_test.go

    			keys:  []string{"enable", "connection_string", "comment", "format", "table"},
    			expectedFields: map[string]struct{}{
    				`enable=on`:        {},
    				`format=namespace`: {},
    				`connection_string=" host=localhost port=5432 dbname = cesnietor sslmode=disable"`: {},
    				`table=holicrayoli`: {},
    			},
    		},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Aug 18 22:55:17 GMT 2022
    - 4.2K bytes
    - Viewed (0)
  2. internal/event/target/postgresql_test.go

    	if !found {
    		t.Fatal("postgres driver not registered")
    	}
    }
    
    func TestPsqlTableNameValidation(t *testing.T) {
    	validTables := []string{"táblë", "table", "TableName", "\"Table name\"", "\"✅✅\"", "table$one", "\"táblë\""}
    	invalidTables := []string{"table name", "table \"name\"", "✅✅", "$table$"}
    
    	for _, name := range validTables {
    		if err := validatePsqlTableName(name); err != nil {
    			t.Errorf("Should be valid: %s - %s", name, err)
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  3. internal/event/target/mysql.go

    	mysqlCreateNamespaceTable = `CREATE TABLE %s (
                 key_name VARCHAR(3072) NOT NULL,
                 key_hash CHAR(64) GENERATED ALWAYS AS (SHA2(key_name, 256)) STORED NOT NULL PRIMARY KEY,
                 value JSON)
               CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;`
    	mysqlCreateAccessTable = `CREATE TABLE %s (event_time DATETIME NOT NULL, event_data JSON)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  4. internal/s3select/sql/statement.go

    }
    
    func validateTableName(from *TableExpression) error {
    	if !strings.EqualFold(from.Table.BaseKey.String(), baseTableName) {
    		return errBadTableName(errors.New("table name must be `s3object`"))
    	}
    
    	if len(from.Table.PathExpr) > 0 {
    		if !from.Table.PathExpr[0].ArrayWildcard {
    			return errBadTableName(errors.New("keypath table name is invalid - please check the service documentation"))
    		}
    	}
    	return nil
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 09 17:19:11 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  5. internal/config/notify/legacy.go

    			Value: cfg.Format,
    		},
    		config.KV{
    			Key:   target.PostgresConnectionString,
    			Value: cfg.ConnectionString,
    		},
    		config.KV{
    			Key:   target.PostgresTable,
    			Value: cfg.Table,
    		},
    		config.KV{
    			Key:   target.PostgresHost,
    			Value: cfg.Host.String(),
    		},
    		config.KV{
    			Key:   target.PostgresPort,
    			Value: cfg.Port,
    		},
    		config.KV{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  6. docs/bucket/notifications/README.md

    ```
    KEY:
    notify_postgres[:name]  publish bucket notifications to Postgres databases
    
    ARGS:
    connection_string*   (string)             Postgres server connection-string e.g. "host=localhost port=5432 dbname=minio_events user=postgres password=password sslmode=disable"
    table*               (string)             DB table name to store/update events, table is auto-created
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
  7. internal/config/notify/help.go

    			Type:        "string",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         target.PostgresTable,
    			Description: "DB table name to store/update events, table is auto-created",
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         target.PostgresFormat,
    			Description: formatComment,
    			Type:        "namespace*|access",
    		},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 18.8K bytes
    - Viewed (0)
  8. internal/s3select/sql/errors.go

    		message:    err.Error(),
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errBadTableName(err error) *s3Error {
    	return &s3Error{
    		code:       "BadTableName",
    		message:    fmt.Sprintf("The table name is not supported: %v", err),
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errDataSource(err error) *s3Error {
    	return &s3Error{
    		code:       "DataSourcePathUnsupported",
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.6K bytes
    - Viewed (0)
  9. internal/auth/credentials.go

    	// is used when autogenerating new credentials.
    	// There is no max length enforcement for secret keys
    	secretKeyMaxLen = 40
    
    	// Alpha numeric table used for generating access keys.
    	alphaNumericTable = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
    
    	// Total length of the alpha numeric table.
    	alphaNumericTableLen = byte(len(alphaNumericTable))
    )
    
    // Common errors generated for access and secret key validation.
    var (
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  10. README.md

    Run the following command to install the latest stable MinIO package using [Homebrew](https://brew.sh/). Replace ``/data`` with the path to the drive or directory in which you want MinIO to store data.
    
    ```sh
    brew install minio/stable/minio
    minio server /data
    ```
    
    > NOTE: If you previously installed minio using `brew install minio` then it is recommended that you reinstall minio from `minio/stable/minio` official repo instead.
    
    ```sh
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 14 17:51:34 GMT 2024
    - 18.7K bytes
    - Viewed (0)
Back to top