Skip to content

CreateExtension Method ​

Definition ​

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

bool CreateExtension(string extension, string schema = null) ​

csharp
bool CreateExtension(string extension, string schema = null)

Installs the specified PostgreSQL extension if it is not already present.

Parameters ​

NameDescription
extensionExtension name (for example citext or vector).
schemaOptional target schema for a new install (WITH SCHEMA). When or whitespace, Postgres chooses the default schema. Ignored when the extension is already installed.