Reinier Olislagers wrote:
I've written a demo application that:
uses regular TIBConnection and SQL commands to
1. create a new db on a server
2. create a user with GRANT ADMIN ROLE and full control over the new db

Source:
https://bitbucket.org/reiniero/fpc_laz_patch_playground/downloads/firebirduser.zip
and in the fpc_laz_patch_playground repository itself (directory fbcreatedb)

Subject to a maximum user name length of 31 characters on Firebird. The manual suggests that PostgreSQL has a limit of 64.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to