[fpc-pascal] Re: Connecting to Firebird using FPC/Lazarus over a LAN with user creation privilege

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Sun Mar 10 21:56:24 CET 2013


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]



More information about the fpc-pascal mailing list