2025-02-11 08:47:01 +03:00
|
|
|
Address = "93.125.42.204";
|
|
|
|
Login = "bayselonarrend";
|
|
|
|
Password = "12we...";
|
|
|
|
Base = "postgres";
|
|
|
|
|
2025-02-13 21:31:59 +03:00
|
|
|
// When using the connection string, a new connection is initialised,
|
|
|
|
// which will be closed after the function is executed.
|
|
|
|
// If several operations are performed, it is desirable to use one connection,
|
|
|
|
// previously created by the CreateConnection function()
|
2025-02-11 08:47:01 +03:00
|
|
|
ConnectionString = OPI_PostgreSQL.GenerateConnectionString(Address, Base, Login, Password);
|
|
|
|
|
|
|
|
Base = "testbase1";
|
|
|
|
|
2025-02-15 13:28:04 +03:00
|
|
|
Result = OPI_PostgreSQL.DeleteDatabase(Base, ConnectionString);
|