2025-02-17 17:16:27 +03:00
|
|
|
Address = "127.0.0.1";
|
2025-02-15 13:38:30 +03:00
|
|
|
Login = "bayselonarrend";
|
|
|
|
Password = "12we...";
|
|
|
|
Base = "postgres";
|
|
|
|
|
|
|
|
ConnectionString = OPI_PostgreSQL.GenerateConnectionString(Address, Base, Login, Password);
|
|
|
|
|
|
|
|
Base = "testbase1";
|
|
|
|
|
2025-02-15 22:58:22 +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-15 13:38:30 +03:00
|
|
|
Result = OPI_PostgreSQL.DeleteDatabase(Base, ConnectionString);
|