Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Postgres (0.18 sec)

  1. tests/docker-compose.yml

          - MYSQL_DATABASE=gorm
          - MYSQL_USER=gorm
          - MYSQL_PASSWORD=gorm
          - MYSQL_RANDOM_ROOT_PASSWORD="yes"
      postgres:
        image: 'postgres:latest'
        ports:
          - "9920:5432"
        environment:
          - TZ=Asia/Shanghai
          - POSTGRES_DB=gorm
          - POSTGRES_USER=gorm
          - POSTGRES_PASSWORD=gorm
      mssql:
        image: '${MSSQL_IMAGE:-mcmoe/mssqldocker}:latest'
        ports:
          - "9930:1433"
    Others
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 08:28:46 GMT 2024
    - 862 bytes
    - Viewed (0)
  2. internal/event/target/postgresql.go

    	EnvPostgresEnable             = "MINIO_NOTIFY_POSTGRES_ENABLE"
    	EnvPostgresFormat             = "MINIO_NOTIFY_POSTGRES_FORMAT"
    	EnvPostgresConnectionString   = "MINIO_NOTIFY_POSTGRES_CONNECTION_STRING"
    	EnvPostgresTable              = "MINIO_NOTIFY_POSTGRES_TABLE"
    	EnvPostgresHost               = "MINIO_NOTIFY_POSTGRES_HOST"
    	EnvPostgresPort               = "MINIO_NOTIFY_POSTGRES_PORT"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  3. internal/event/target/postgresql_test.go

    import (
    	"database/sql"
    	"testing"
    )
    
    // TestPostgreSQLRegistration checks if postgres driver
    // is registered and fails otherwise.
    func TestPostgreSQLRegistration(t *testing.T) {
    	var found bool
    	for _, drv := range sql.Drivers() {
    		if drv == "postgres" {
    			found = true
    			break
    		}
    	}
    	if !found {
    		t.Fatal("postgres driver not registered")
    	}
    }
    
    func TestPsqlTableNameValidation(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  4. tests/table_test.go

    	}
    }
    
    func TestPostgresTableWithIdentifierLength(t *testing.T) {
    	if DB.Dialector.Name() != "postgres" {
    		return
    	}
    
    	type LongString struct {
    		ThisIsAVeryVeryVeryVeryVeryVeryVeryVeryVeryLongString string `gorm:"unique"`
    	}
    
    	t.Run("default", func(t *testing.T) {
    		db, _ := gorm.Open(postgres.Open(postgresDSN), &gorm.Config{})
    		user, err := schema.Parse(&LongString{}, &sync.Map{}, db.Config.NamingStrategy)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Mar 09 09:31:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  5. tests/migrate_test.go

    			foundColumn = c
    			break
    		}
    	}
    	return
    }
    
    func TestInvalidCachedPlanSimpleProtocol(t *testing.T) {
    	if DB.Dialector.Name() != "postgres" {
    		return
    	}
    
    	db, err := gorm.Open(postgres.Open(postgresDSN), &gorm.Config{})
    	if err != nil {
    		t.Errorf("Open err:%v", err)
    	}
    
    	type Object1 struct{}
    	type Object2 struct {
    		Field1 string
    	}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  6. docs/en/data/external_links.yml

        title: Microservice in Python using FastAPI
      - author: Guillermo Cruz
        author_link: https://wuilly.com/
        link: https://wuilly.com/2019/10/real-time-notifications-with-python-and-postgres/
        title: Real-time Notifications with Python and Postgres
      - author: Navule Pavan Kumar Rao
        author_link: https://www.linkedin.com/in/navule/
        link: https://www.tutlinks.com/create-and-deploy-fastapi-app-to-heroku/
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 21 20:57:27 GMT 2024
    - 21.3K bytes
    - Viewed (2)
  7. internal/config/notify/help.go

    			Type:        "sentence",
    		},
    	}
    
    	HelpPostgres = config.HelpKVS{
    		config.HelpKV{
    			Key:         target.PostgresConnectionString,
    			Description: `Postgres server connection-string e.g. "host=localhost port=5432 dbname=minio_events user=postgres password=password sslmode=disable"`,
    			Type:        "string",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         target.PostgresTable,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 18.8K bytes
    - Viewed (0)
  8. cmd/config-current.go

    			Description:     "publish bucket notifications to MySQL databases",
    			MultipleTargets: true,
    		},
    		config.HelpKV{
    			Key:             config.NotifyPostgresSubSys,
    			Description:     "publish bucket notifications to Postgres databases",
    			MultipleTargets: true,
    		},
    		config.HelpKV{
    			Key:             config.NotifyESSubSys,
    			Description:     "publish bucket notifications to Elasticsearch endpoints",
    			MultipleTargets: true,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  9. internal/config/notify/parse.go

    		if err = nsqArgs.Validate(); err != nil {
    			return nil, err
    		}
    
    		nsqTargets[k] = nsqArgs
    	}
    	return nsqTargets, nil
    }
    
    // DefaultPostgresKVS - default Postgres KV for server config.
    var (
    	DefaultPostgresKVS = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: config.EnableOff,
    		},
    		config.KV{
    			Key:   target.PostgresFormat,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 46.4K bytes
    - Viewed (0)
  10. docs/ru/docs/deployment/docker.md

    Также там представлены и другие полезные образы, такие как базы данных:
    
    * <a href="https://hub.docker.com/_/postgres" class="external-link" target="_blank">PostgreSQL</a>
    * <a href="https://hub.docker.com/_/mysql" class="external-link" target="_blank">MySQL</a>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 57.5K bytes
    - Viewed (0)
Back to top