You've already forked lazarus-ccr
TvPlanIt: Take care of different postgresql protocol names in zeos. (https://forum.lazarus.freepascal.org/index.php/topic,64787.msg493037.html)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8932 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -132,7 +132,7 @@ begin
|
|||||||
FIdFieldTypeNameInSQL := 'INTEGER NOT NULL PRIMARY KEY'; // This works for firebird v2.x and v3 when triggers & generators are provided
|
FIdFieldTypeNameInSQL := 'INTEGER NOT NULL PRIMARY KEY'; // This works for firebird v2.x and v3 when triggers & generators are provided
|
||||||
FBoolFieldTypenameInSQL := 'BOOLEAN';
|
FBoolFieldTypenameInSQL := 'BOOLEAN';
|
||||||
end else
|
end else
|
||||||
if protocol = 'postgresql' then
|
if pos('postgresql', protocol) > 0 then
|
||||||
FIdFieldTypeNameInSQL := 'SERIAL NOT NULL PRIMARY KEY'
|
FIdFieldTypeNameInSQL := 'SERIAL NOT NULL PRIMARY KEY'
|
||||||
else
|
else
|
||||||
if protocol = 'sqlite' then
|
if protocol = 'sqlite' then
|
||||||
|
Reference in New Issue
Block a user