1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-23 21:29:38 +02:00
OpenIntegrations/docs/en/examples/PostgreSQL/DisableAllDatabaseConnections.txt
Vitaly the Alpaca (bot) fc588ce5e7 Main build (Jenkins)
2025-02-17 17:16:27 +03:00

13 lines
577 B
Plaintext
Vendored

Address = "127.0.0.1";
Login = "bayselonarrend";
Password = "12we...";
Base = "testbase1";
ConnectionString = OPI_PostgreSQL.GenerateConnectionString(Address, Base, Login, Password);
// 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()
Result = OPI_PostgreSQL.DisableAllDatabaseConnections(Base, ConnectionString);