├── .gitattributes
├── .github
├── dependabot.yml
└── workflows
│ └── stale.yml
├── .gitignore
├── Demos
├── Delphi.FMX
│ ├── GridDemo
│ │ ├── ConnFrmFMX.fmx
│ │ ├── ConnFrmFMX.pas
│ │ ├── PosgresSQL_Grid_demo.dpr
│ │ ├── PosgresSQL_Grid_demo.dproj
│ │ ├── PosgresSQL_Grid_demo.res
│ │ ├── Unit1.fmx
│ │ └── Unit1.pas
│ ├── Locate
│ │ ├── ConnFrmFMX.fmx
│ │ ├── ConnFrmFMX.pas
│ │ ├── LocateFMX.dpr
│ │ ├── LocateFMX.dproj
│ │ ├── LocateFMX.res
│ │ ├── Unit1.fmx
│ │ └── Unit1.pas
│ ├── MasterDetail
│ │ ├── ConnFrmFMX.fmx
│ │ ├── ConnFrmFMX.pas
│ │ ├── MasterDetail_demo.dpr
│ │ ├── MasterDetail_demo.dproj
│ │ ├── MasterDetail_demo.res
│ │ ├── PosgresSQL_Grid_demo.res
│ │ ├── Unit1.fmx
│ │ └── Unit1.pas
│ ├── MobileGridDemo
│ │ ├── AndroidManifest.template.xml
│ │ ├── MobileGridDemo.dpr
│ │ ├── MobileGridDemo.dproj
│ │ ├── fmMobileGrid.SmXhdpiPh.fmx
│ │ ├── fmMobileGrid.fmx
│ │ ├── fmMobileGrid.pas
│ │ └── fmMobileGrid.vlb
│ └── Table2txt
│ │ ├── ConnFrmFMX.fmx
│ │ ├── ConnFrmFMX.pas
│ │ ├── Table2TXT.dpr
│ │ ├── Table2TXT.dproj
│ │ ├── Table2TXT.res
│ │ ├── Unit1.fmx
│ │ └── Unit1.pas
├── Delphi.VCL
│ ├── GridDemo
│ │ ├── ConnFrm.dfm
│ │ ├── ConnFrm.pas
│ │ ├── Grid_Demo.dpr
│ │ ├── Grid_Demo.dproj
│ │ ├── Grid_Demo.lpi
│ │ ├── Grid_Demo.lpr
│ │ ├── Grid_Demo.lps
│ │ ├── Grid_Demo.res
│ │ ├── MainFrm.dfm
│ │ └── MainFrm.pas
│ └── Monitor
│ │ ├── ConnFrm.dfm
│ │ ├── ConnFrm.pas
│ │ ├── Unit1.dfm
│ │ ├── Unit1.pas
│ │ ├── monitor_example.cfg
│ │ ├── monitor_example.dpr
│ │ ├── monitor_example.dproj
│ │ └── monitor_example.res
└── Lazarus
│ └── GridDemo
│ ├── Grid_Demo.lpi
│ ├── Grid_Demo.lpr
│ ├── Grid_Demo.lps
│ ├── Grid_Demo.res
│ ├── MainFrm.lfm
│ ├── MainFrm.pas
│ ├── connfrm.lfm
│ └── connfrm.pas
├── Deploy
├── x64
│ ├── deploy64.txt
│ ├── libcrypto-1_1-x64.dll
│ ├── libpq-without-SSL.dll
│ ├── libpq.dll
│ └── libssl-1_1-x64.dll
└── x86
│ ├── deploy.txt
│ ├── libcrypto-1_1.dll
│ ├── libpq-without-SSL.dll
│ ├── libpq.dll
│ ├── libssl-1_1.dll
│ ├── pg_dump-11.4.dll
│ ├── pg_dump-12.0.dll
│ ├── pg_dump-13.3.dll
│ ├── pg_dump-9.3.20.dll
│ ├── pg_dump-9.4.15.dll
│ ├── pg_dump-9.5.10.dll
│ ├── pg_dump-9.6.6.dll
│ ├── pg_dump.dll
│ ├── pg_restore-11.4.dll
│ ├── pg_restore-12.0.dll
│ ├── pg_restore-13.3.dll
│ ├── pg_restore-9.3.20.dll
│ ├── pg_restore-9.4.15.dll
│ ├── pg_restore-9.5.10.dll
│ ├── pg_restore-9.6.6.dll
│ └── pg_restore.dll
├── LICENSE
├── Packages
├── PostgresDAC10.bdsproj
├── PostgresDAC10.cfg
├── PostgresDAC10.dpk
├── PostgresDAC10.res
├── PostgresDAC11.cfg
├── PostgresDAC11.dpk
├── PostgresDAC11.dproj
├── PostgresDAC11.res
├── PostgresDAC12.dpk
├── PostgresDAC12.dproj
├── PostgresDAC12.res
├── PostgresDAC14.dpk
├── PostgresDAC14.dproj
├── PostgresDAC14.res
├── PostgresDAC15.dpk
├── PostgresDAC15.dproj
├── PostgresDAC15.res
├── PostgresDAC16.dpk
├── PostgresDAC16.dproj
├── PostgresDAC16.res
├── PostgresDAC17.dpk
├── PostgresDAC17.dproj
├── PostgresDAC17.res
├── PostgresDAC18.dpk
├── PostgresDAC18.dproj
├── PostgresDAC18.res
├── PostgresDAC19.dpk
├── PostgresDAC19.dproj
├── PostgresDAC19.res
├── PostgresDAC20.dpk
├── PostgresDAC20.dproj
├── PostgresDAC20.res
├── PostgresDAC21.dpk
├── PostgresDAC21.dproj
├── PostgresDAC21.res
├── PostgresDAC22.dpk
├── PostgresDAC22.dproj
├── PostgresDAC22.res
├── PostgresDAC23.dpk
├── PostgresDAC23.dproj
├── PostgresDAC23.res
├── PostgresDAC24.dpk
├── PostgresDAC24.dproj
├── PostgresDAC24.res
├── PostgresDAC25.dpk
├── PostgresDAC25.dproj
├── PostgresDAC25.res
├── PostgresDAC26.dpk
├── PostgresDAC26.dproj
├── PostgresDAC27.dpk
├── PostgresDAC27.dproj
├── PostgresDAC28.dpk
├── PostgresDAC28.dproj
├── PostgresDAC28.res
├── PostgresDAC29.dpk
├── PostgresDAC29.dproj
├── PostgresDAC29.res
├── PostgresDAC5.cfg
├── PostgresDAC5.dpk
├── PostgresDAC5.res
├── PostgresDAC6.cfg
├── PostgresDAC6.dpk
├── PostgresDAC6.res
├── PostgresDAC7.cfg
├── PostgresDAC7.dpk
├── PostgresDAC7.res
├── PostgresDAC9.bdsproj
├── PostgresDAC9.cfg
├── PostgresDAC9.dpk
├── PostgresDAC9.res
├── PostgresDACB5.bpk
├── PostgresDACB5.cpp
├── PostgresDACB5.res
├── PostgresDACB6.bpk
├── PostgresDACB6.cpp
├── PostgresDACB6.res
├── PostgresDACL.lpk
├── PostgresDACL.pas
├── dclPostgresDAC10.bdsproj
├── dclPostgresDAC10.cfg
├── dclPostgresDAC10.dpk
├── dclPostgresDAC10.dproj
├── dclPostgresDAC10.res
├── dclPostgresDAC11.dpk
├── dclPostgresDAC11.dproj
├── dclPostgresDAC11.res
├── dclPostgresDAC12.dpk
├── dclPostgresDAC12.dproj
├── dclPostgresDAC12.res
├── dclPostgresDAC14.dpk
├── dclPostgresDAC14.dproj
├── dclPostgresDAC14.res
├── dclPostgresDAC15.dpk
├── dclPostgresDAC15.dproj
├── dclPostgresDAC15.res
├── dclPostgresDAC16.dpk
├── dclPostgresDAC16.dproj
├── dclPostgresDAC16.res
├── dclPostgresDAC17.dpk
├── dclPostgresDAC17.dproj
├── dclPostgresDAC17.res
├── dclPostgresDAC18.dpk
├── dclPostgresDAC18.dproj
├── dclPostgresDAC18.res
├── dclPostgresDAC19.dpk
├── dclPostgresDAC19.dproj
├── dclPostgresDAC19.res
├── dclPostgresDAC20.dpk
├── dclPostgresDAC20.dproj
├── dclPostgresDAC20.res
├── dclPostgresDAC21.dpk
├── dclPostgresDAC21.dproj
├── dclPostgresDAC21.res
├── dclPostgresDAC22.dpk
├── dclPostgresDAC22.dproj
├── dclPostgresDAC22.res
├── dclPostgresDAC23.dpk
├── dclPostgresDAC23.dproj
├── dclPostgresDAC23.res
├── dclPostgresDAC24.dpk
├── dclPostgresDAC24.dproj
├── dclPostgresDAC24.res
├── dclPostgresDAC25.dpk
├── dclPostgresDAC25.dproj
├── dclPostgresDAC25.res
├── dclPostgresDAC26.dpk
├── dclPostgresDAC26.dproj
├── dclPostgresDAC27.dpk
├── dclPostgresDAC27.dproj
├── dclPostgresDAC28.dpk
├── dclPostgresDAC28.dproj
├── dclPostgresDAC28.res
├── dclPostgresDAC29.dpk
├── dclPostgresDAC29.dproj
├── dclPostgresDAC29.res
├── dclPostgresDAC5.cfg
├── dclPostgresDAC5.dpk
├── dclPostgresDAC5.res
├── dclPostgresDAC6.cfg
├── dclPostgresDAC6.dpk
├── dclPostgresDAC6.res
├── dclPostgresDAC7.cfg
├── dclPostgresDAC7.dpk
├── dclPostgresDAC7.res
├── dclPostgresDAC9.bdsproj
├── dclPostgresDAC9.cfg
├── dclPostgresDAC9.dpk
├── dclPostgresDAC9.res
├── dclPostgresDACB5.bpk
├── dclPostgresDACB5.cpp
├── dclPostgresDACB5.res
├── dclPostgresDACB6.bpk
├── dclPostgresDACB6.cpp
├── dclPostgresDACB6.res
├── dclPostgresDACL.lpk
└── dclPostgresDACL.pas
├── README.md
├── Source
├── PDAC.DCR
├── PDAC.ico
├── PSQLAccess.pas
├── PSQLBatch.pas
├── PSQLCOMP.pas
├── PSQLCommon.pas
├── PSQLConnFrm.dfm
├── PSQLConnFrm.pas
├── PSQLCopy.pas
├── PSQLDAC.inc
├── PSQLDbTables.pas
├── PSQLDirectQuery.pas
├── PSQLDump.pas
├── PSQLExtMask.pas
├── PSQLFMXConnFrm.fmx
├── PSQLFMXConnFrm.pas
├── PSQLFields.pas
├── PSQLGeomTypes.pas
├── PSQLMacroQuery.pas
├── PSQLMigrator.pas
├── PSQLMonitor.pas
├── PSQLNotify.pas
├── PSQLQueryEdit.dfm
├── PSQLQueryEdit.pas
├── PSQLStoredProcFrm.dfm
├── PSQLStoredProcFrm.pas
├── PSQLTools.pas
├── PSQLTypes.pas
├── PSQLfldlinks.dfm
├── PSQLfldlinks.pas
├── PSQLupdsqled.dfm
├── PSQLupdsqled.pas
├── TPSQLSSHDatabase
│ ├── DEMO
│ │ ├── SSHDemo.cfg
│ │ ├── SSHDemo.dpr
│ │ ├── SSHDemo.res
│ │ ├── fuLogin.dfm
│ │ ├── fuLogin.pas
│ │ ├── fuMain.dfm
│ │ └── fuMain.pas
│ ├── SRC
│ │ ├── BDS2006
│ │ │ ├── PgSSHDatabaseBDS2006.bdsproj
│ │ │ ├── PgSSHDatabaseBDS2006.dpk
│ │ │ └── PgSSHDatabaseBDS2006.res
│ │ ├── Delphi5
│ │ │ ├── PgSSHDatabaseD5.dpk
│ │ │ └── PgSSHDatabaseD5.res
│ │ ├── Delphi6
│ │ │ ├── PgSSHDatabaseD6.dpk
│ │ │ └── PgSSHDatabaseD6.res
│ │ ├── Delphi7
│ │ │ ├── PgSSHDatabaseD7.dpk
│ │ │ └── PgSSHDatabaseD7.res
│ │ ├── Delphi9
│ │ │ ├── PgSSHDatabaseD9.dpk
│ │ │ └── PgSSHDatabaseD9.res
│ │ ├── PgSSHDatabase.pas
│ │ ├── PgSSHDatabase26.dpk
│ │ ├── PgSSHDatabase26.dproj
│ │ ├── RADStudio2007
│ │ │ ├── PgSSHDatabaseRADStudio2007.dpk
│ │ │ ├── PgSSHDatabaseRADStudio2007.dproj
│ │ │ └── PgSSHDatabaseRADStudio2007.res
│ │ ├── RADStudio2009
│ │ │ ├── PgSSHDatabaseRADStudio2009.dpk
│ │ │ ├── PgSSHDatabaseRADStudio2009.dproj
│ │ │ └── PgSSHDatabaseRADStudio2009.res
│ │ ├── RADStudio2010
│ │ │ ├── PgSSHDatabaseRADStudio2010.dpk
│ │ │ ├── PgSSHDatabaseRADStudio2010.dproj
│ │ │ └── PgSSHDatabaseRADStudio2010.res
│ │ ├── RADStudioDX
│ │ │ ├── PgSSHDatabaseRADStudio10.dpk
│ │ │ ├── PgSSHDatabaseRADStudio10.dproj
│ │ │ └── PgSSHDatabaseRADStudio10.res
│ │ ├── RADStudioXE
│ │ │ ├── PgSSHDatabaseRADStudioXE.dpk
│ │ │ ├── PgSSHDatabaseRADStudioXE.dproj
│ │ │ └── PgSSHDatabaseRADStudioXE.res
│ │ ├── RADStudioXE2
│ │ │ ├── PgSSHDatabaseRADStudioXE2.dpk
│ │ │ └── PgSSHDatabaseRADStudioXE2.dproj
│ │ ├── RADStudioXE3
│ │ │ ├── PgSSHDatabaseRADStudioXE3.dpk
│ │ │ └── PgSSHDatabaseRADStudioXE3.dproj
│ │ └── SSHDB.dcr
│ ├── install_ssh.txt
│ ├── wodSSHTunnel.cfg
│ ├── wodSSHTunnel.dpk
│ └── wodSSHTunnel.res
├── pg_dump_dll
│ ├── pg_dump_10
│ │ ├── Makefile
│ │ ├── common.c
│ │ ├── compress_io.c
│ │ ├── compress_io.h
│ │ ├── dumputils.c
│ │ ├── dumputils.h
│ │ ├── mi_global_pwd.c
│ │ ├── mi_global_pwd.h
│ │ ├── nls.mk
│ │ ├── parallel.c
│ │ ├── parallel.h
│ │ ├── pg_backup.h
│ │ ├── pg_backup_archiver.c
│ │ ├── pg_backup_archiver.h
│ │ ├── pg_backup_custom.c
│ │ ├── pg_backup_db.c
│ │ ├── pg_backup_db.h
│ │ ├── pg_backup_directory.c
│ │ ├── pg_backup_null.c
│ │ ├── pg_backup_tar.c
│ │ ├── pg_backup_tar.h
│ │ ├── pg_backup_utils.c
│ │ ├── pg_backup_utils.h
│ │ ├── pg_dump.c
│ │ ├── pg_dump.h
│ │ ├── pg_dump_dll.h
│ │ ├── pg_dump_sort.c
│ │ ├── pg_dumpall.c
│ │ ├── pg_restore.c
│ │ ├── pg_restore_dll.h
│ │ └── win32ver.rc
│ ├── pg_dump_12
│ │ ├── Makefile
│ │ ├── common.c
│ │ ├── compress_io.c
│ │ ├── compress_io.h
│ │ ├── dumputils.c
│ │ ├── dumputils.h
│ │ ├── mi_global_pwd.c
│ │ ├── mi_global_pwd.h
│ │ ├── nls.mk
│ │ ├── parallel.c
│ │ ├── parallel.h
│ │ ├── pg_backup.h
│ │ ├── pg_backup_archiver.c
│ │ ├── pg_backup_archiver.h
│ │ ├── pg_backup_custom.c
│ │ ├── pg_backup_db.c
│ │ ├── pg_backup_db.h
│ │ ├── pg_backup_directory.c
│ │ ├── pg_backup_null.c
│ │ ├── pg_backup_tar.c
│ │ ├── pg_backup_tar.h
│ │ ├── pg_backup_utils.c
│ │ ├── pg_backup_utils.h
│ │ ├── pg_dump.c
│ │ ├── pg_dump.h
│ │ ├── pg_dump_dll.h
│ │ ├── pg_dump_sort.c
│ │ ├── pg_dumpall.c
│ │ ├── pg_restore.c
│ │ ├── pg_restore_dll.h
│ │ └── win32ver.rc
│ └── pg_dump_13
│ │ ├── Makefile
│ │ ├── common.c
│ │ ├── compress_io.c
│ │ ├── compress_io.h
│ │ ├── dumputils.c
│ │ ├── dumputils.h
│ │ ├── mi_global_pwd.c
│ │ ├── mi_global_pwd.h
│ │ ├── nls.mk
│ │ ├── parallel.c
│ │ ├── parallel.h
│ │ ├── pg_backup.h
│ │ ├── pg_backup_archiver.c
│ │ ├── pg_backup_archiver.h
│ │ ├── pg_backup_custom.c
│ │ ├── pg_backup_db.c
│ │ ├── pg_backup_db.h
│ │ ├── pg_backup_directory.c
│ │ ├── pg_backup_null.c
│ │ ├── pg_backup_tar.c
│ │ ├── pg_backup_tar.h
│ │ ├── pg_backup_utils.c
│ │ ├── pg_backup_utils.h
│ │ ├── pg_dump.c
│ │ ├── pg_dump.h
│ │ ├── pg_dump_dll.h
│ │ ├── pg_dump_sort.c
│ │ ├── pg_dumpall.c
│ │ ├── pg_restore.c
│ │ ├── pg_restore_dll.h
│ │ └── win32ver.rc
├── psqlAboutFrm.dfm
├── psqlAboutFrm.lfm
├── psqlAboutFrm.lrs
└── psqlAboutFrm.pas
└── UnitTest
├── PDACTest.dpr
├── PDACTest.dproj
├── PDACTest.res
├── PDACTest_DUnitX.dpr
├── PSQLBatchTest.pas
├── PSQLBlobsTest.pas
├── PSQLCopyTest.pas
├── PSQLDatabaseTest.pas
├── PSQLDumpTest.pas
├── PSQLErrorsTest.pas
├── PSQLFieldsTest.pas
├── PSQLNotifyTest.pas
├── PSQLQueryTest.pas
├── PSQLTableTest.pas
├── PSQLToolsTest.pas
├── PSQLTypesTest.pas
├── TestData
├── correct_ips.txt
├── incorrect_ips.txt
├── tasks.csv
└── test.bmp
├── TestHelper.pas
├── TestXHelper.pas
└── __DelAllTemp.bat
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Ignore modified PostgreSQL sources
2 | Source/pg_dump_dll/** linguist-vendored
3 |
--------------------------------------------------------------------------------
/.github/dependabot.yml:
--------------------------------------------------------------------------------
1 | version: 2
2 | updates:
3 |
4 | # Maintain dependencies for GitHub Actions
5 | - package-ecosystem: "github-actions"
6 | directory: "/"
7 | schedule:
8 | interval: "daily"
9 |
--------------------------------------------------------------------------------
/.github/workflows/stale.yml:
--------------------------------------------------------------------------------
1 | name: Close Stale Issues and PRs
2 |
3 | on:
4 | schedule:
5 | - cron: '0 0 * * *'
6 |
7 | workflow_dispatch:
8 |
9 |
10 | jobs:
11 | stale:
12 | runs-on: ubuntu-latest
13 | steps:
14 | - uses: actions/stale@v9
15 | with:
16 | repo-token: ${{ secrets.GITHUB_TOKEN }}
17 | stale-issue-label: 'stale'
18 | stale-pr-label: 'stale'
19 | stale-issue-message: |
20 | 📅 This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs.
21 | ♻️ If you think there is new information allowing us to address the issue, please reopen it and provide us with updated details.
22 | 🤝 Thank you for your contributions.
23 | stale-pr-message: |
24 | 📅 This PR has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs.
25 | ♻️ If you think there is new information allowing us to address this PR, please reopen it and provide us with updated details.
26 | 🤝 Thank you for your contributions.
27 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | __*
2 | *.~*
3 | *.dcu
4 | *.stat
5 | *.dof
6 | *.hpp
7 | *.tds
8 | *.obj
9 | *.exe
10 | *.map
11 | *.mps
12 | *.mpt
13 | *.dsk
14 | *.drc
15 | *.elf
16 | *.ddp
17 | *.bak
18 | *.bpl
19 | *.lib
20 | *.dcp
21 | *.bpi
22 | *.ilc
23 | *.ild
24 | *.ilf
25 | *.ils
26 | *.identcache
27 | *.local
28 | *.ppu
29 | *.compiled
30 | *.o
31 | *.obj
32 | PDACTest.conf
33 |
34 | UnitTest/*.html
35 | UnitTest/dunit.ini
36 | UnitTest/TestOutput
37 | UnitTest/TestData
--------------------------------------------------------------------------------
/Demos/Delphi.FMX/GridDemo/ConnFrmFMX.pas:
--------------------------------------------------------------------------------
1 | unit ConnFrmFMX;
2 |
3 | interface
4 |
5 | uses
6 | System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
7 | FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Edit,PSQLDbTables, FMX.StdCtrls;
8 |
9 | type
10 | TPConnDlgFMX = class(TForm)
11 | Lb1: TLabel;
12 | Lb2: TLabel;
13 | Lb3: TLabel;
14 | Lb4: TLabel;
15 | Lb5: TLabel;
16 | DBName: TEdit;
17 | DBUserID: TEdit;
18 | DBPasswd: TEdit;
19 | DBHost: TEdit;
20 | DBPort: TEdit;
21 | OkBtn: TButton;
22 | CancelBtn: TButton;
23 | StyleBook1: TStyleBook;
24 | private
25 | { Private declarations }
26 | Database: TPSQLDatabase;
27 | function Edit: Boolean;
28 | public
29 | { Public declarations }
30 | procedure GetDatabaseProperty(Db: TPSQLDatabase);
31 | procedure SetDatabaseProperty(Db: TPSQLDatabase);
32 | end;
33 | function ShowConnectDlg(ADatabase: TPSQLDatabase): Boolean;
34 | var
35 | PConnDlgFMX: TPConnDlgFMX;
36 |
37 | implementation
38 |
39 | {$R *.fmx}
40 |
41 | function ShowConnectDlg(ADatabase: TPSQLDatabase): Boolean;
42 | begin
43 | with TPConnDlgFMX.Create(Application) do
44 | try
45 | Database := ADatabase;
46 | Result := Edit;
47 | finally
48 | Free;
49 | end;
50 | end;
51 |
52 | function TPConnDlgFMX.Edit: Boolean;
53 | begin
54 | GetDatabaseProperty(Database);
55 | Result := False;
56 | if ShowModal = mrOk then
57 | begin
58 | SetDatabaseProperty(Database);
59 | Result := True;
60 | end;
61 | end;
62 |
63 | procedure TPConnDlgFMX.GetDatabaseProperty(Db: TPSQLDatabase);
64 | begin
65 | DBName.Text := DB.DatabaseName;
66 | DBUserId.Text := db.UserName;
67 | DBPasswd.Text := db.UserPassword;
68 | DBHost.Text := Db.Host;
69 | DBPort.Text := IntToStr(Db.Port);
70 | end;
71 |
72 | procedure TPConnDlgFMX.SetDatabaseProperty(Db: TPSQLDatabase);
73 | begin
74 | DB.DatabaseName := DBName.Text;
75 | db.UserName := DBUserId.Text;
76 | db.UserPassword := DBPasswd.Text;
77 | Db.Host := DBHost.Text;
78 | Db.Port := StrToInt(DBPort.Text);
79 | end;
80 |
81 | end.
82 |
--------------------------------------------------------------------------------
/Demos/Delphi.FMX/GridDemo/PosgresSQL_Grid_demo.dpr:
--------------------------------------------------------------------------------
1 | program PosgresSQL_Grid_demo;
2 |
3 | uses
4 | FMX.Forms,
5 | Unit1 in 'Unit1.pas' {Form1},
6 | ConnFrmFMX in 'ConnFrmFMX.pas' {PConnDlgFMX};
7 |
8 | {$R *.res}
9 |
10 | begin
11 | Application.Initialize;
12 | Application.CreateForm(TForm1, Form1);
13 | Application.CreateForm(TPConnDlgFMX, PConnDlgFMX);
14 | Application.Run;
15 | end.
16 |
--------------------------------------------------------------------------------
/Demos/Delphi.FMX/GridDemo/PosgresSQL_Grid_demo.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Demos/Delphi.FMX/GridDemo/PosgresSQL_Grid_demo.res
--------------------------------------------------------------------------------
/Demos/Delphi.FMX/Locate/ConnFrmFMX.pas:
--------------------------------------------------------------------------------
1 | unit ConnFrmFMX;
2 |
3 | interface
4 |
5 | uses
6 | System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
7 | FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Edit,PSQLDbTables;
8 |
9 | type
10 | TPConnDlgFMX = class(TForm)
11 | Lb1: TLabel;
12 | Lb2: TLabel;
13 | Lb3: TLabel;
14 | Lb4: TLabel;
15 | Lb5: TLabel;
16 | DBName: TEdit;
17 | DBUserID: TEdit;
18 | DBPasswd: TEdit;
19 | DBHost: TEdit;
20 | DBPort: TEdit;
21 | OkBtn: TButton;
22 | CancelBtn: TButton;
23 | StyleBook1: TStyleBook;
24 | private
25 | { Private declarations }
26 | Database: TPSQLDatabase;
27 | function Edit: Boolean;
28 | public
29 | { Public declarations }
30 | procedure GetDatabaseProperty(Db: TPSQLDatabase);
31 | procedure SetDatabaseProperty(Db: TPSQLDatabase);
32 | end;
33 | function ShowConnectDlg(ADatabase: TPSQLDatabase): Boolean;
34 | var
35 | PConnDlgFMX: TPConnDlgFMX;
36 |
37 | implementation
38 |
39 | {$R *.fmx}
40 |
41 | function ShowConnectDlg(ADatabase: TPSQLDatabase): Boolean;
42 | begin
43 | with TPConnDlgFMX.Create(Application) do
44 | try
45 | Database := ADatabase;
46 | Result := Edit;
47 | finally
48 | Free;
49 | end;
50 | end;
51 |
52 | function TPConnDlgFMX.Edit: Boolean;
53 | begin
54 | GetDatabaseProperty(Database);
55 | Result := False;
56 | if ShowModal = mrOk then
57 | begin
58 | SetDatabaseProperty(Database);
59 | Result := True;
60 | end;
61 | end;
62 |
63 | procedure TPConnDlgFMX.GetDatabaseProperty(Db: TPSQLDatabase);
64 | begin
65 | DBName.Text := DB.DatabaseName;
66 | DBUserId.Text := db.UserName;
67 | DBPasswd.Text := db.UserPassword;
68 | DBHost.Text := Db.Host;
69 | DBPort.Text := IntToStr(Db.Port);
70 | end;
71 |
72 | procedure TPConnDlgFMX.SetDatabaseProperty(Db: TPSQLDatabase);
73 | begin
74 | DB.DatabaseName := DBName.Text;
75 | db.UserName := DBUserId.Text;
76 | db.UserPassword := DBPasswd.Text;
77 | Db.Host := DBHost.Text;
78 | Db.Port := StrToInt(DBPort.Text);
79 | end;
80 |
81 | end.
82 |
--------------------------------------------------------------------------------
/Demos/Delphi.FMX/Locate/LocateFMX.dpr:
--------------------------------------------------------------------------------
1 | program LocateFMX;
2 |
3 | uses
4 | FMX.Forms,
5 | Unit1 in 'Unit1.pas' {Form1},
6 | ConnFrmFMX in 'ConnFrmFMX.pas' {PConnDlgFMX};
7 |
8 | {$R *.res}
9 |
10 | begin
11 | Application.Initialize;
12 | Application.CreateForm(TForm1, Form1);
13 | Application.CreateForm(TPConnDlgFMX, PConnDlgFMX);
14 | Application.Run;
15 | end.
16 |
--------------------------------------------------------------------------------
/Demos/Delphi.FMX/Locate/LocateFMX.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Demos/Delphi.FMX/Locate/LocateFMX.res
--------------------------------------------------------------------------------
/Demos/Delphi.FMX/MasterDetail/ConnFrmFMX.pas:
--------------------------------------------------------------------------------
1 | unit ConnFrmFMX;
2 |
3 | interface
4 |
5 | uses
6 | System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
7 | FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Edit,PSQLDbTables;
8 |
9 | type
10 | TPConnDlgFMX = class(TForm)
11 | Lb1: TLabel;
12 | Lb2: TLabel;
13 | Lb3: TLabel;
14 | Lb4: TLabel;
15 | Lb5: TLabel;
16 | DBName: TEdit;
17 | DBUserID: TEdit;
18 | DBPasswd: TEdit;
19 | DBHost: TEdit;
20 | DBPort: TEdit;
21 | OkBtn: TButton;
22 | CancelBtn: TButton;
23 | StyleBook1: TStyleBook;
24 | private
25 | { Private declarations }
26 | Database: TPSQLDatabase;
27 | function Edit: Boolean;
28 | public
29 | { Public declarations }
30 | procedure GetDatabaseProperty(Db: TPSQLDatabase);
31 | procedure SetDatabaseProperty(Db: TPSQLDatabase);
32 | end;
33 | function ShowConnectDlg(ADatabase: TPSQLDatabase): Boolean;
34 | var
35 | PConnDlgFMX: TPConnDlgFMX;
36 |
37 | implementation
38 |
39 | {$R *.fmx}
40 |
41 | function ShowConnectDlg(ADatabase: TPSQLDatabase): Boolean;
42 | begin
43 | with TPConnDlgFMX.Create(Application) do
44 | try
45 | Database := ADatabase;
46 | Result := Edit;
47 | finally
48 | Free;
49 | end;
50 | end;
51 |
52 | function TPConnDlgFMX.Edit: Boolean;
53 | begin
54 | GetDatabaseProperty(Database);
55 | Result := False;
56 | if ShowModal = mrOk then
57 | begin
58 | SetDatabaseProperty(Database);
59 | Result := True;
60 | end;
61 | end;
62 |
63 | procedure TPConnDlgFMX.GetDatabaseProperty(Db: TPSQLDatabase);
64 | begin
65 | DBName.Text := DB.DatabaseName;
66 | DBUserId.Text := db.UserName;
67 | DBPasswd.Text := db.UserPassword;
68 | DBHost.Text := Db.Host;
69 | DBPort.Text := IntToStr(Db.Port);
70 | end;
71 |
72 | procedure TPConnDlgFMX.SetDatabaseProperty(Db: TPSQLDatabase);
73 | begin
74 | DB.DatabaseName := DBName.Text;
75 | db.UserName := DBUserId.Text;
76 | db.UserPassword := DBPasswd.Text;
77 | Db.Host := DBHost.Text;
78 | Db.Port := StrToInt(DBPort.Text);
79 | end;
80 |
81 | end.
82 |
--------------------------------------------------------------------------------
/Demos/Delphi.FMX/MasterDetail/MasterDetail_demo.dpr:
--------------------------------------------------------------------------------
1 | program MasterDetail_demo;
2 |
3 | uses
4 | FMX.Forms,
5 | Unit1 in 'Unit1.pas' {Form1},
6 | ConnFrmFMX in 'ConnFrmFMX.pas' {PConnDlgFMX};
7 |
8 | {$R *.res}
9 |
10 | begin
11 | Application.Initialize;
12 | Application.CreateForm(TForm1, Form1);
13 | Application.CreateForm(TPConnDlgFMX, PConnDlgFMX);
14 | Application.Run;
15 | end.
16 |
--------------------------------------------------------------------------------
/Demos/Delphi.FMX/MasterDetail/MasterDetail_demo.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Demos/Delphi.FMX/MasterDetail/MasterDetail_demo.res
--------------------------------------------------------------------------------
/Demos/Delphi.FMX/MasterDetail/PosgresSQL_Grid_demo.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Demos/Delphi.FMX/MasterDetail/PosgresSQL_Grid_demo.res
--------------------------------------------------------------------------------
/Demos/Delphi.FMX/MobileGridDemo/AndroidManifest.template.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
10 |
11 | <%uses-permission%>
12 |
13 |
21 |
22 | <%application-meta-data%>
23 | <%services%>
24 |
26 |
30 |
31 |
33 |
34 |
35 |
36 |
37 |
38 | <%activity%>
39 | <%receivers%>
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/Demos/Delphi.FMX/MobileGridDemo/MobileGridDemo.dpr:
--------------------------------------------------------------------------------
1 | program MobileGridDemo;
2 |
3 | uses
4 | System.StartUpCopy,
5 | FMX.Forms,
6 | fmMobileGrid in 'fmMobileGrid.pas' {Form1};
7 |
8 | {$R *.res}
9 |
10 | begin
11 | Application.Initialize;
12 | Application.CreateForm(TForm1, Form1);
13 | Application.Run;
14 | end.
15 |
--------------------------------------------------------------------------------
/Demos/Delphi.FMX/MobileGridDemo/fmMobileGrid.SmXhdpiPh.fmx:
--------------------------------------------------------------------------------
1 | inherited Form1_SmXhdpiPh: TForm1_SmXhdpiPh
2 | ClientHeight = 375
3 | ClientWidth = 250
4 | DesignerMasterStyle = 0
5 | inherited Connect: TButton [0]
6 | Position.X = 64.000000000000000000
7 | Position.Y = 16.000000000000000000
8 | Size.Height = 81.000000000000000000
9 | end
10 | inherited Label1: TLabel [1]
11 | Position.X = 304.000000000000000000
12 | end
13 | inherited Memo1: TMemo [2]
14 | Size.Width = 250.000000000000000000
15 | Size.Height = 375.000000000000000000
16 | Viewport.Width = 242.000000000000000000
17 | Viewport.Height = 367.000000000000000000
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Demos/Delphi.FMX/MobileGridDemo/fmMobileGrid.fmx:
--------------------------------------------------------------------------------
1 | object Form1: TForm1
2 | Left = 0
3 | Top = 0
4 | Caption = 'Form1'
5 | ClientHeight = 480
6 | ClientWidth = 640
7 | FormFactor.Width = 320
8 | FormFactor.Height = 480
9 | FormFactor.Devices = [Desktop]
10 | DesignerMasterStyle = 0
11 | object Memo1: TMemo
12 | Touch.InteractiveGestures = [Pan, LongTap, DoubleTap]
13 | DataDetectorTypes = []
14 | Align = Client
15 | Size.Width = 640.000000000000000000
16 | Size.Height = 480.000000000000000000
17 | Size.PlatformDefault = False
18 | TabOrder = 7
19 | Viewport.Width = 636.000000000000000000
20 | Viewport.Height = 476.000000000000000000
21 | end
22 | object Connect: TButton
23 | Position.X = 176.000000000000000000
24 | Position.Y = 32.000000000000000000
25 | Size.Width = 105.000000000000000000
26 | Size.Height = 33.000000000000000000
27 | Size.PlatformDefault = False
28 | TabOrder = 2
29 | Text = 'Connect'
30 | OnClick = ConnectClick
31 | end
32 | object Label1: TLabel
33 | Position.Y = 88.000000000000000000
34 | Size.Width = 289.000000000000000000
35 | Size.Height = 41.000000000000000000
36 | Size.PlatformDefault = False
37 | Text = 'Label1'
38 | end
39 | object PSQLDatabase1: TPSQLDatabase
40 | CharSet = 'UTF8'
41 | Params.Strings = (
42 | 'connect_timeout=15'
43 | 'dbname=Test'
44 | 'user='
45 | 'password='
46 | 'hostaddr='
47 | 'port=5432'
48 | 'sslmode=prefer')
49 | Left = 24
50 | Top = 24
51 | end
52 | object PSQLQuery1: TPSQLQuery
53 | Database = PSQLDatabase1
54 | Options = [dsoUseGUIDField]
55 | SQL.Strings = (
56 | 'SELECT * FROM "test"')
57 | Left = 88
58 | Top = 24
59 | end
60 | end
61 |
--------------------------------------------------------------------------------
/Demos/Delphi.FMX/MobileGridDemo/fmMobileGrid.pas:
--------------------------------------------------------------------------------
1 | unit fmMobileGrid;
2 |
3 | interface
4 |
5 | uses
6 | System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
7 | FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, System.Rtti,
8 | FMX.Grid.Style, Data.Bind.EngExt, Fmx.Bind.DBEngExt, Fmx.Bind.Grid,
9 | System.Bindings.Outputs, Fmx.Bind.Editors, Data.Bind.Components,
10 | Data.Bind.Grid, Data.Bind.DBScope, FMX.ScrollBox, FMX.Grid,
11 | FMX.Controls.Presentation, FMX.StdCtrls, Data.DB, PSQLDbTables, FMX.Memo;
12 |
13 | type
14 | TForm1 = class(TForm)
15 | PSQLDatabase1: TPSQLDatabase;
16 | Connect: TButton;
17 | Label1: TLabel;
18 | PSQLQuery1: TPSQLQuery;
19 | Memo1: TMemo;
20 | procedure ConnectClick(Sender: TObject);
21 | private
22 | { Private declarations }
23 | public
24 | { Public declarations }
25 | end;
26 |
27 | var
28 | Form1: TForm1;
29 |
30 | implementation
31 |
32 | {$R *.fmx}
33 | {$R *.SmXhdpiPh.fmx ANDROID}
34 |
35 |
36 | procedure TForm1.ConnectClick(Sender: TObject);
37 | begin
38 | PSQLDatabase1.Open;
39 | Label1.Text := PSQLDatabase1.ServerVersion;
40 | PSQLQuery1.Open;
41 | while not PSQLQuery1.Eof do
42 | Memo1.Lines.Append(PSQLQuery1.Fields[0].AsString);
43 | end;
44 |
45 | end.
46 |
--------------------------------------------------------------------------------
/Demos/Delphi.FMX/MobileGridDemo/fmMobileGrid.vlb:
--------------------------------------------------------------------------------
1 | [PSQLDatabase1]
2 | Coordinates=146,78,110,36
3 |
4 | [Connect]
5 | Coordinates=370,30,62,58
6 |
7 | []
8 | Coordinates=190,100,46,58
9 | Visible=True
10 |
11 | [PSQLQuery1]
12 | Coordinates=72,1,90,58
13 |
14 | [Label1]
15 | Coordinates=0,0,53,58
16 |
17 |
--------------------------------------------------------------------------------
/Demos/Delphi.FMX/Table2txt/ConnFrmFMX.pas:
--------------------------------------------------------------------------------
1 | unit ConnFrmFMX;
2 |
3 | interface
4 |
5 | uses
6 | System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
7 | FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Edit,PSQLDbTables;
8 |
9 | type
10 | TPConnDlgFMX = class(TForm)
11 | Lb1: TLabel;
12 | Lb2: TLabel;
13 | Lb3: TLabel;
14 | Lb4: TLabel;
15 | Lb5: TLabel;
16 | DBName: TEdit;
17 | DBUserID: TEdit;
18 | DBPasswd: TEdit;
19 | DBHost: TEdit;
20 | DBPort: TEdit;
21 | OkBtn: TButton;
22 | CancelBtn: TButton;
23 | StyleBook1: TStyleBook;
24 | private
25 | { Private declarations }
26 | Database: TPSQLDatabase;
27 | function Edit: Boolean;
28 | public
29 | { Public declarations }
30 | procedure GetDatabaseProperty(Db: TPSQLDatabase);
31 | procedure SetDatabaseProperty(Db: TPSQLDatabase);
32 | end;
33 | function ShowConnectDlg(ADatabase: TPSQLDatabase): Boolean;
34 | var
35 | PConnDlgFMX: TPConnDlgFMX;
36 |
37 | implementation
38 |
39 | {$R *.fmx}
40 |
41 | function ShowConnectDlg(ADatabase: TPSQLDatabase): Boolean;
42 | begin
43 | with TPConnDlgFMX.Create(Application) do
44 | try
45 | Database := ADatabase;
46 | Result := Edit;
47 | finally
48 | Free;
49 | end;
50 | end;
51 |
52 | function TPConnDlgFMX.Edit: Boolean;
53 | begin
54 | GetDatabaseProperty(Database);
55 | Result := False;
56 | if ShowModal = mrOk then
57 | begin
58 | SetDatabaseProperty(Database);
59 | Result := True;
60 | end;
61 | end;
62 |
63 | procedure TPConnDlgFMX.GetDatabaseProperty(Db: TPSQLDatabase);
64 | begin
65 | DBName.Text := DB.DatabaseName;
66 | DBUserId.Text := db.UserName;
67 | DBPasswd.Text := db.UserPassword;
68 | DBHost.Text := Db.Host;
69 | DBPort.Text := IntToStr(Db.Port);
70 | end;
71 |
72 | procedure TPConnDlgFMX.SetDatabaseProperty(Db: TPSQLDatabase);
73 | begin
74 | DB.DatabaseName := DBName.Text;
75 | db.UserName := DBUserId.Text;
76 | db.UserPassword := DBPasswd.Text;
77 | Db.Host := DBHost.Text;
78 | Db.Port := StrToInt(DBPort.Text);
79 | end;
80 |
81 | end.
82 |
--------------------------------------------------------------------------------
/Demos/Delphi.FMX/Table2txt/Table2TXT.dpr:
--------------------------------------------------------------------------------
1 | program Table2TXT;
2 |
3 | uses
4 | FMX.Forms,
5 | Unit1 in 'Unit1.pas' {Form1},
6 | ConnFrmFMX in 'ConnFrmFMX.pas' {PConnDlgFMX};
7 |
8 | {$R *.res}
9 |
10 | begin
11 | Application.Initialize;
12 | Application.CreateForm(TForm1, Form1);
13 | Application.CreateForm(TPConnDlgFMX, PConnDlgFMX);
14 | Application.Run;
15 | end.
16 |
--------------------------------------------------------------------------------
/Demos/Delphi.FMX/Table2txt/Table2TXT.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Demos/Delphi.FMX/Table2txt/Table2TXT.res
--------------------------------------------------------------------------------
/Demos/Delphi.VCL/GridDemo/ConnFrm.pas:
--------------------------------------------------------------------------------
1 | unit ConnFrm;
2 |
3 | interface
4 |
5 | uses
6 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
7 | StdCtrls, ExtCtrls,PSQLDbTables;
8 |
9 | type
10 | TConnectDlg = class(TForm)
11 | Bevel1: TBevel;
12 | Label1: TLabel;
13 | Label2: TLabel;
14 | DBUserID: TEdit;
15 | DBPasswd: TEdit;
16 | Label3: TLabel;
17 | DBName: TEdit;
18 | Label4: TLabel;
19 | DBHost: TEdit;
20 | Label5: TLabel;
21 | DBPort: TEdit;
22 | OkBtn: TButton;
23 | CancelBtn: TButton;
24 | private
25 | { Private declarations }
26 | Database: TPSQLDatabase;
27 | function Edit: Boolean;
28 | public
29 | { Public declarations }
30 | procedure GetDatabaseProperty(Db: TPSQLDatabase);
31 | procedure SetDatabaseProperty(Db: TPSQLDatabase);
32 | end;
33 |
34 | function ShowConnectDlg(ADatabase: TPSQLDatabase): Boolean;
35 |
36 | var
37 | ConnectDlg: TConnectDlg;
38 |
39 | implementation
40 |
41 | {$R *.DFM}
42 |
43 | function ShowConnectDlg(ADatabase: TPSQLDatabase): Boolean;
44 | begin
45 | with TConnectDlg.Create(Application) do
46 | try
47 | Database := ADatabase;
48 | Result := Edit;
49 | finally
50 | Free;
51 | end;
52 | end;
53 |
54 | function TConnectDlg.Edit: Boolean;
55 | begin
56 | GetDatabaseProperty(Database);
57 | Result := False;
58 | if ShowModal = mrOk then
59 | begin
60 | SetDatabaseProperty(Database);
61 | Result := True;
62 | end;
63 | end;
64 |
65 | procedure TConnectDlg.GetDatabaseProperty(Db: TPSQLDatabase);
66 | begin
67 | DBName.Text := DB.DatabaseName;
68 | DBUserId.Text := db.UserName;
69 | DBPasswd.Text := db.UserPassword;
70 | DBHost.Text := Db.Host;
71 | DBPort.Text := IntToStr(Db.Port);
72 | end;
73 |
74 | procedure TConnectDlg.SetDatabaseProperty(Db: TPSQLDatabase);
75 | begin
76 | DB.DatabaseName := DBName.Text;
77 | db.UserName := DBUserId.Text;
78 | db.UserPassword := DBPasswd.Text;
79 | Db.Host := DBHost.Text;
80 | Db.Port := StrToInt(DBPort.Text);
81 | end;
82 |
83 | end.
84 |
85 |
86 |
--------------------------------------------------------------------------------
/Demos/Delphi.VCL/GridDemo/Grid_Demo.dpr:
--------------------------------------------------------------------------------
1 | program Grid_Demo;
2 |
3 | uses
4 | Forms,
5 | MainFrm in 'MainFrm.pas' {Form1},
6 | ConnFrm in 'ConnFrm.pas' {ConnectDlg};
7 |
8 | {$R *.RES}
9 |
10 | begin
11 | Application.Initialize;
12 | Application.CreateForm(TForm1, Form1);
13 | Application.CreateForm(TConnectDlg, ConnectDlg);
14 | Application.Run;
15 | end.
16 |
--------------------------------------------------------------------------------
/Demos/Delphi.VCL/GridDemo/Grid_Demo.lpr:
--------------------------------------------------------------------------------
1 | program Grid_Demo;
2 |
3 | {$MODE Delphi}
4 |
5 | uses
6 | Forms, Interfaces,
7 | MainFrm in 'MainFrm.pas' {Form1},
8 | ConnFrm in 'ConnFrm.pas' {ConnectDlg};
9 |
10 | begin
11 | Application.Initialize;
12 | Application.CreateForm(TForm1, Form1);
13 | Application.CreateForm(TConnectDlg, ConnectDlg);
14 | Application.Run;
15 | end.
16 |
--------------------------------------------------------------------------------
/Demos/Delphi.VCL/GridDemo/Grid_Demo.lps:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
--------------------------------------------------------------------------------
/Demos/Delphi.VCL/GridDemo/Grid_Demo.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Demos/Delphi.VCL/GridDemo/Grid_Demo.res
--------------------------------------------------------------------------------
/Demos/Delphi.VCL/GridDemo/MainFrm.pas:
--------------------------------------------------------------------------------
1 | unit MainFrm;
2 |
3 | interface
4 |
5 | uses
6 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
7 | StdCtrls, ExtCtrls, DBCtrls, Grids, DBGrids, Db, PSQLDbTables;
8 |
9 | type
10 | TForm1 = class(TForm)
11 | Database1: TPSQLDatabase;
12 | Table1: TPSQLTable;
13 | DataSource1: TDataSource;
14 | DBGrid1: TDBGrid;
15 | DBNavigator1: TDBNavigator;
16 | Panel1: TPanel;
17 | Closebtn: TButton;
18 | Connectbtn: TButton;
19 | Label1: TLabel;
20 | Panel2: TPanel;
21 | StaticText1: TStaticText;
22 | procedure ConnectbtnClick(Sender: TObject);
23 | procedure Table1AfterScroll(DataSet: TDataSet);
24 | procedure ClosebtnClick(Sender: TObject);
25 | private
26 | { Private declarations }
27 | public
28 | { Public declarations }
29 | end;
30 |
31 | var
32 | Form1: TForm1;
33 |
34 | implementation
35 |
36 | uses ConnFrm;
37 |
38 | {$R *.DFM}
39 |
40 | procedure TForm1.ConnectbtnClick(Sender: TObject);
41 | begin
42 | if Database1.Connected then
43 | begin
44 | ConnectBtn.Caption := 'Connect';
45 | Database1.Connected := False;
46 | Label1.Caption := Format('Row %d, Total %d',[0, 0]);
47 | end else
48 | begin
49 | if ShowConnectDlg(Database1) then
50 | begin
51 | try
52 | Database1.Connected := true;
53 | Screen.Cursor := crSQLWait;
54 | Table1.Active := true;
55 | Screen.Cursor := crDefault;
56 | ConnectBtn.Caption := 'Disconnect';
57 | except
58 | on E:Exception do
59 | begin
60 | Application.MessageBox(PChar(E.Message), 'FishFact connection fault',
61 | MB_OK or MB_ICONINFORMATION);
62 | end;
63 | end;
64 | end;
65 | end;
66 | end;
67 |
68 | procedure TForm1.Table1AfterScroll(DataSet: TDataSet);
69 | begin
70 | Label1.Caption := Format('Row %d, Total %d',[Table1.RecNo, Table1.RecordCount])
71 | end;
72 |
73 | procedure TForm1.ClosebtnClick(Sender: TObject);
74 | begin
75 | Close;
76 | end;
77 |
78 | end.
79 |
--------------------------------------------------------------------------------
/Demos/Delphi.VCL/Monitor/ConnFrm.pas:
--------------------------------------------------------------------------------
1 | unit ConnFrm;
2 |
3 | interface
4 |
5 | uses
6 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
7 | StdCtrls, ExtCtrls,PSQLDbTables;
8 |
9 | type
10 | TConnectDlg = class(TForm)
11 | Bevel1: TBevel;
12 | Label1: TLabel;
13 | Label2: TLabel;
14 | DBUserID: TEdit;
15 | DBPasswd: TEdit;
16 | Label3: TLabel;
17 | DBName: TEdit;
18 | Label4: TLabel;
19 | DBHost: TEdit;
20 | Label5: TLabel;
21 | DBPort: TEdit;
22 | OkBtn: TButton;
23 | CancelBtn: TButton;
24 | private
25 | { Private declarations }
26 | Database: TPSQLDatabase;
27 | function Edit: Boolean;
28 | public
29 | { Public declarations }
30 | procedure GetDatabaseProperty(Db: TPSQLDatabase);
31 | procedure SetDatabaseProperty(Db: TPSQLDatabase);
32 | end;
33 |
34 | function ShowConnectDlg(ADatabase: TPSQLDatabase): Boolean;
35 |
36 | var
37 | ConnectDlg: TConnectDlg;
38 |
39 | implementation
40 |
41 | {$R *.DFM}
42 |
43 | function ShowConnectDlg(ADatabase: TPSQLDatabase): Boolean;
44 | begin
45 | with TConnectDlg.Create(Application) do
46 | try
47 | Database := ADatabase;
48 | Result := Edit;
49 | finally
50 | Free;
51 | end;
52 | end;
53 |
54 | function TConnectDlg.Edit: Boolean;
55 | begin
56 | GetDatabaseProperty(Database);
57 | Result := False;
58 | if ShowModal = mrOk then
59 | begin
60 | SetDatabaseProperty(Database);
61 | Result := True;
62 | end;
63 | end;
64 |
65 | procedure TConnectDlg.GetDatabaseProperty(Db: TPSQLDatabase);
66 | begin
67 | DBName.Text := DB.DatabaseName;
68 | DBUserId.Text := db.UserName;
69 | DBPasswd.Text := db.UserPassword;
70 | DBHost.Text := Db.Host;
71 | DBPort.Text := IntToStr(Db.Port);
72 | end;
73 |
74 | procedure TConnectDlg.SetDatabaseProperty(Db: TPSQLDatabase);
75 | begin
76 | DB.DatabaseName := DBName.Text;
77 | db.UserName := DBUserId.Text;
78 | db.UserPassword := DBPasswd.Text;
79 | Db.Host := DBHost.Text;
80 | Db.Port := StrToInt(DBPort.Text);
81 | end;
82 |
83 | end.
84 |
85 |
86 |
--------------------------------------------------------------------------------
/Demos/Delphi.VCL/Monitor/monitor_example.cfg:
--------------------------------------------------------------------------------
1 | -$A+
2 | -$B-
3 | -$C+
4 | -$D+
5 | -$E-
6 | -$F-
7 | -$G+
8 | -$H+
9 | -$I+
10 | -$J+
11 | -$K-
12 | -$L+
13 | -$M-
14 | -$N+
15 | -$O+
16 | -$P+
17 | -$Q-
18 | -$R-
19 | -$S-
20 | -$T-
21 | -$U-
22 | -$V+
23 | -$W-
24 | -$X+
25 | -$YD
26 | -$Z1
27 | -GD
28 | -cg
29 | -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
30 | -H+
31 | -W+
32 | -M
33 | -$M16384,1048576
34 | -K$00400000
35 | -LE"c:\program files\borland\delphi5\Projects\Bpl"
36 | -LN"c:\program files\borland\delphi5\Projects\Bpl"
37 | -DEUREKALOG;EUREKALOG_VER6
38 |
--------------------------------------------------------------------------------
/Demos/Delphi.VCL/Monitor/monitor_example.dpr:
--------------------------------------------------------------------------------
1 | program monitor_example;
2 |
3 | uses
4 | Forms,
5 | Unit1 in 'Unit1.pas' {Form1};
6 |
7 | {$R *.RES}
8 |
9 | begin
10 | Application.Initialize;
11 | Application.CreateForm(TForm1, Form1);
12 | Application.Run;
13 | end.
14 |
--------------------------------------------------------------------------------
/Demos/Delphi.VCL/Monitor/monitor_example.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Demos/Delphi.VCL/Monitor/monitor_example.res
--------------------------------------------------------------------------------
/Demos/Lazarus/GridDemo/Grid_Demo.lpr:
--------------------------------------------------------------------------------
1 | program Grid_Demo;
2 |
3 | {$MODE Delphi}
4 |
5 | uses
6 | Forms, Interfaces,
7 | MainFrm in 'MainFrm.pas' {Form1},
8 | ConnFrm in 'ConnFrm.pas' {ConnectDlg};
9 |
10 | {$R *.res}
11 |
12 | begin
13 | Application.Initialize;
14 | Application.CreateForm(TForm1, Form1);
15 | Application.CreateForm(TConnectDlg, ConnectDlg);
16 | Application.Run;
17 | end.
18 |
--------------------------------------------------------------------------------
/Demos/Lazarus/GridDemo/Grid_Demo.lps:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
--------------------------------------------------------------------------------
/Demos/Lazarus/GridDemo/Grid_Demo.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Demos/Lazarus/GridDemo/Grid_Demo.res
--------------------------------------------------------------------------------
/Demos/Lazarus/GridDemo/MainFrm.pas:
--------------------------------------------------------------------------------
1 | unit MainFrm;
2 |
3 | {$MODE Delphi}
4 |
5 | interface
6 |
7 | uses
8 | LCLIntf, LCLType, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
9 | StdCtrls, ExtCtrls, DBCtrls, Grids, DBGrids, Db, PSQLDbTables;
10 |
11 | type
12 | TForm1 = class(TForm)
13 | Database1: TPSQLDatabase;
14 | Table1: TPSQLTable;
15 | DataSource1: TDataSource;
16 | DBGrid1: TDBGrid;
17 | DBNavigator1: TDBNavigator;
18 | Panel1: TPanel;
19 | Closebtn: TButton;
20 | Connectbtn: TButton;
21 | Label1: TLabel;
22 | Panel2: TPanel;
23 | StaticText1: TStaticText;
24 | procedure ConnectbtnClick(Sender: TObject);
25 | procedure Table1AfterScroll(DataSet: TDataSet);
26 | procedure ClosebtnClick(Sender: TObject);
27 | private
28 | { Private declarations }
29 | public
30 | { Public declarations }
31 | end;
32 |
33 | var
34 | Form1: TForm1;
35 |
36 | implementation
37 |
38 | uses ConnFrm;
39 |
40 | {$R *.lfm}
41 |
42 | procedure TForm1.ConnectbtnClick(Sender: TObject);
43 | begin
44 | if Database1.Connected then
45 | begin
46 | ConnectBtn.Caption := 'Connect';
47 | Database1.Connected := False;
48 | Label1.Caption := Format('Row %d, Total %d',[0, 0]);
49 | end else
50 | begin
51 | if ShowConnectDlg(Database1) then
52 | begin
53 | try
54 | Database1.Connected := true;
55 | Screen.Cursor := crSQLWait;
56 | Table1.Active := true;
57 | Screen.Cursor := crDefault;
58 | ConnectBtn.Caption := 'Disconnect';
59 | except
60 | on E:Exception do
61 | begin
62 | Application.MessageBox(PChar(E.Message), 'FishFact connection fault',
63 | MB_OK or MB_ICONINFORMATION);
64 | end;
65 | end;
66 | end;
67 | end;
68 | end;
69 |
70 | procedure TForm1.Table1AfterScroll(DataSet: TDataSet);
71 | begin
72 | Label1.Caption := Format('Row %d, Total %d',[DataSet.RecNo, DataSet.RecordCount])
73 | end;
74 |
75 | procedure TForm1.ClosebtnClick(Sender: TObject);
76 | begin
77 | Close;
78 | end;
79 |
80 | end.
81 |
--------------------------------------------------------------------------------
/Demos/Lazarus/GridDemo/connfrm.pas:
--------------------------------------------------------------------------------
1 | unit ConnFrm;
2 |
3 | {$MODE Delphi}
4 |
5 | interface
6 |
7 | uses
8 | LCLIntf, LCLType, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
9 | StdCtrls, ExtCtrls,PSQLDbTables;
10 |
11 | type
12 | TConnectDlg = class(TForm)
13 | Bevel1: TBevel;
14 | Label1: TLabel;
15 | Label2: TLabel;
16 | DBUserID: TEdit;
17 | DBPasswd: TEdit;
18 | Label3: TLabel;
19 | DBName: TEdit;
20 | Label4: TLabel;
21 | DBHost: TEdit;
22 | Label5: TLabel;
23 | DBPort: TEdit;
24 | OkBtn: TButton;
25 | CancelBtn: TButton;
26 | private
27 | { Private declarations }
28 | Database: TPSQLDatabase;
29 | function Edit: Boolean;
30 | public
31 | { Public declarations }
32 | procedure GetDatabaseProperty(Db: TPSQLDatabase);
33 | procedure SetDatabaseProperty(Db: TPSQLDatabase);
34 | end;
35 |
36 | function ShowConnectDlg(ADatabase: TPSQLDatabase): Boolean;
37 |
38 | var
39 | ConnectDlg: TConnectDlg;
40 |
41 | implementation
42 |
43 | {$R *.lfm}
44 |
45 | function ShowConnectDlg(ADatabase: TPSQLDatabase): Boolean;
46 | begin
47 | with TConnectDlg.Create(Application) do
48 | try
49 | Database := ADatabase;
50 | Result := Edit;
51 | finally
52 | Free;
53 | end;
54 | end;
55 |
56 | function TConnectDlg.Edit: Boolean;
57 | begin
58 | GetDatabaseProperty(Database);
59 | Result := False;
60 | if ShowModal = mrOk then
61 | begin
62 | SetDatabaseProperty(Database);
63 | Result := True;
64 | end;
65 | end;
66 |
67 | procedure TConnectDlg.GetDatabaseProperty(Db: TPSQLDatabase);
68 | begin
69 | DBName.Text := DB.DatabaseName;
70 | DBUserId.Text := db.UserName;
71 | DBPasswd.Text := db.UserPassword;
72 | DBHost.Text := Db.Host;
73 | DBPort.Text := IntToStr(Db.Port);
74 | end;
75 |
76 | procedure TConnectDlg.SetDatabaseProperty(Db: TPSQLDatabase);
77 | begin
78 | DB.DatabaseName := DBName.Text;
79 | db.UserName := DBUserId.Text;
80 | db.UserPassword := DBPasswd.Text;
81 | Db.Host := DBHost.Text;
82 | Db.Port := StrToInt(DBPort.Text);
83 | end;
84 |
85 | end.
86 |
87 |
88 |
--------------------------------------------------------------------------------
/Deploy/x64/deploy64.txt:
--------------------------------------------------------------------------------
1 |
2 | In order to run applications using PostgresDAC, the PostgreSQL client
3 | library must be available on a computer, it includes the following
4 | files:
5 |
6 | libpq.dll
7 | pg_dump.dll
8 | pg_restore.dll
9 | libcrypto-1_1-x64.dll
10 | libssl-1_1-x64.dll
11 |
12 | Copy these files to a directory on your PATH environment variable
13 | (e.g. Windows\System32) or place them in the directory where the
14 | client application is installed.
15 |
16 | Alternatively, you can make use of the installation package from
17 | PostgreSQL.org and install only the client libraries.
18 |
19 |
--------------------------------------------------------------------------------
/Deploy/x64/libcrypto-1_1-x64.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Deploy/x64/libcrypto-1_1-x64.dll
--------------------------------------------------------------------------------
/Deploy/x64/libpq-without-SSL.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Deploy/x64/libpq-without-SSL.dll
--------------------------------------------------------------------------------
/Deploy/x64/libpq.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Deploy/x64/libpq.dll
--------------------------------------------------------------------------------
/Deploy/x64/libssl-1_1-x64.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Deploy/x64/libssl-1_1-x64.dll
--------------------------------------------------------------------------------
/Deploy/x86/deploy.txt:
--------------------------------------------------------------------------------
1 |
2 | In order to run applications using PostgresDAC, the PostgreSQL client
3 | library must be available on a computer, it includes the following
4 | files:
5 |
6 | libpq.dll
7 | pg_dump.dll
8 | pg_restore.dll
9 | libcrypto-1_1.dll
10 | libssl-1_1.dll
11 |
12 | Copy these files to a directory on your PATH environment variable
13 | (e.g. Windows\System32) or place them in the directory where the
14 | client application is installed.
15 |
16 | Alternatively, you can make use of the installation package from
17 | PostgreSQL.org and install only the client libraries.
18 |
19 |
--------------------------------------------------------------------------------
/Deploy/x86/libcrypto-1_1.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Deploy/x86/libcrypto-1_1.dll
--------------------------------------------------------------------------------
/Deploy/x86/libpq-without-SSL.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Deploy/x86/libpq-without-SSL.dll
--------------------------------------------------------------------------------
/Deploy/x86/libpq.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Deploy/x86/libpq.dll
--------------------------------------------------------------------------------
/Deploy/x86/libssl-1_1.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Deploy/x86/libssl-1_1.dll
--------------------------------------------------------------------------------
/Deploy/x86/pg_dump-11.4.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Deploy/x86/pg_dump-11.4.dll
--------------------------------------------------------------------------------
/Deploy/x86/pg_dump-12.0.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Deploy/x86/pg_dump-12.0.dll
--------------------------------------------------------------------------------
/Deploy/x86/pg_dump-13.3.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Deploy/x86/pg_dump-13.3.dll
--------------------------------------------------------------------------------
/Deploy/x86/pg_dump-9.3.20.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Deploy/x86/pg_dump-9.3.20.dll
--------------------------------------------------------------------------------
/Deploy/x86/pg_dump-9.4.15.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Deploy/x86/pg_dump-9.4.15.dll
--------------------------------------------------------------------------------
/Deploy/x86/pg_dump-9.5.10.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Deploy/x86/pg_dump-9.5.10.dll
--------------------------------------------------------------------------------
/Deploy/x86/pg_dump-9.6.6.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Deploy/x86/pg_dump-9.6.6.dll
--------------------------------------------------------------------------------
/Deploy/x86/pg_dump.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Deploy/x86/pg_dump.dll
--------------------------------------------------------------------------------
/Deploy/x86/pg_restore-11.4.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Deploy/x86/pg_restore-11.4.dll
--------------------------------------------------------------------------------
/Deploy/x86/pg_restore-12.0.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Deploy/x86/pg_restore-12.0.dll
--------------------------------------------------------------------------------
/Deploy/x86/pg_restore-13.3.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Deploy/x86/pg_restore-13.3.dll
--------------------------------------------------------------------------------
/Deploy/x86/pg_restore-9.3.20.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Deploy/x86/pg_restore-9.3.20.dll
--------------------------------------------------------------------------------
/Deploy/x86/pg_restore-9.4.15.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Deploy/x86/pg_restore-9.4.15.dll
--------------------------------------------------------------------------------
/Deploy/x86/pg_restore-9.5.10.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Deploy/x86/pg_restore-9.5.10.dll
--------------------------------------------------------------------------------
/Deploy/x86/pg_restore-9.6.6.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Deploy/x86/pg_restore-9.6.6.dll
--------------------------------------------------------------------------------
/Deploy/x86/pg_restore.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Deploy/x86/pg_restore.dll
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2022 Pavlo Golub
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC10.cfg:
--------------------------------------------------------------------------------
1 | -$A8
2 | -$B-
3 | -$C-
4 | -$D-
5 | -$E-
6 | -$F-
7 | -$G+
8 | -$H+
9 | -$I+
10 | -$J+
11 | -$K-
12 | -$L-
13 | -$M-
14 | -$N+
15 | -$O+
16 | -$P+
17 | -$Q-
18 | -$R-
19 | -$S-
20 | -$T-
21 | -$U-
22 | -$V+
23 | -$W-
24 | -$X+
25 | -$Y-
26 | -$Z1
27 | -JL
28 | -cg
29 | -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
30 | -H+
31 | -W+
32 | -M
33 | -$M16384,1048576
34 | -K$00400000
35 | -LE"C:\Documents and Settings\Victor\My Documents\Borland Studio Projects\Bpl"
36 | -LN"C:\Documents and Settings\Victor\My Documents\Borland Studio Projects\Bpl"
37 | -Z
38 | -w-SYMBOL_DEPRECATED
39 | -w-UNSAFE_TYPE
40 | -w-UNSAFE_CODE
41 | -w-UNSAFE_CAST
42 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC10.dpk:
--------------------------------------------------------------------------------
1 | package PostgresDAC10;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS OFF}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO OFF}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS OFF}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO OFF}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST ON}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
26 | {$RUNONLY}
27 | {$IMPLICITBUILD OFF}
28 |
29 | requires
30 | vcl,
31 | vcldb,
32 | bdertl,
33 | rtl,
34 | dsnap,
35 | dbrtl;
36 |
37 | contains
38 | PSQLTypes in '..\Source\PSQLTypes.pas',
39 | PSQLAccess in '..\Source\PSQLAccess.pas',
40 | PSQLDbTables in '..\Source\PSQLDbTables.pas',
41 | psqlBatch in '..\Source\psqlBatch.pas',
42 | PSQLMacroQuery in '..\Source\PSQLMacroQuery.pas',
43 | PSQLMonitor in '..\Source\PSQLMonitor.pas',
44 | PSQLTools in '..\Source\PSQLTools.pas',
45 | PSQLDump in '..\Source\PSQLDump.pas',
46 | PSQLCommon in '..\Source\PSQLCommon.pas',
47 | PSQLCopy in '..\Source\PSQLCopy.pas',
48 | PSQLDirectQuery in '..\Source\PSQLDirectQuery.pas',
49 | PSQLExtMask in '..\Source\PSQLExtMask.pas',
50 | PSQLFields in '..\Source\PSQLFields.pas',
51 | PSQLNotify in '..\Source\PSQLNotify.pas';
52 |
53 | end.
54 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC10.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/PostgresDAC10.res
--------------------------------------------------------------------------------
/Packages/PostgresDAC11.cfg:
--------------------------------------------------------------------------------
1 | -$A8
2 | -$B-
3 | -$C+
4 | -$D+
5 | -$E-
6 | -$F-
7 | -$G+
8 | -$H+
9 | -$I+
10 | -$J+
11 | -$K-
12 | -$L+
13 | -$M-
14 | -$N+
15 | -$O+
16 | -$P+
17 | -$Q-
18 | -$R-
19 | -$S-
20 | -$T-
21 | -$U-
22 | -$V+
23 | -$W+
24 | -$X+
25 | -$YD
26 | -$Z1
27 | -GD
28 | -cg
29 | -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
30 | -H+
31 | -W+
32 | -M
33 | -$M16384,1048576
34 | -K$00400000
35 | -Z
36 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC11.dpk:
--------------------------------------------------------------------------------
1 | package PostgresDAC11;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS OFF}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS OFF}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO OFF}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST ON}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
26 | {$RUNONLY}
27 | {$IMPLICITBUILD OFF}
28 | {$DEFINE RELEASE}
29 |
30 | requires
31 | vcl,
32 | vcldb,
33 | bdertl,
34 | rtl,
35 | dsnap,
36 | dbrtl;
37 |
38 | contains
39 | PSQLTypes in '..\Source\PSQLTypes.pas',
40 | PSQLAccess in '..\Source\PSQLAccess.pas',
41 | PSQLDbTables in '..\Source\PSQLDbTables.pas',
42 | psqlBatch in '..\Source\psqlBatch.pas',
43 | PSQLMacroQuery in '..\Source\PSQLMacroQuery.pas',
44 | PSQLMonitor in '..\Source\PSQLMonitor.pas',
45 | PSQLTools in '..\Source\PSQLTools.pas',
46 | PSQLDump in '..\Source\PSQLDump.pas',
47 | PSQLCommon in '..\Source\PSQLCommon.pas',
48 | PSQLCopy in '..\Source\PSQLCopy.pas',
49 | PSQLDirectQuery in '..\Source\PSQLDirectQuery.pas',
50 | PSQLExtMask in '..\Source\PSQLExtMask.pas',
51 | PSQLFields in '..\Source\PSQLFields.pas',
52 | PSQLNotify in '..\Source\PSQLNotify.pas';
53 |
54 | end.
55 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC11.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/PostgresDAC11.res
--------------------------------------------------------------------------------
/Packages/PostgresDAC12.dpk:
--------------------------------------------------------------------------------
1 | package PostgresDAC12;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS OFF}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO OFF}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS OFF}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO OFF}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST ON}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
26 | {$RUNONLY}
27 | {$IMPLICITBUILD OFF}
28 | {$DEFINE RELEASE}
29 |
30 | requires
31 | vcl,
32 | vcldb,
33 | bdertl,
34 | rtl,
35 | dsnap,
36 | dbrtl;
37 |
38 | contains
39 | PSQLTypes in '..\Source\PSQLTypes.pas',
40 | PSQLAccess in '..\Source\PSQLAccess.pas',
41 | PSQLDbTables in '..\Source\PSQLDbTables.pas',
42 | psqlBatch in '..\Source\psqlBatch.pas',
43 | PSQLMacroQuery in '..\Source\PSQLMacroQuery.pas',
44 | PSQLMonitor in '..\Source\PSQLMonitor.pas',
45 | PSQLTools in '..\Source\PSQLTools.pas',
46 | PSQLDump in '..\Source\PSQLDump.pas',
47 | PSQLCommon in '..\Source\PSQLCommon.pas',
48 | PSQLCopy in '..\Source\PSQLCopy.pas',
49 | PSQLDirectQuery in '..\Source\PSQLDirectQuery.pas',
50 | PSQLExtMask in '..\Source\PSQLExtMask.pas',
51 | PSQLFields in '..\Source\PSQLFields.pas',
52 | PSQLNotify in '..\Source\PSQLNotify.pas';
53 |
54 | end.
55 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC12.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/PostgresDAC12.res
--------------------------------------------------------------------------------
/Packages/PostgresDAC14.dpk:
--------------------------------------------------------------------------------
1 | package PostgresDAC14;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS OFF}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO OFF}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS OFF}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO OFF}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST ON}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
26 | {$RUNONLY}
27 | {$IMPLICITBUILD OFF}
28 | {$DEFINE RELEASE}
29 |
30 | requires
31 | vcl,
32 | vcldb,
33 | bdertl,
34 | rtl,
35 | dsnap,
36 | dbrtl;
37 |
38 | contains
39 | PSQLTypes in '..\Source\PSQLTypes.pas',
40 | PSQLAccess in '..\Source\PSQLAccess.pas',
41 | PSQLDbTables in '..\Source\PSQLDbTables.pas',
42 | psqlBatch in '..\Source\psqlBatch.pas',
43 | PSQLMacroQuery in '..\Source\PSQLMacroQuery.pas',
44 | PSQLMonitor in '..\Source\PSQLMonitor.pas',
45 | PSQLTools in '..\Source\PSQLTools.pas',
46 | PSQLDump in '..\Source\PSQLDump.pas',
47 | PSQLCommon in '..\Source\PSQLCommon.pas',
48 | PSQLCopy in '..\Source\PSQLCopy.pas',
49 | PSQLDirectQuery in '..\Source\PSQLDirectQuery.pas',
50 | PSQLExtMask in '..\Source\PSQLExtMask.pas',
51 | PSQLFields in '..\Source\PSQLFields.pas',
52 | PSQLNotify in '..\Source\PSQLNotify.pas';
53 |
54 | end.
55 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC14.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/PostgresDAC14.res
--------------------------------------------------------------------------------
/Packages/PostgresDAC15.dpk:
--------------------------------------------------------------------------------
1 | package PostgresDAC15;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS OFF}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS OFF}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO OFF}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES ON}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST ON}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
26 | {$RUNONLY}
27 | {$IMPLICITBUILD OFF}
28 | {$DEFINE RELEASE}
29 |
30 | requires
31 | vcl,
32 | vcldb,
33 | bdertl,
34 | rtl,
35 | dsnap,
36 | dbrtl;
37 |
38 | contains
39 | PSQLTypes in '..\Source\PSQLTypes.pas',
40 | PSQLAccess in '..\Source\PSQLAccess.pas',
41 | PSQLDbTables in '..\Source\PSQLDbTables.pas',
42 | psqlBatch in '..\Source\psqlBatch.pas',
43 | PSQLMacroQuery in '..\Source\PSQLMacroQuery.pas',
44 | PSQLMonitor in '..\Source\PSQLMonitor.pas',
45 | PSQLTools in '..\Source\PSQLTools.pas',
46 | PSQLDump in '..\Source\PSQLDump.pas',
47 | PSQLCommon in '..\Source\PSQLCommon.pas',
48 | PSQLCopy in '..\Source\PSQLCopy.pas',
49 | PSQLDirectQuery in '..\Source\PSQLDirectQuery.pas',
50 | PSQLExtMask in '..\Source\PSQLExtMask.pas',
51 | PSQLFields in '..\Source\PSQLFields.pas',
52 | PSQLNotify in '..\Source\PSQLNotify.pas';
53 |
54 | end.
55 |
56 |
57 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC15.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/PostgresDAC15.res
--------------------------------------------------------------------------------
/Packages/PostgresDAC16.dpk:
--------------------------------------------------------------------------------
1 | package PostgresDAC16;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS OFF}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO OFF}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS OFF}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION ON}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO OFF}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES OFF}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST ON}
24 | {$MINENUMSIZE 1}
25 | {$DEFINE RELEASE}
26 | {$ENDIF IMPLICITBUILDING}
27 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
28 | {$RUNONLY}
29 | {$IMPLICITBUILD OFF}
30 |
31 | requires
32 | rtl,
33 | dsnap,
34 | dbrtl;
35 |
36 | contains
37 | PSQLTypes in '..\Source\PSQLTypes.pas',
38 | PSQLAccess in '..\Source\PSQLAccess.pas',
39 | PSQLDbTables in '..\Source\PSQLDbTables.pas',
40 | psqlBatch in '..\Source\psqlBatch.pas',
41 | PSQLMacroQuery in '..\Source\PSQLMacroQuery.pas',
42 | PSQLMonitor in '..\Source\PSQLMonitor.pas',
43 | PSQLTools in '..\Source\PSQLTools.pas',
44 | PSQLDump in '..\Source\PSQLDump.pas',
45 | PSQLCopy in '..\Source\PSQLCopy.pas',
46 | PSQLDirectQuery in '..\Source\PSQLDirectQuery.pas',
47 | PSQLExtMask in '..\Source\PSQLExtMask.pas',
48 | PSQLFields in '..\Source\PSQLFields.pas',
49 | PSQLNotify in '..\Source\PSQLNotify.pas';
50 |
51 | end.
52 |
53 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC16.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/PostgresDAC16.res
--------------------------------------------------------------------------------
/Packages/PostgresDAC17.dpk:
--------------------------------------------------------------------------------
1 | package PostgresDAC17;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS OFF}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO ON}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS OFF}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION ON}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO OFF}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES ON}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST ON}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE RELEASE}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
29 | {$RUNONLY}
30 | {$IMPLICITBUILD OFF}
31 |
32 | requires
33 | rtl,
34 | dsnap,
35 | dbrtl;
36 |
37 | contains
38 | PSQLTypes in '..\Source\PSQLTypes.pas',
39 | PSQLAccess in '..\Source\PSQLAccess.pas',
40 | PSQLDbTables in '..\Source\PSQLDbTables.pas',
41 | PSQLBatch in '..\Source\PSQLBatch.pas',
42 | PSQLMacroQuery in '..\Source\PSQLMacroQuery.pas',
43 | PSQLMonitor in '..\Source\PSQLMonitor.pas',
44 | PSQLTools in '..\Source\PSQLTools.pas',
45 | PSQLDump in '..\Source\PSQLDump.pas',
46 | PSQLCopy in '..\Source\PSQLCopy.pas',
47 | PSQLDirectQuery in '..\Source\PSQLDirectQuery.pas',
48 | PSQLExtMask in '..\Source\PSQLExtMask.pas',
49 | PSQLFields in '..\Source\PSQLFields.pas',
50 | PSQLNotify in '..\Source\PSQLNotify.pas';
51 |
52 | end.
53 |
54 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC17.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/PostgresDAC17.res
--------------------------------------------------------------------------------
/Packages/PostgresDAC18.dpk:
--------------------------------------------------------------------------------
1 | package PostgresDAC18;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS OFF}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO ON}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS OFF}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION ON}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO OFF}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES ON}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST ON}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE RELEASE}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
29 | {$RUNONLY}
30 | {$IMPLICITBUILD OFF}
31 |
32 | requires
33 | rtl,
34 | dsnap,
35 | dbrtl;
36 |
37 | contains
38 | PSQLTypes in '..\Source\PSQLTypes.pas',
39 | PSQLAccess in '..\Source\PSQLAccess.pas',
40 | PSQLDbTables in '..\Source\PSQLDbTables.pas',
41 | PSQLBatch in '..\Source\PSQLBatch.pas',
42 | PSQLMacroQuery in '..\Source\PSQLMacroQuery.pas',
43 | PSQLMonitor in '..\Source\PSQLMonitor.pas',
44 | PSQLTools in '..\Source\PSQLTools.pas',
45 | PSQLDump in '..\Source\PSQLDump.pas',
46 | PSQLCopy in '..\Source\PSQLCopy.pas',
47 | PSQLDirectQuery in '..\Source\PSQLDirectQuery.pas',
48 | PSQLExtMask in '..\Source\PSQLExtMask.pas',
49 | PSQLFields in '..\Source\PSQLFields.pas',
50 | PSQLNotify in '..\Source\PSQLNotify.pas';
51 |
52 | end.
53 |
54 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC18.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/PostgresDAC18.res
--------------------------------------------------------------------------------
/Packages/PostgresDAC19.dpk:
--------------------------------------------------------------------------------
1 | package PostgresDAC19;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS OFF}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO ON}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS OFF}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION ON}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO OFF}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES ON}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST ON}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE RELEASE}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
29 | {$RUNONLY}
30 | {$IMPLICITBUILD OFF}
31 |
32 | requires
33 | rtl,
34 | dsnap,
35 | dbrtl;
36 |
37 | contains
38 | PSQLTypes in '..\Source\PSQLTypes.pas',
39 | PSQLAccess in '..\Source\PSQLAccess.pas',
40 | PSQLDbTables in '..\Source\PSQLDbTables.pas',
41 | PSQLBatch in '..\Source\PSQLBatch.pas',
42 | PSQLMacroQuery in '..\Source\PSQLMacroQuery.pas',
43 | PSQLMonitor in '..\Source\PSQLMonitor.pas',
44 | PSQLTools in '..\Source\PSQLTools.pas',
45 | PSQLDump in '..\Source\PSQLDump.pas',
46 | PSQLCopy in '..\Source\PSQLCopy.pas',
47 | PSQLDirectQuery in '..\Source\PSQLDirectQuery.pas',
48 | PSQLExtMask in '..\Source\PSQLExtMask.pas',
49 | PSQLFields in '..\Source\PSQLFields.pas',
50 | PSQLNotify in '..\Source\PSQLNotify.pas';
51 |
52 | end.
53 |
54 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC19.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/PostgresDAC19.res
--------------------------------------------------------------------------------
/Packages/PostgresDAC20.dpk:
--------------------------------------------------------------------------------
1 | package PostgresDAC20;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO OFF}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS ON}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION OFF}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO ON}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES ON}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE DEBUG}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$RUNONLY}
29 | {$IMPLICITBUILD ON}
30 |
31 | requires
32 | rtl,
33 | dsnap,
34 | dbrtl;
35 |
36 | contains
37 | PSQLTypes in '..\Source\PSQLTypes.pas',
38 | PSQLAccess in '..\Source\PSQLAccess.pas',
39 | PSQLDbTables in '..\Source\PSQLDbTables.pas',
40 | PSQLBatch in '..\Source\PSQLBatch.pas',
41 | PSQLMacroQuery in '..\Source\PSQLMacroQuery.pas',
42 | PSQLMonitor in '..\Source\PSQLMonitor.pas',
43 | PSQLTools in '..\Source\PSQLTools.pas',
44 | PSQLDump in '..\Source\PSQLDump.pas',
45 | PSQLCopy in '..\Source\PSQLCopy.pas',
46 | PSQLDirectQuery in '..\Source\PSQLDirectQuery.pas',
47 | PSQLExtMask in '..\Source\PSQLExtMask.pas',
48 | PSQLFields in '..\Source\PSQLFields.pas',
49 | PSQLNotify in '..\Source\PSQLNotify.pas';
50 |
51 | end.
52 |
53 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC20.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/PostgresDAC20.res
--------------------------------------------------------------------------------
/Packages/PostgresDAC21.dpk:
--------------------------------------------------------------------------------
1 | package PostgresDAC21;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO OFF}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS ON}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION OFF}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO ON}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES ON}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE DEBUG}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$RUNONLY}
29 | {$IMPLICITBUILD ON}
30 |
31 | requires
32 | rtl,
33 | dsnap,
34 | dbrtl;
35 |
36 | contains
37 | PSQLTypes in '..\Source\PSQLTypes.pas',
38 | PSQLAccess in '..\Source\PSQLAccess.pas',
39 | PSQLDbTables in '..\Source\PSQLDbTables.pas',
40 | PSQLBatch in '..\Source\PSQLBatch.pas',
41 | PSQLMacroQuery in '..\Source\PSQLMacroQuery.pas',
42 | PSQLMonitor in '..\Source\PSQLMonitor.pas',
43 | PSQLTools in '..\Source\PSQLTools.pas',
44 | PSQLDump in '..\Source\PSQLDump.pas',
45 | PSQLCopy in '..\Source\PSQLCopy.pas',
46 | PSQLDirectQuery in '..\Source\PSQLDirectQuery.pas',
47 | PSQLExtMask in '..\Source\PSQLExtMask.pas',
48 | PSQLFields in '..\Source\PSQLFields.pas',
49 | PSQLNotify in '..\Source\PSQLNotify.pas';
50 |
51 | end.
52 |
53 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC21.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/PostgresDAC21.res
--------------------------------------------------------------------------------
/Packages/PostgresDAC22.dpk:
--------------------------------------------------------------------------------
1 | package PostgresDAC22;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO OFF}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS ON}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION OFF}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO ON}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES ON}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE DEBUG}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$RUNONLY}
29 | {$IMPLICITBUILD ON}
30 |
31 | requires
32 | rtl,
33 | dsnap,
34 | dbrtl;
35 |
36 | contains
37 | PSQLTypes in '..\Source\PSQLTypes.pas',
38 | PSQLAccess in '..\Source\PSQLAccess.pas',
39 | PSQLDbTables in '..\Source\PSQLDbTables.pas',
40 | PSQLBatch in '..\Source\PSQLBatch.pas',
41 | PSQLMacroQuery in '..\Source\PSQLMacroQuery.pas',
42 | PSQLMonitor in '..\Source\PSQLMonitor.pas',
43 | PSQLTools in '..\Source\PSQLTools.pas',
44 | PSQLDump in '..\Source\PSQLDump.pas',
45 | PSQLCopy in '..\Source\PSQLCopy.pas',
46 | PSQLDirectQuery in '..\Source\PSQLDirectQuery.pas',
47 | PSQLExtMask in '..\Source\PSQLExtMask.pas',
48 | PSQLFields in '..\Source\PSQLFields.pas',
49 | PSQLNotify in '..\Source\PSQLNotify.pas',
50 | PSQLGeomTypes in '..\Source\PSQLGeomTypes.pas'; {$NOINCLUDE PSQLGeomTypes}
51 |
52 | end.
53 |
54 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC22.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/PostgresDAC22.res
--------------------------------------------------------------------------------
/Packages/PostgresDAC23.dpk:
--------------------------------------------------------------------------------
1 | package PostgresDAC23;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO OFF}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS ON}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION OFF}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO ON}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES ON}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE DEBUG}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$RUNONLY}
29 | {$IMPLICITBUILD ON}
30 |
31 | requires
32 | rtl,
33 | dsnap,
34 | dbrtl;
35 |
36 | contains
37 | PSQLTypes in '..\Source\PSQLTypes.pas',
38 | PSQLAccess in '..\Source\PSQLAccess.pas',
39 | PSQLDbTables in '..\Source\PSQLDbTables.pas',
40 | PSQLBatch in '..\Source\PSQLBatch.pas',
41 | PSQLMacroQuery in '..\Source\PSQLMacroQuery.pas',
42 | PSQLMonitor in '..\Source\PSQLMonitor.pas',
43 | PSQLTools in '..\Source\PSQLTools.pas',
44 | PSQLDump in '..\Source\PSQLDump.pas',
45 | PSQLCopy in '..\Source\PSQLCopy.pas',
46 | PSQLDirectQuery in '..\Source\PSQLDirectQuery.pas',
47 | PSQLExtMask in '..\Source\PSQLExtMask.pas',
48 | PSQLFields in '..\Source\PSQLFields.pas',
49 | PSQLNotify in '..\Source\PSQLNotify.pas',
50 | PSQLGeomTypes in '..\Source\PSQLGeomTypes.pas'; {$NOINCLUDE PSQLGeomTypes}
51 |
52 | end.
53 |
54 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC23.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/PostgresDAC23.res
--------------------------------------------------------------------------------
/Packages/PostgresDAC24.dpk:
--------------------------------------------------------------------------------
1 | package PostgresDAC24;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO OFF}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS ON}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION OFF}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO ON}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES ON}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE DEBUG}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$RUNONLY}
29 | {$IMPLICITBUILD ON}
30 |
31 | requires
32 | rtl,
33 | dsnap,
34 | dbrtl;
35 |
36 | contains
37 | PSQLTypes in '..\Source\PSQLTypes.pas',
38 | PSQLAccess in '..\Source\PSQLAccess.pas',
39 | PSQLDbTables in '..\Source\PSQLDbTables.pas',
40 | PSQLBatch in '..\Source\PSQLBatch.pas',
41 | PSQLMacroQuery in '..\Source\PSQLMacroQuery.pas',
42 | PSQLMonitor in '..\Source\PSQLMonitor.pas',
43 | PSQLTools in '..\Source\PSQLTools.pas',
44 | PSQLDump in '..\Source\PSQLDump.pas',
45 | PSQLCopy in '..\Source\PSQLCopy.pas',
46 | PSQLDirectQuery in '..\Source\PSQLDirectQuery.pas',
47 | PSQLExtMask in '..\Source\PSQLExtMask.pas',
48 | PSQLFields in '..\Source\PSQLFields.pas',
49 | PSQLNotify in '..\Source\PSQLNotify.pas',
50 | PSQLGeomTypes in '..\Source\PSQLGeomTypes.pas';
51 |
52 | {$NOINCLUDE PSQLGeomTypes}
53 |
54 | end.
55 |
56 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC24.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/PostgresDAC24.res
--------------------------------------------------------------------------------
/Packages/PostgresDAC25.dpk:
--------------------------------------------------------------------------------
1 | package PostgresDAC25;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO OFF}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS ON}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION OFF}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO ON}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES ON}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE DEBUG}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$RUNONLY}
29 | {$IMPLICITBUILD ON}
30 |
31 | requires
32 | rtl,
33 | dsnap,
34 | dbrtl;
35 |
36 | contains
37 | PSQLTypes in '..\Source\PSQLTypes.pas',
38 | PSQLAccess in '..\Source\PSQLAccess.pas',
39 | PSQLDbTables in '..\Source\PSQLDbTables.pas',
40 | PSQLBatch in '..\Source\PSQLBatch.pas',
41 | PSQLMacroQuery in '..\Source\PSQLMacroQuery.pas',
42 | PSQLMonitor in '..\Source\PSQLMonitor.pas',
43 | PSQLTools in '..\Source\PSQLTools.pas',
44 | PSQLDump in '..\Source\PSQLDump.pas',
45 | PSQLCopy in '..\Source\PSQLCopy.pas',
46 | PSQLDirectQuery in '..\Source\PSQLDirectQuery.pas',
47 | PSQLExtMask in '..\Source\PSQLExtMask.pas',
48 | PSQLFields in '..\Source\PSQLFields.pas',
49 | PSQLNotify in '..\Source\PSQLNotify.pas',
50 | PSQLGeomTypes in '..\Source\PSQLGeomTypes.pas';
51 |
52 | {$NOINCLUDE PSQLGeomTypes}
53 |
54 | end.
55 |
56 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC25.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/PostgresDAC25.res
--------------------------------------------------------------------------------
/Packages/PostgresDAC26.dpk:
--------------------------------------------------------------------------------
1 | package PostgresDAC26;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO OFF}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS ON}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION OFF}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO ON}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES ON}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE DEBUG}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$RUNONLY}
29 | {$IMPLICITBUILD ON}
30 |
31 | requires
32 | rtl,
33 | dsnap,
34 | dbrtl;
35 |
36 | contains
37 | PSQLTypes in '..\Source\PSQLTypes.pas',
38 | PSQLAccess in '..\Source\PSQLAccess.pas',
39 | PSQLDbTables in '..\Source\PSQLDbTables.pas',
40 | PSQLBatch in '..\Source\PSQLBatch.pas',
41 | PSQLMacroQuery in '..\Source\PSQLMacroQuery.pas',
42 | PSQLMonitor in '..\Source\PSQLMonitor.pas',
43 | PSQLTools in '..\Source\PSQLTools.pas',
44 | PSQLDump in '..\Source\PSQLDump.pas',
45 | PSQLCopy in '..\Source\PSQLCopy.pas',
46 | PSQLDirectQuery in '..\Source\PSQLDirectQuery.pas',
47 | PSQLExtMask in '..\Source\PSQLExtMask.pas',
48 | PSQLFields in '..\Source\PSQLFields.pas',
49 | PSQLNotify in '..\Source\PSQLNotify.pas',
50 | PSQLGeomTypes in '..\Source\PSQLGeomTypes.pas';
51 |
52 | {$NOINCLUDE PSQLGeomTypes}
53 |
54 | end.
55 |
56 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC27.dpk:
--------------------------------------------------------------------------------
1 | package PostgresDAC27;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO OFF}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS ON}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION OFF}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO ON}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES ON}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE DEBUG}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$RUNONLY}
29 | {$IMPLICITBUILD ON}
30 |
31 | requires
32 | rtl,
33 | dsnap,
34 | dbrtl;
35 |
36 | contains
37 | PSQLTypes in '..\Source\PSQLTypes.pas',
38 | PSQLAccess in '..\Source\PSQLAccess.pas',
39 | PSQLDbTables in '..\Source\PSQLDbTables.pas',
40 | PSQLBatch in '..\Source\PSQLBatch.pas',
41 | PSQLMacroQuery in '..\Source\PSQLMacroQuery.pas',
42 | PSQLMonitor in '..\Source\PSQLMonitor.pas',
43 | PSQLTools in '..\Source\PSQLTools.pas',
44 | PSQLDump in '..\Source\PSQLDump.pas',
45 | PSQLCopy in '..\Source\PSQLCopy.pas',
46 | PSQLDirectQuery in '..\Source\PSQLDirectQuery.pas',
47 | PSQLExtMask in '..\Source\PSQLExtMask.pas',
48 | PSQLFields in '..\Source\PSQLFields.pas',
49 | PSQLNotify in '..\Source\PSQLNotify.pas',
50 | PSQLGeomTypes in '..\Source\PSQLGeomTypes.pas';
51 |
52 | {$NOINCLUDE PSQLGeomTypes}
53 |
54 | end.
55 |
56 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC28.dpk:
--------------------------------------------------------------------------------
1 | package PostgresDAC28;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO OFF}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS ON}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION OFF}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO ON}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES ON}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE DEBUG}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$RUNONLY}
29 | {$IMPLICITBUILD ON}
30 |
31 | requires
32 | rtl,
33 | dsnap,
34 | dbrtl;
35 |
36 | contains
37 | PSQLTypes in '..\Source\PSQLTypes.pas',
38 | PSQLAccess in '..\Source\PSQLAccess.pas',
39 | PSQLDbTables in '..\Source\PSQLDbTables.pas',
40 | PSQLBatch in '..\Source\PSQLBatch.pas',
41 | PSQLMacroQuery in '..\Source\PSQLMacroQuery.pas',
42 | PSQLMonitor in '..\Source\PSQLMonitor.pas',
43 | PSQLTools in '..\Source\PSQLTools.pas',
44 | PSQLDump in '..\Source\PSQLDump.pas',
45 | PSQLCopy in '..\Source\PSQLCopy.pas',
46 | PSQLDirectQuery in '..\Source\PSQLDirectQuery.pas',
47 | PSQLExtMask in '..\Source\PSQLExtMask.pas',
48 | PSQLFields in '..\Source\PSQLFields.pas',
49 | PSQLNotify in '..\Source\PSQLNotify.pas',
50 | PSQLGeomTypes in '..\Source\PSQLGeomTypes.pas';
51 |
52 | {$NOINCLUDE PSQLGeomTypes}
53 |
54 | end.
55 |
56 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC28.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/PostgresDAC28.res
--------------------------------------------------------------------------------
/Packages/PostgresDAC29.dpk:
--------------------------------------------------------------------------------
1 | package PostgresDAC29;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO OFF}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS ON}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION OFF}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO ON}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES ON}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE DEBUG}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$RUNONLY}
29 | {$IMPLICITBUILD ON}
30 |
31 | requires
32 | rtl,
33 | dsnap,
34 | dbrtl;
35 |
36 | contains
37 | PSQLTypes in '..\Source\PSQLTypes.pas',
38 | PSQLAccess in '..\Source\PSQLAccess.pas',
39 | PSQLDbTables in '..\Source\PSQLDbTables.pas',
40 | PSQLBatch in '..\Source\PSQLBatch.pas',
41 | PSQLMacroQuery in '..\Source\PSQLMacroQuery.pas',
42 | PSQLMonitor in '..\Source\PSQLMonitor.pas',
43 | PSQLTools in '..\Source\PSQLTools.pas',
44 | PSQLDump in '..\Source\PSQLDump.pas',
45 | PSQLCopy in '..\Source\PSQLCopy.pas',
46 | PSQLDirectQuery in '..\Source\PSQLDirectQuery.pas',
47 | PSQLExtMask in '..\Source\PSQLExtMask.pas',
48 | PSQLFields in '..\Source\PSQLFields.pas',
49 | PSQLNotify in '..\Source\PSQLNotify.pas',
50 | PSQLGeomTypes in '..\Source\PSQLGeomTypes.pas';
51 |
52 | {$NOINCLUDE PSQLGeomTypes}
53 |
54 | end.
55 |
56 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC29.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/PostgresDAC29.res
--------------------------------------------------------------------------------
/Packages/PostgresDAC5.cfg:
--------------------------------------------------------------------------------
1 | -$A+
2 | -$B-
3 | -$C-
4 | -$D+
5 | -$E-
6 | -$F-
7 | -$G+
8 | -$H+
9 | -$I+
10 | -$J+
11 | -$K-
12 | -$L-
13 | -$M-
14 | -$N+
15 | -$O-
16 | -$P+
17 | -$Q-
18 | -$R-
19 | -$S-
20 | -$T-
21 | -$U-
22 | -$V+
23 | -$W-
24 | -$X+
25 | -$Y-
26 | -$Z1
27 | -cg
28 | -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
29 | -H+
30 | -W+
31 | -M
32 | -$M16384,1048576
33 | -K$00400000
34 | -LE"c:\program files\borland\delphi5\Projects\Bpl"
35 | -LN"c:\program files\borland\delphi5\Projects\Bpl"
36 | -Z
37 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC5.dpk:
--------------------------------------------------------------------------------
1 | package PostgresDAC5;
2 |
3 | {$R *.RES}
4 | {$ALIGN ON}
5 | {$ASSERTIONS OFF}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS OFF}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION OFF}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO OFF}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST ON}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
26 | {$RUNONLY}
27 | {$IMPLICITBUILD OFF}
28 |
29 | requires
30 | vcl50,
31 | VCLDB50;
32 |
33 | contains
34 | PSQLTypes in '..\Source\PSQLTypes.pas',
35 | PSQLAccess in '..\Source\PSQLAccess.pas',
36 | PSQLDbTables in '..\Source\PSQLDbTables.pas',
37 | psqlBatch in '..\Source\PSQLBatch.pas',
38 | PSQLMacroQuery in '..\Source\PSQLMacroQuery.pas',
39 | PSQLMonitor in '..\Source\PSQLMonitor.pas',
40 | PSQLTools in '..\Source\PSQLTools.pas',
41 | PSQLDump in '..\Source\PSQLDump.pas',
42 | PSQLCommon in '..\Source\PSQLCommon.pas',
43 | PSQLCopy in '..\Source\PSQLCopy.pas',
44 | PSQLDirectQuery in '..\Source\PSQLDirectQuery.pas',
45 | PSQLExtMask in '..\Source\PSQLExtMask.pas',
46 | PSQLFields in '..\Source\PSQLFields.pas',
47 | PSQLNotify in '..\Source\PSQLNotify.pas';
48 |
49 | end.
50 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC5.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/PostgresDAC5.res
--------------------------------------------------------------------------------
/Packages/PostgresDAC6.cfg:
--------------------------------------------------------------------------------
1 | -$A8
2 | -$B-
3 | -$C-
4 | -$D+
5 | -$E-
6 | -$F-
7 | -$G+
8 | -$H+
9 | -$I+
10 | -$J+
11 | -$K-
12 | -$L-
13 | -$M-
14 | -$N+
15 | -$O-
16 | -$P+
17 | -$Q-
18 | -$R-
19 | -$S-
20 | -$T-
21 | -$U-
22 | -$V+
23 | -$W-
24 | -$X+
25 | -$Y-
26 | -$Z1
27 | -cg
28 | -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
29 | -H+
30 | -W+
31 | -M
32 | -$M16384,1048576
33 | -K$00400000
34 | -LE"d:\borland\delphi6\Projects\Bpl"
35 | -LN"d:\borland\delphi6\Projects\Bpl"
36 | -Z
37 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC6.dpk:
--------------------------------------------------------------------------------
1 | package PostgresDAC6;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS OFF}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS OFF}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION OFF}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO OFF}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST ON}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
26 | {$RUNONLY}
27 | {$IMPLICITBUILD OFF}
28 |
29 | requires
30 | vcl,
31 | vcldb,
32 | bdertl;
33 |
34 | contains
35 | PSQLTypes in '..\Source\PSQLTypes.pas',
36 | PSQLAccess in '..\Source\PSQLAccess.pas',
37 | PSQLDbTables in '..\Source\PSQLDbTables.pas',
38 | psqlBatch in '..\Source\PSQLBatch.pas',
39 | PSQLMacroQuery in '..\Source\PSQLMacroQuery.pas',
40 | PSQLMonitor in '..\Source\PSQLMonitor.pas',
41 | PSQLTools in '..\Source\PSQLTools.pas',
42 | PSQLDump in '..\Source\PSQLDump.pas',
43 | PSQLCommon in '..\Source\PSQLCommon.pas',
44 | PSQLCopy in '..\Source\PSQLCopy.pas',
45 | PSQLDirectQuery in '..\Source\PSQLDirectQuery.pas',
46 | PSQLExtMask in '..\Source\PSQLExtMask.pas',
47 | PSQLFields in '..\Source\PSQLFields.pas',
48 | PSQLNotify in '..\Source\PSQLNotify.pas';
49 |
50 | end.
51 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC6.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/PostgresDAC6.res
--------------------------------------------------------------------------------
/Packages/PostgresDAC7.cfg:
--------------------------------------------------------------------------------
1 | -$A8
2 | -$B-
3 | -$C-
4 | -$D+
5 | -$E-
6 | -$F-
7 | -$G+
8 | -$H+
9 | -$I+
10 | -$J+
11 | -$K-
12 | -$L-
13 | -$M-
14 | -$N+
15 | -$O-
16 | -$P+
17 | -$Q-
18 | -$R-
19 | -$S-
20 | -$T-
21 | -$U-
22 | -$V+
23 | -$W-
24 | -$X+
25 | -$Y-
26 | -$Z1
27 | -GD
28 | -cg
29 | -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
30 | -H+
31 | -W+
32 | -M
33 | -$M16384,1048576
34 | -K$00400000
35 | -LE"c:\program files\borland\delphi7\Projects\Bpl"
36 | -LN"c:\program files\borland\delphi7\Projects\Bpl"
37 | -Z
38 | -w-UNSAFE_TYPE
39 | -w-UNSAFE_CODE
40 | -w-UNSAFE_CAST
41 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC7.dpk:
--------------------------------------------------------------------------------
1 | package PostgresDAC7;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS OFF}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS OFF}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION OFF}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO OFF}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST ON}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
26 | {$RUNONLY}
27 | {$IMPLICITBUILD OFF}
28 |
29 | requires
30 | vcl,
31 | vcldb,
32 | bdertl,
33 | rtl,
34 | dbrtl;
35 |
36 | contains
37 | PSQLTypes in '..\Source\PSQLTypes.pas',
38 | PSQLAccess in '..\Source\PSQLAccess.pas',
39 | PSQLDbTables in '..\Source\PSQLDbTables.pas',
40 | psqlBatch in '..\Source\PSQLBatch.pas',
41 | PSQLMacroQuery in '..\Source\PSQLMacroQuery.pas',
42 | PSQLMonitor in '..\Source\PSQLMonitor.pas',
43 | PSQLTools in '..\Source\PSQLTools.pas',
44 | PSQLDump in '..\Source\PSQLDump.pas',
45 | PSQLCommon in '..\Source\PSQLCommon.pas',
46 | PSQLCopy in '..\Source\PSQLCopy.pas',
47 | PSQLDirectQuery in '..\Source\PSQLDirectQuery.pas',
48 | PSQLExtMask in '..\Source\PSQLExtMask.pas',
49 | PSQLFields in '..\Source\PSQLFields.pas',
50 | PSQLNotify in '..\Source\PSQLNotify.pas';
51 |
52 | end.
53 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC7.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/PostgresDAC7.res
--------------------------------------------------------------------------------
/Packages/PostgresDAC9.cfg:
--------------------------------------------------------------------------------
1 | -$A8
2 | -$B-
3 | -$C-
4 | -$D+
5 | -$E-
6 | -$F-
7 | -$G+
8 | -$H+
9 | -$I+
10 | -$J+
11 | -$K-
12 | -$L-
13 | -$M-
14 | -$N+
15 | -$O-
16 | -$P+
17 | -$Q-
18 | -$R-
19 | -$S-
20 | -$T-
21 | -$U-
22 | -$V+
23 | -$W-
24 | -$X+
25 | -$Y-
26 | -$Z1
27 | -cg
28 | -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
29 | -H+
30 | -W+
31 | -M
32 | -$M16384,1048576
33 | -K$00400000
34 | -LE"C:\Documents and Settings\Victor\My Documents\Borland Studio Projects\Bpl"
35 | -LN"C:\Documents and Settings\Victor\My Documents\Borland Studio Projects\Bpl"
36 | -Z
37 | -w-UNSAFE_TYPE
38 | -w-UNSAFE_CODE
39 | -w-UNSAFE_CAST
40 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC9.dpk:
--------------------------------------------------------------------------------
1 | package PostgresDAC9;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS OFF}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS OFF}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION OFF}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO OFF}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST ON}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
26 | {$RUNONLY}
27 | {$IMPLICITBUILD OFF}
28 |
29 | requires
30 | vcl,
31 | vcldb,
32 | bdertl,
33 | rtl,
34 | dbrtl;
35 |
36 | contains
37 | PSQLTypes in '..\Source\PSQLTypes.pas',
38 | PSQLAccess in '..\Source\PSQLAccess.pas',
39 | PSQLDbTables in '..\Source\PSQLDbTables.pas',
40 | psqlBatch in '..\Source\psqlBatch.pas',
41 | PSQLMacroQuery in '..\Source\PSQLMacroQuery.pas',
42 | PSQLMonitor in '..\Source\PSQLMonitor.pas',
43 | PSQLTools in '..\Source\PSQLTools.pas',
44 | PSQLDump in '..\Source\PSQLDump.pas',
45 | PSQLCommon in '..\Source\PSQLCommon.pas',
46 | PSQLCopy in '..\Source\PSQLCopy.pas',
47 | PSQLDirectQuery in '..\Source\PSQLDirectQuery.pas',
48 | PSQLExtMask in '..\Source\PSQLExtMask.pas',
49 | PSQLFields in '..\Source\PSQLFields.pas',
50 | PSQLNotify in '..\Source\PSQLNotify.pas';
51 |
52 | end.
53 |
--------------------------------------------------------------------------------
/Packages/PostgresDAC9.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/PostgresDAC9.res
--------------------------------------------------------------------------------
/Packages/PostgresDACB5.cpp:
--------------------------------------------------------------------------------
1 | //---------------------------------------------------------------------------
2 |
3 | #include
4 | #pragma hdrstop
5 | USERES("PostgresDACB5.res");
6 | USEPACKAGE("vcl50.bpi");
7 | USEPACKAGE("Vcldb50.bpi");
8 | USEPACKAGE("Vclbde50.bpi");
9 | USEFORMNS("psqlAboutFrm.pas", Psqlaboutfrm, AboutComp);
10 | USEUNIT("PSQLAccess.pas");
11 | USEUNIT("PSQLDbTables.pas");
12 | USEUNIT("PSQLTypes.pas");
13 | USEUNIT("PSQLFields.pas");
14 | USEUNIT("psqlBatch.pas");
15 | USEUNIT("PSQLMacroQuery.pas");
16 | USEUNIT("PSQLMonitor.pas");
17 | USEUNIT("PSQLDump.pas");
18 | USEUNIT("PSQLTools.pas");
19 | USEUNIT("PSQLCopy.pas");
20 | USEUNIT("PSQLCommon.pas");
21 | USEUNIT("PSQLExtMask.pas");
22 | USEUNIT("PSQLDirectQuery.pas");
23 | //---------------------------------------------------------------------------
24 | #pragma package(smart_init)
25 | //---------------------------------------------------------------------------
26 |
27 | // Package source.
28 | //---------------------------------------------------------------------------
29 |
30 | #pragma argsused
31 | int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void*)
32 | {
33 | return 1;
34 | }
35 | //---------------------------------------------------------------------------
36 |
--------------------------------------------------------------------------------
/Packages/PostgresDACB5.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/PostgresDACB5.res
--------------------------------------------------------------------------------
/Packages/PostgresDACB6.cpp:
--------------------------------------------------------------------------------
1 | //---------------------------------------------------------------------------
2 |
3 | #include
4 | #pragma hdrstop
5 | USEFORMNS("psqlAboutFrm.pas", Psqlaboutfrm, AboutComp);
6 | //---------------------------------------------------------------------------
7 | #pragma package(smart_init)
8 | //---------------------------------------------------------------------------
9 |
10 | // Package source.
11 | //---------------------------------------------------------------------------
12 |
13 | #pragma argsused
14 | int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void*)
15 | {
16 | return 1;
17 | }
18 | //---------------------------------------------------------------------------
19 |
--------------------------------------------------------------------------------
/Packages/PostgresDACB6.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/PostgresDACB6.res
--------------------------------------------------------------------------------
/Packages/PostgresDACL.pas:
--------------------------------------------------------------------------------
1 | { This file was automatically created by Lazarus. Do not edit!
2 | This source is only used to compile and install the package.
3 | }
4 |
5 | unit PostgresDACL;
6 |
7 | interface
8 |
9 | uses
10 | PSQLTypes, PSQLAccess, PSQLDbTables, PSQLBatch, PSQLMacroQuery, PSQLMonitor,
11 | PSQLTools, PSQLCommon, PSQLCopy, PSQLDirectQuery, PSQLExtMask,
12 | PSQLFields;
13 |
14 | implementation
15 |
16 | end.
17 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC10.cfg:
--------------------------------------------------------------------------------
1 | -$A8
2 | -$B-
3 | -$C+
4 | -$D+
5 | -$E-
6 | -$F-
7 | -$G+
8 | -$H+
9 | -$I+
10 | -$J-
11 | -$K-
12 | -$L+
13 | -$M-
14 | -$N+
15 | -$O+
16 | -$P+
17 | -$Q-
18 | -$R-
19 | -$S-
20 | -$T-
21 | -$U-
22 | -$V+
23 | -$W-
24 | -$X+
25 | -$YD
26 | -$Z1
27 | -cg
28 | -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
29 | -H+
30 | -W+
31 | -M
32 | -$M16384,1048576
33 | -K$00400000
34 | -Z
35 | -w-UNSAFE_TYPE
36 | -w-UNSAFE_CODE
37 | -w-UNSAFE_CAST
38 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC10.dpk:
--------------------------------------------------------------------------------
1 | package dclPostgresDAC10;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS ON}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS ON}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO ON}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST OFF}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
26 | {$DESIGNONLY}
27 | {$IMPLICITBUILD OFF}
28 |
29 | requires
30 | dcldb,
31 | PostgresDAC10;
32 |
33 | contains
34 | PSQLStoredProcFrm in '..\Source\PSQLStoredProcFrm.pas' {PSQLStoredProcProp},
35 | PSQLupdsqled in '..\Source\PSQLupdsqled.pas' {PSQLUpdateSQLEditForm},
36 | psqlAboutFrm in '..\Source\psqlAboutFrm.pas' {PSQLAboutComp},
37 | PSQLCOMP in '..\Source\PSQLCOMP.pas',
38 | PSQLConnFrm in '..\Source\PSQLConnFrm.pas' {PSQLConnForm},
39 | PSQLfldlinks in '..\Source\PSQLfldlinks.pas' {PSQLLinkFields},
40 | PSQLMigrator in '..\Source\PSQLMigrator.pas',
41 | PSQLQueryEdit in '..\Source\PSQLQueryEdit.pas' {SQLEditForm};
42 |
43 | end.
44 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC10.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/dclPostgresDAC10.res
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC11.dpk:
--------------------------------------------------------------------------------
1 | package dclPostgresDAC11;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS ON}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS ON}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO ON}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST OFF}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
26 | {$DESIGNONLY}
27 | {$IMPLICITBUILD OFF}
28 |
29 | requires
30 | dcldb,
31 | PostgresDAC11;
32 |
33 | contains
34 | PSQLStoredProcFrm in '..\Source\PSQLStoredProcFrm.pas' {PSQLStoredProcProp},
35 | PSQLupdsqled in '..\Source\PSQLupdsqled.pas' {PSQLUpdateSQLEditForm},
36 | psqlAboutFrm in '..\Source\psqlAboutFrm.pas' {PSQLAboutComp},
37 | PSQLCOMP in '..\Source\PSQLCOMP.pas',
38 | PSQLConnFrm in '..\Source\PSQLConnFrm.pas' {PSQLConnForm},
39 | PSQLfldlinks in '..\Source\PSQLfldlinks.pas' {PSQLLinkFields},
40 | PSQLMigrator in '..\Source\PSQLMigrator.pas',
41 | PSQLQueryEdit in '..\Source\PSQLQueryEdit.pas' {SQLEditForm};
42 |
43 | end.
44 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC11.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/dclPostgresDAC11.res
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC12.dpk:
--------------------------------------------------------------------------------
1 | package dclPostgresDAC12;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS ON}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS ON}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO OFF}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST OFF}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
26 | {$DESIGNONLY}
27 | {$IMPLICITBUILD ON}
28 |
29 | requires
30 | PostgresDAC12,
31 | dcldb;
32 |
33 | contains
34 | PSQLupdsqled in '..\Source\PSQLupdsqled.pas' {PSQLUpdateSQLEditForm},
35 | psqlAboutFrm in '..\Source\psqlAboutFrm.pas' {PSQLAboutComp},
36 | PSQLCOMP in '..\Source\PSQLCOMP.pas',
37 | PSQLConnFrm in '..\Source\PSQLConnFrm.pas' {PSQLConnForm},
38 | PSQLfldlinks in '..\Source\PSQLfldlinks.pas' {PSQLLinkFields},
39 | PSQLMigrator in '..\Source\PSQLMigrator.pas',
40 | PSQLStoredProcFrm in '..\Source\PSQLStoredProcFrm.pas' {PSQLStoredProcProp},
41 | PSQLQueryEdit in '..\Source\PSQLQueryEdit.pas' {SQLEditForm};
42 |
43 | end.
44 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC12.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/dclPostgresDAC12.res
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC14.dpk:
--------------------------------------------------------------------------------
1 | package dclPostgresDAC14;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS ON}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS ON}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO OFF}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST OFF}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
26 | {$DESIGNONLY}
27 | {$IMPLICITBUILD ON}
28 |
29 | requires
30 | dcldb,
31 | PostgresDAC14;
32 |
33 | contains
34 | PSQLupdsqled in '..\Source\PSQLupdsqled.pas' {PSQLUpdateSQLEditForm},
35 | psqlAboutFrm in '..\Source\psqlAboutFrm.pas' {PSQLAboutComp},
36 | PSQLCOMP in '..\Source\PSQLCOMP.pas',
37 | PSQLConnFrm in '..\Source\PSQLConnFrm.pas' {PSQLConnForm},
38 | PSQLfldlinks in '..\Source\PSQLfldlinks.pas' {PSQLLinkFields},
39 | PSQLMigrator in '..\Source\PSQLMigrator.pas',
40 | PSQLStoredProcFrm in '..\Source\PSQLStoredProcFrm.pas' {PSQLStoredProcProp},
41 | PSQLQueryEdit in '..\Source\PSQLQueryEdit.pas' {SQLEditForm};
42 |
43 | end.
44 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC14.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/dclPostgresDAC14.res
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC15.dpk:
--------------------------------------------------------------------------------
1 | package dclPostgresDAC15;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS ON}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS ON}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO OFF}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES ON}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST OFF}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
26 | {$DESIGNONLY}
27 | {$IMPLICITBUILD ON}
28 | {$DEFINE DEBUG}
29 |
30 | requires
31 | dcldb,
32 | PostgresDAC15;
33 |
34 | contains
35 | PSQLupdsqled in '..\Source\PSQLupdsqled.pas' {PSQLUpdateSQLEditForm},
36 | PSQLCOMP in '..\Source\PSQLCOMP.pas',
37 | PSQLConnFrm in '..\Source\PSQLConnFrm.pas' {PSQLConnForm},
38 | PSQLfldlinks in '..\Source\PSQLfldlinks.pas' {PSQLLinkFields},
39 | PSQLMigrator in '..\Source\PSQLMigrator.pas',
40 | PSQLStoredProcFrm in '..\Source\PSQLStoredProcFrm.pas' {PSQLStoredProcProp},
41 | PSQLQueryEdit in '..\Source\PSQLQueryEdit.pas' {SQLEditForm},
42 | psqlAboutFrm in '..\Source\psqlAboutFrm.pas' {PSQLAboutComp};
43 |
44 | end.
45 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC15.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/dclPostgresDAC15.res
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC16.dpk:
--------------------------------------------------------------------------------
1 | package dclPostgresDAC16;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO ON}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS ON}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION ON}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO OFF}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES OFF}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE DEBUG}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
29 | {$DESIGNONLY}
30 | {$IMPLICITBUILD ON}
31 |
32 | requires
33 | dcldb,
34 | PostgresDAC16;
35 |
36 | contains
37 | PSQLupdsqled in '..\Source\PSQLupdsqled.pas' {PSQLUpdateSQLEditForm},
38 | PSQLCOMP in '..\Source\PSQLCOMP.pas',
39 | PSQLConnFrm in '..\Source\PSQLConnFrm.pas' {PSQLConnForm},
40 | PSQLfldlinks in '..\Source\PSQLfldlinks.pas' {PSQLLinkFields},
41 | PSQLMigrator in '..\Source\PSQLMigrator.pas',
42 | PSQLStoredProcFrm in '..\Source\PSQLStoredProcFrm.pas' {PSQLStoredProcProp},
43 | PSQLQueryEdit in '..\Source\PSQLQueryEdit.pas' {SQLEditForm},
44 | psqlAboutFrm in '..\Source\psqlAboutFrm.pas' {PSQLAboutComp};
45 |
46 | end.
47 |
48 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC16.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/dclPostgresDAC16.res
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC17.dpk:
--------------------------------------------------------------------------------
1 | package dclPostgresDAC17;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO ON}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS ON}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION ON}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO OFF}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES OFF}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE DEBUG}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
29 | {$DESIGNONLY}
30 | {$IMPLICITBUILD ON}
31 |
32 | requires
33 | dcldb,
34 | PostgresDAC17;
35 |
36 | contains
37 | PSQLupdsqled in '..\Source\PSQLupdsqled.pas' {PSQLUpdateSQLEditForm},
38 | PSQLCOMP in '..\Source\PSQLCOMP.pas',
39 | PSQLConnFrm in '..\Source\PSQLConnFrm.pas' {PSQLConnForm},
40 | PSQLfldlinks in '..\Source\PSQLfldlinks.pas' {PSQLLinkFields},
41 | PSQLMigrator in '..\Source\PSQLMigrator.pas',
42 | PSQLStoredProcFrm in '..\Source\PSQLStoredProcFrm.pas' {PSQLStoredProcProp},
43 | PSQLQueryEdit in '..\Source\PSQLQueryEdit.pas' {SQLEditForm},
44 | psqlAboutFrm in '..\Source\psqlAboutFrm.pas' {PSQLAboutComp};
45 |
46 | end.
47 |
48 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC17.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/dclPostgresDAC17.res
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC18.dpk:
--------------------------------------------------------------------------------
1 | package dclPostgresDAC18;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO ON}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS ON}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION ON}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO OFF}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES OFF}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE DEBUG}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
29 | {$DESIGNONLY}
30 | {$IMPLICITBUILD ON}
31 |
32 | requires
33 | dcldb,
34 | PostgresDAC18;
35 |
36 | contains
37 | PSQLupdsqled in '..\Source\PSQLupdsqled.pas' {PSQLUpdateSQLEditForm},
38 | PSQLCOMP in '..\Source\PSQLCOMP.pas',
39 | PSQLConnFrm in '..\Source\PSQLConnFrm.pas' {PSQLConnForm},
40 | PSQLfldlinks in '..\Source\PSQLfldlinks.pas' {PSQLLinkFields},
41 | PSQLMigrator in '..\Source\PSQLMigrator.pas',
42 | PSQLStoredProcFrm in '..\Source\PSQLStoredProcFrm.pas' {PSQLStoredProcProp},
43 | PSQLQueryEdit in '..\Source\PSQLQueryEdit.pas' {SQLEditForm},
44 | psqlAboutFrm in '..\Source\psqlAboutFrm.pas' {PSQLAboutComp};
45 |
46 | end.
47 |
48 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC18.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/dclPostgresDAC18.res
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC19.dpk:
--------------------------------------------------------------------------------
1 | package dclPostgresDAC19;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO OFF}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS OFF}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION ON}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO OFF}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES OFF}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE RELEASE}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
29 | {$DESIGNONLY}
30 | {$IMPLICITBUILD ON}
31 |
32 | requires
33 | dcldb,
34 | PostgresDAC19;
35 |
36 | contains
37 | PSQLupdsqled in '..\Source\PSQLupdsqled.pas' {PSQLUpdateSQLEditForm},
38 | PSQLCOMP in '..\Source\PSQLCOMP.pas',
39 | PSQLConnFrm in '..\Source\PSQLConnFrm.pas' {PSQLConnForm},
40 | PSQLfldlinks in '..\Source\PSQLfldlinks.pas' {PSQLLinkFields},
41 | PSQLMigrator in '..\Source\PSQLMigrator.pas',
42 | PSQLStoredProcFrm in '..\Source\PSQLStoredProcFrm.pas' {PSQLStoredProcProp},
43 | PSQLQueryEdit in '..\Source\PSQLQueryEdit.pas' {SQLEditForm},
44 | psqlAboutFrm in '..\Source\psqlAboutFrm.pas' {PSQLAboutComp};
45 |
46 | end.
47 |
48 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC19.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/dclPostgresDAC19.res
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC20.dpk:
--------------------------------------------------------------------------------
1 | package dclPostgresDAC20;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO ON}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS ON}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION ON}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO OFF}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES OFF}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE DEBUG}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
29 | {$DESIGNONLY}
30 | {$IMPLICITBUILD ON}
31 |
32 | requires
33 | dcldb,
34 | PostgresDAC20;
35 |
36 | contains
37 | PSQLupdsqled in '..\Source\PSQLupdsqled.pas' {PSQLUpdateSQLEditForm},
38 | PSQLCOMP in '..\Source\PSQLCOMP.pas',
39 | PSQLConnFrm in '..\Source\PSQLConnFrm.pas' {PSQLConnForm},
40 | PSQLfldlinks in '..\Source\PSQLfldlinks.pas' {PSQLLinkFields},
41 | PSQLMigrator in '..\Source\PSQLMigrator.pas',
42 | PSQLStoredProcFrm in '..\Source\PSQLStoredProcFrm.pas' {PSQLStoredProcProp},
43 | PSQLQueryEdit in '..\Source\PSQLQueryEdit.pas' {SQLEditForm},
44 | psqlAboutFrm in '..\Source\psqlAboutFrm.pas' {PSQLAboutComp};
45 |
46 | end.
47 |
48 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC20.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/dclPostgresDAC20.res
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC21.dpk:
--------------------------------------------------------------------------------
1 | package dclPostgresDAC21;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO ON}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS ON}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION ON}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO OFF}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES OFF}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE DEBUG}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
29 | {$DESIGNONLY}
30 | {$IMPLICITBUILD ON}
31 |
32 | requires
33 | dcldb,
34 | PostgresDAC21;
35 |
36 | contains
37 | PSQLupdsqled in '..\Source\PSQLupdsqled.pas' {PSQLUpdateSQLEditForm},
38 | PSQLCOMP in '..\Source\PSQLCOMP.pas',
39 | PSQLConnFrm in '..\Source\PSQLConnFrm.pas' {PSQLConnForm},
40 | PSQLfldlinks in '..\Source\PSQLfldlinks.pas' {PSQLLinkFields},
41 | PSQLMigrator in '..\Source\PSQLMigrator.pas',
42 | PSQLStoredProcFrm in '..\Source\PSQLStoredProcFrm.pas' {PSQLStoredProcProp},
43 | PSQLQueryEdit in '..\Source\PSQLQueryEdit.pas' {SQLEditForm},
44 | psqlAboutFrm in '..\Source\psqlAboutFrm.pas' {PSQLAboutComp};
45 |
46 | end.
47 |
48 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC21.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/dclPostgresDAC21.res
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC22.dpk:
--------------------------------------------------------------------------------
1 | package dclPostgresDAC22;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO ON}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS ON}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION ON}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO OFF}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES OFF}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE DEBUG}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
29 | {$DESIGNONLY}
30 | {$IMPLICITBUILD ON}
31 |
32 | requires
33 | dcldb,
34 | PostgresDAC22;
35 |
36 | contains
37 | PSQLupdsqled in '..\Source\PSQLupdsqled.pas' {PSQLUpdateSQLEditForm},
38 | PSQLCOMP in '..\Source\PSQLCOMP.pas',
39 | PSQLConnFrm in '..\Source\PSQLConnFrm.pas' {PSQLConnForm},
40 | PSQLfldlinks in '..\Source\PSQLfldlinks.pas' {PSQLLinkFields},
41 | PSQLMigrator in '..\Source\PSQLMigrator.pas',
42 | PSQLStoredProcFrm in '..\Source\PSQLStoredProcFrm.pas' {PSQLStoredProcProp},
43 | PSQLQueryEdit in '..\Source\PSQLQueryEdit.pas' {SQLEditForm},
44 | psqlAboutFrm in '..\Source\psqlAboutFrm.pas' {PSQLAboutComp};
45 |
46 | end.
47 |
48 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC22.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/dclPostgresDAC22.res
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC23.dpk:
--------------------------------------------------------------------------------
1 | package dclPostgresDAC23;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO ON}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS ON}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION ON}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO OFF}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES OFF}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE DEBUG}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
29 | {$DESIGNONLY}
30 | {$IMPLICITBUILD ON}
31 |
32 | requires
33 | dcldb,
34 | PostgresDAC23;
35 |
36 | contains
37 | PSQLupdsqled in '..\Source\PSQLupdsqled.pas' {PSQLUpdateSQLEditForm},
38 | PSQLCOMP in '..\Source\PSQLCOMP.pas',
39 | PSQLConnFrm in '..\Source\PSQLConnFrm.pas' {PSQLConnForm},
40 | PSQLfldlinks in '..\Source\PSQLfldlinks.pas' {PSQLLinkFields},
41 | PSQLMigrator in '..\Source\PSQLMigrator.pas',
42 | PSQLStoredProcFrm in '..\Source\PSQLStoredProcFrm.pas' {PSQLStoredProcProp},
43 | PSQLQueryEdit in '..\Source\PSQLQueryEdit.pas' {SQLEditForm},
44 | psqlAboutFrm in '..\Source\psqlAboutFrm.pas' {PSQLAboutComp};
45 |
46 | end.
47 |
48 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC23.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/dclPostgresDAC23.res
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC24.dpk:
--------------------------------------------------------------------------------
1 | package dclPostgresDAC24;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO ON}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS ON}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION ON}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO OFF}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES OFF}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE DEBUG}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
29 | {$DESIGNONLY}
30 | {$IMPLICITBUILD ON}
31 |
32 | requires
33 | dcldb,
34 | PostgresDAC24;
35 |
36 | contains
37 | PSQLupdsqled in '..\Source\PSQLupdsqled.pas' {PSQLUpdateSQLEditForm},
38 | PSQLCOMP in '..\Source\PSQLCOMP.pas',
39 | PSQLConnFrm in '..\Source\PSQLConnFrm.pas' {PSQLConnForm},
40 | PSQLfldlinks in '..\Source\PSQLfldlinks.pas' {PSQLLinkFields},
41 | PSQLMigrator in '..\Source\PSQLMigrator.pas',
42 | PSQLStoredProcFrm in '..\Source\PSQLStoredProcFrm.pas' {PSQLStoredProcProp},
43 | PSQLQueryEdit in '..\Source\PSQLQueryEdit.pas' {SQLEditForm},
44 | psqlAboutFrm in '..\Source\psqlAboutFrm.pas' {PSQLAboutComp};
45 |
46 | end.
47 |
48 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC24.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/dclPostgresDAC24.res
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC25.dpk:
--------------------------------------------------------------------------------
1 | package dclPostgresDAC25;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO OFF}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS OFF}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION ON}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO OFF}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES OFF}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE RELEASE}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
29 | {$DESIGNONLY}
30 | {$IMPLICITBUILD ON}
31 |
32 | requires
33 | dcldb,
34 | PostgresDAC25;
35 |
36 | contains
37 | PSQLupdsqled in '..\Source\PSQLupdsqled.pas' {PSQLUpdateSQLEditForm},
38 | PSQLCOMP in '..\Source\PSQLCOMP.pas',
39 | PSQLConnFrm in '..\Source\PSQLConnFrm.pas' {PSQLConnForm},
40 | PSQLfldlinks in '..\Source\PSQLfldlinks.pas' {PSQLLinkFields},
41 | PSQLMigrator in '..\Source\PSQLMigrator.pas',
42 | PSQLStoredProcFrm in '..\Source\PSQLStoredProcFrm.pas' {PSQLStoredProcProp},
43 | PSQLQueryEdit in '..\Source\PSQLQueryEdit.pas' {SQLEditForm},
44 | psqlAboutFrm in '..\Source\psqlAboutFrm.pas' {PSQLAboutComp};
45 |
46 | end.
47 |
48 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC25.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/dclPostgresDAC25.res
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC26.dpk:
--------------------------------------------------------------------------------
1 | package dclPostgresDAC26;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO OFF}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS OFF}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION ON}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO OFF}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES OFF}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE RELEASE}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
29 | {$DESIGNONLY}
30 | {$IMPLICITBUILD ON}
31 |
32 | requires
33 | dcldb,
34 | PostgresDAC26;
35 |
36 | contains
37 | PSQLupdsqled in '..\Source\PSQLupdsqled.pas' {PSQLUpdateSQLEditForm},
38 | PSQLCOMP in '..\Source\PSQLCOMP.pas',
39 | PSQLConnFrm in '..\Source\PSQLConnFrm.pas' {PSQLConnForm},
40 | PSQLfldlinks in '..\Source\PSQLfldlinks.pas' {PSQLLinkFields},
41 | PSQLMigrator in '..\Source\PSQLMigrator.pas',
42 | PSQLStoredProcFrm in '..\Source\PSQLStoredProcFrm.pas' {PSQLStoredProcProp},
43 | PSQLQueryEdit in '..\Source\PSQLQueryEdit.pas' {SQLEditForm},
44 | psqlAboutFrm in '..\Source\psqlAboutFrm.pas' {PSQLAboutComp};
45 |
46 | end.
47 |
48 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC27.dpk:
--------------------------------------------------------------------------------
1 | package dclPostgresDAC27;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO OFF}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS OFF}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION ON}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO OFF}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES OFF}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE RELEASE}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
29 | {$DESIGNONLY}
30 | {$IMPLICITBUILD ON}
31 |
32 | requires
33 | dcldb,
34 | PostgresDAC27;
35 |
36 | contains
37 | PSQLupdsqled in '..\Source\PSQLupdsqled.pas' {PSQLUpdateSQLEditForm},
38 | PSQLCOMP in '..\Source\PSQLCOMP.pas',
39 | PSQLConnFrm in '..\Source\PSQLConnFrm.pas' {PSQLConnForm},
40 | PSQLfldlinks in '..\Source\PSQLfldlinks.pas' {PSQLLinkFields},
41 | PSQLMigrator in '..\Source\PSQLMigrator.pas',
42 | PSQLStoredProcFrm in '..\Source\PSQLStoredProcFrm.pas' {PSQLStoredProcProp},
43 | PSQLQueryEdit in '..\Source\PSQLQueryEdit.pas' {SQLEditForm},
44 | psqlAboutFrm in '..\Source\psqlAboutFrm.pas' {PSQLAboutComp};
45 |
46 | end.
47 |
48 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC28.dpk:
--------------------------------------------------------------------------------
1 | package dclPostgresDAC28;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO OFF}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS OFF}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION ON}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO OFF}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES OFF}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE RELEASE}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
29 | {$DESIGNONLY}
30 | {$IMPLICITBUILD ON}
31 |
32 | requires
33 | dcldb,
34 | PostgresDAC28;
35 |
36 | contains
37 | PSQLupdsqled in '..\Source\PSQLupdsqled.pas' {PSQLUpdateSQLEditForm},
38 | PSQLCOMP in '..\Source\PSQLCOMP.pas',
39 | PSQLConnFrm in '..\Source\PSQLConnFrm.pas' {PSQLConnForm},
40 | PSQLfldlinks in '..\Source\PSQLfldlinks.pas' {PSQLLinkFields},
41 | PSQLMigrator in '..\Source\PSQLMigrator.pas',
42 | PSQLStoredProcFrm in '..\Source\PSQLStoredProcFrm.pas' {PSQLStoredProcProp},
43 | PSQLQueryEdit in '..\Source\PSQLQueryEdit.pas' {SQLEditForm},
44 | psqlAboutFrm in '..\Source\psqlAboutFrm.pas' {PSQLAboutComp};
45 |
46 | end.
47 |
48 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC28.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/dclPostgresDAC28.res
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC29.dpk:
--------------------------------------------------------------------------------
1 | package dclPostgresDAC29;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO OFF}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS OFF}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION ON}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO OFF}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES OFF}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE RELEASE}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
29 | {$DESIGNONLY}
30 | {$IMPLICITBUILD ON}
31 |
32 | requires
33 | dcldb,
34 | PostgresDAC29;
35 |
36 | contains
37 | PSQLupdsqled in '..\Source\PSQLupdsqled.pas' {PSQLUpdateSQLEditForm},
38 | PSQLCOMP in '..\Source\PSQLCOMP.pas',
39 | PSQLConnFrm in '..\Source\PSQLConnFrm.pas' {PSQLConnForm},
40 | PSQLfldlinks in '..\Source\PSQLfldlinks.pas' {PSQLLinkFields},
41 | PSQLMigrator in '..\Source\PSQLMigrator.pas',
42 | PSQLStoredProcFrm in '..\Source\PSQLStoredProcFrm.pas' {PSQLStoredProcProp},
43 | PSQLQueryEdit in '..\Source\PSQLQueryEdit.pas' {SQLEditForm},
44 | psqlAboutFrm in '..\Source\psqlAboutFrm.pas' {PSQLAboutComp};
45 |
46 | end.
47 |
48 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC29.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/dclPostgresDAC29.res
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC5.cfg:
--------------------------------------------------------------------------------
1 | -$A+
2 | -$B-
3 | -$C+
4 | -$D+
5 | -$E-
6 | -$F-
7 | -$G+
8 | -$H+
9 | -$I+
10 | -$J+
11 | -$K-
12 | -$L+
13 | -$M-
14 | -$N+
15 | -$O+
16 | -$P+
17 | -$Q-
18 | -$R-
19 | -$S-
20 | -$T-
21 | -$U-
22 | -$V+
23 | -$W-
24 | -$X+
25 | -$YD
26 | -$Z1
27 | -cg
28 | -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
29 | -H+
30 | -W+
31 | -M
32 | -$M16384,1048576
33 | -K$00400000
34 | -Z
35 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC5.dpk:
--------------------------------------------------------------------------------
1 | package dclPostgresDAC5;
2 |
3 | {$R *.RES}
4 | {$ALIGN ON}
5 | {$ASSERTIONS ON}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS ON}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO ON}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST ON}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
26 | {$DESIGNONLY}
27 | {$IMPLICITBUILD OFF}
28 |
29 | requires
30 | PostgresDAC5,
31 | dcldb50;
32 |
33 | contains
34 | PSQLStoredProcFrm in '..\Source\PSQLStoredProcFrm.pas' {PSQLStoredProcProp},
35 | PSQLupdsqled in '..\Source\PSQLupdsqled.pas' {PSQLUpdateSQLEditForm},
36 | psqlAboutFrm in '..\Source\psqlAboutFrm.pas' {PSQLAboutComp},
37 | PSQLCOMP in '..\Source\PSQLCOMP.pas',
38 | PSQLConnFrm in '..\Source\PSQLConnFrm.pas' {PSQLConnForm},
39 | PSQLfldlinks in '..\Source\PSQLfldlinks.pas' {PSQLLinkFields},
40 | PSQLMigrator in '..\Source\PSQLMigrator.pas',
41 | PSQLQueryEdit in '..\Source\PSQLQueryEdit.pas' {SQLEditForm};
42 |
43 | end.
44 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC5.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/dclPostgresDAC5.res
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC6.cfg:
--------------------------------------------------------------------------------
1 | -$A8
2 | -$B-
3 | -$C+
4 | -$D+
5 | -$E-
6 | -$F-
7 | -$G+
8 | -$H+
9 | -$I+
10 | -$J-
11 | -$K-
12 | -$L+
13 | -$M-
14 | -$N+
15 | -$O+
16 | -$P+
17 | -$Q-
18 | -$R-
19 | -$S-
20 | -$T-
21 | -$U-
22 | -$V+
23 | -$W-
24 | -$X+
25 | -$YD
26 | -$Z1
27 | -GD
28 | -cg
29 | -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
30 | -H+
31 | -W+
32 | -M
33 | -$M16384,1048576
34 | -K$00400000
35 | -Z
36 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC6.dpk:
--------------------------------------------------------------------------------
1 | package dclPostgresDAC6;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS ON}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS ON}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO ON}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST OFF}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
26 | {$DESIGNONLY}
27 | {$IMPLICITBUILD OFF}
28 |
29 | requires
30 | PostgresDAC6,
31 | dcldb;
32 |
33 | contains
34 | PSQLStoredProcFrm in '..\Source\PSQLStoredProcFrm.pas' {PSQLStoredProcProp},
35 | PSQLupdsqled in '..\Source\PSQLupdsqled.pas' {PSQLUpdateSQLEditForm},
36 | psqlAboutFrm in '..\Source\psqlAboutFrm.pas' {PSQLAboutComp},
37 | PSQLCOMP in '..\Source\PSQLCOMP.pas',
38 | PSQLConnFrm in '..\Source\PSQLConnFrm.pas' {PSQLConnForm},
39 | PSQLfldlinks in '..\Source\PSQLfldlinks.pas' {PSQLLinkFields},
40 | PSQLMigrator in '..\Source\PSQLMigrator.pas',
41 | PSQLQueryEdit in '..\Source\PSQLQueryEdit.pas' {SQLEditForm};
42 |
43 | end.
44 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC6.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/dclPostgresDAC6.res
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC7.cfg:
--------------------------------------------------------------------------------
1 | -$A8
2 | -$B-
3 | -$C+
4 | -$D+
5 | -$E-
6 | -$F-
7 | -$G+
8 | -$H+
9 | -$I+
10 | -$J-
11 | -$K-
12 | -$L+
13 | -$M-
14 | -$N+
15 | -$O+
16 | -$P+
17 | -$Q-
18 | -$R-
19 | -$S-
20 | -$T-
21 | -$U-
22 | -$V+
23 | -$W-
24 | -$X+
25 | -$YD
26 | -$Z1
27 | -GD
28 | -cg
29 | -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
30 | -H+
31 | -W+
32 | -M
33 | -$M16384,1048576
34 | -K$00400000
35 | -LE"c:\program files\borland\delphi7\Projects\Bpl"
36 | -LN"c:\program files\borland\delphi7\Projects\Bpl"
37 | -Z
38 | -w-UNSAFE_TYPE
39 | -w-UNSAFE_CODE
40 | -w-UNSAFE_CAST
41 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC7.dpk:
--------------------------------------------------------------------------------
1 | package dclPostgresDAC7;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS ON}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS ON}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO ON}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST OFF}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
26 | {$DESIGNONLY}
27 | {$IMPLICITBUILD OFF}
28 |
29 | requires
30 | PostgresDAC7,
31 | dcldb;
32 |
33 | contains
34 | PSQLStoredProcFrm in '..\Source\PSQLStoredProcFrm.pas' {PSQLStoredProcProp},
35 | PSQLupdsqled in '..\Source\PSQLupdsqled.pas' {PSQLUpdateSQLEditForm},
36 | psqlAboutFrm in '..\Source\psqlAboutFrm.pas' {PSQLAboutComp},
37 | PSQLCOMP in '..\Source\PSQLCOMP.pas',
38 | PSQLConnFrm in '..\Source\PSQLConnFrm.pas' {PSQLConnForm},
39 | PSQLfldlinks in '..\Source\PSQLfldlinks.pas' {PSQLLinkFields},
40 | PSQLMigrator in '..\Source\PSQLMigrator.pas',
41 | PSQLQueryEdit in '..\Source\PSQLQueryEdit.pas' {SQLEditForm};
42 |
43 | end.
44 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC7.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/dclPostgresDAC7.res
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC9.cfg:
--------------------------------------------------------------------------------
1 | -$A8
2 | -$B-
3 | -$C+
4 | -$D+
5 | -$E-
6 | -$F-
7 | -$G+
8 | -$H+
9 | -$I+
10 | -$J-
11 | -$K-
12 | -$L+
13 | -$M-
14 | -$N+
15 | -$O+
16 | -$P+
17 | -$Q-
18 | -$R-
19 | -$S-
20 | -$T-
21 | -$U-
22 | -$V+
23 | -$W-
24 | -$X+
25 | -$YD
26 | -$Z1
27 | -cg
28 | -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
29 | -H+
30 | -W+
31 | -M
32 | -$M16384,1048576
33 | -K$00400000
34 | -Z
35 | -w-UNSAFE_TYPE
36 | -w-UNSAFE_CODE
37 | -w-UNSAFE_CAST
38 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC9.dpk:
--------------------------------------------------------------------------------
1 | package dclPostgresDAC9;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS ON}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS ON}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO ON}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST OFF}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$DESCRIPTION 'PostgreSQL Direct Access Components'}
26 | {$DESIGNONLY}
27 | {$IMPLICITBUILD OFF}
28 |
29 | requires
30 | PostgresDAC9,
31 | dcldb;
32 |
33 | contains
34 | PSQLStoredProcFrm in '..\Source\PSQLStoredProcFrm.pas' {PSQLStoredProcProp},
35 | PSQLupdsqled in '..\Source\PSQLupdsqled.pas' {PSQLUpdateSQLEditForm},
36 | psqlAboutFrm in '..\Source\psqlAboutFrm.pas' {PSQLAboutComp},
37 | PSQLCOMP in '..\Source\PSQLCOMP.pas',
38 | PSQLConnFrm in '..\Source\PSQLConnFrm.pas' {PSQLConnForm},
39 | PSQLfldlinks in '..\Source\PSQLfldlinks.pas' {PSQLLinkFields},
40 | PSQLMigrator in '..\Source\PSQLMigrator.pas',
41 | PSQLQueryEdit in '..\Source\PSQLQueryEdit.pas' {SQLEditForm};
42 |
43 | end.
44 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDAC9.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/dclPostgresDAC9.res
--------------------------------------------------------------------------------
/Packages/dclPostgresDACB5.cpp:
--------------------------------------------------------------------------------
1 | //---------------------------------------------------------------------------
2 |
3 | #include
4 | #pragma hdrstop
5 | USERES("dclPostgresDACB5.res");
6 | USEPACKAGE("vcl50.bpi");
7 | USEPACKAGE("dsnide50.bpi");
8 | USEFORMNS("PSQLupdsqled.pas", Psqlupdsqled, PSQLUpdateSQLEditForm);
9 | USEUNIT("PSQLCOMP.pas");
10 | USEFORMNS("PSQLConnFrm.pas", Psqlconnfrm, PSQLConnForm);
11 | USEFORMNS("PSQLQueryEdit.pas", PSQLQueryEdit, SQLEditForm);
12 | USEFORMNS("PSQLfldlinks.pas", Psqlfldlinks, PSQLLinkFields);
13 | USEUNIT("PSQLMigrator.pas");
14 | USEFORMNS("PSQLStoredProcFrm.pas", Psqlstoredprocfrm, PSQLStoredProcProp);
15 | USEPACKAGE("PostgresDACB5.bpi");
16 | USEPACKAGE("dcldb50.bpi");
17 | USEPACKAGE("Vcldb50.bpi");
18 | USEPACKAGE("Vclbde50.bpi");
19 | //---------------------------------------------------------------------------
20 | #pragma package(smart_init)
21 | //---------------------------------------------------------------------------
22 |
23 | // Package source.
24 | //---------------------------------------------------------------------------
25 |
26 | #pragma argsused
27 | int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void*)
28 | {
29 | return 1;
30 | }
31 | //---------------------------------------------------------------------------
32 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDACB5.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/dclPostgresDACB5.res
--------------------------------------------------------------------------------
/Packages/dclPostgresDACB6.cpp:
--------------------------------------------------------------------------------
1 | //---------------------------------------------------------------------------
2 |
3 | #include
4 | #pragma hdrstop
5 | USEFORMNS("PSQLupdsqled.pas", Psqlupdsqled, PSQLUpdateSQLEditForm);
6 | USEFORMNS("PSQLConnFrm.pas", Psqlconnfrm, PSQLConnForm);
7 | USEFORMNS("PSQLfldlinks.pas", Psqlfldlinks, PSQLLinkFields);
8 | USEFORMNS("PSQLStoredProcFrm.pas", Psqlstoredprocfrm, PSQLStoredProcProp);
9 | USEFORMNS("PSQLQueryEdit.pas", PSQLQueryEdit, SQLEditForm);
10 | //---------------------------------------------------------------------------
11 | #pragma package(smart_init)
12 | //---------------------------------------------------------------------------
13 |
14 | // Package source.
15 | //---------------------------------------------------------------------------
16 |
17 | #pragma argsused
18 | int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void*)
19 | {
20 | return 1;
21 | }
22 | //---------------------------------------------------------------------------
23 |
--------------------------------------------------------------------------------
/Packages/dclPostgresDACB6.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Packages/dclPostgresDACB6.res
--------------------------------------------------------------------------------
/Packages/dclPostgresDACL.pas:
--------------------------------------------------------------------------------
1 | { This file was automatically created by Lazarus. Do not edit!
2 | This source is only used to compile and install the package.
3 | }
4 |
5 | unit dclPostgresDACL;
6 |
7 | interface
8 |
9 | uses
10 | PSQLCOMP, PSQLConnFrm, PSQLQueryEdit, PSQLfldlinks, PSQLStoredProcFrm,
11 | PSQLupdsqled, psqlAboutFrm, LazarusPackageIntf;
12 |
13 | implementation
14 |
15 | procedure Register;
16 | begin
17 | RegisterUnit('PSQLCOMP', @PSQLCOMP.Register);
18 | end;
19 |
20 | initialization
21 | RegisterPackage('dclPostgresDACL', @Register);
22 | end.
23 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # PostgresDAC
2 |
3 | Powerful direct access components for PostgreSQL (and derivatives) and Delphi/C++Builder.
4 | It allows you to create Delphi/C++Builder applications with direct access to PostgreSQL and its derivatives without BDE and ODBC.
5 |
6 | ### Top 5 reasons to use PostgresDAC:
7 |
8 | - PostgresDAC is a free (like free speech, not like free beer) product;
9 | - support for **all** Delphi and C++Builder versions (5-7, BDStudio 2005-2006, CodeGear RAD Studio 2007-2009, Embarcadero RAD Studio 2010, XE-XE8, Embarcadero RAD Studio 10-12;)
10 | - support for Lazarus
11 | - only 300-400 Kb are added to your .exe file;
12 | - full compatibility with all the existing data-aware controls and report designers;
13 | - PostgresDAC is the only product fully support PostgreSQL native dump file format.
14 |
15 |
--------------------------------------------------------------------------------
/Source/PDAC.DCR:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Source/PDAC.DCR
--------------------------------------------------------------------------------
/Source/PDAC.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Source/PDAC.ico
--------------------------------------------------------------------------------
/Source/PSQLConnFrm.pas:
--------------------------------------------------------------------------------
1 | unit PSQLConnFrm;
2 |
3 | interface
4 |
5 | {SVN revision: $Id$}
6 |
7 | uses
8 | SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
9 | StdCtrls, ExtCtrls, PSQLDbTables, PSQLTypes;
10 |
11 | type
12 | TPSQLConnForm = class(TForm)
13 | Bevel1: TBevel;
14 | laUser: TLabel;
15 | laPass: TLabel;
16 | DBUserID: TEdit;
17 | DBPasswd: TEdit;
18 | laDbName: TLabel;
19 | DBName: TEdit;
20 | laHost: TLabel;
21 | DBHost: TEdit;
22 | laPort: TLabel;
23 | DBPort: TEdit;
24 | DBLogin: TCheckBox;
25 | OkBtn: TButton;
26 | CancelBtn: TButton;
27 | Panel1: TPanel;
28 | private
29 | { Private declarations }
30 | Database: TPSQLDatabase;
31 | function Edit: Boolean;
32 | public
33 | { Public declarations }
34 | procedure GetDatabaseProperty(Db: TPSQLDatabase);
35 | procedure SetDatabaseProperty(Db: TPSQLDatabase);
36 | end;
37 |
38 | function EditDatabase(ADatabase: TPSQLDatabase): Boolean;
39 |
40 | var
41 | PSQLConnForm: TPSQLConnForm;
42 |
43 | implementation
44 |
45 | {$R *.DFM}
46 |
47 | function EditDatabase(ADatabase: TPSQLDatabase): Boolean;
48 | begin
49 | with TPSQLConnForm.Create(Application) do
50 | try
51 | Database := ADatabase;
52 | Result := Edit;
53 | finally
54 | Free;
55 | end;
56 | end;
57 |
58 | function TPSQLConnForm.Edit: Boolean;
59 | begin
60 | GetDatabaseProperty(Database);
61 | Result := False;
62 | if ShowModal = mrOk then
63 | begin
64 | SetDatabaseProperty(Database);
65 | Result := True;
66 | end;
67 | end;
68 |
69 | procedure TPSQLConnForm.GetDatabaseProperty(Db: TPSQLDatabase);
70 | begin
71 | DBName.Text := DB.DatabaseName;
72 | DBUserId.Text := db.UserName;
73 | DBPasswd.Text := db.UserPassword;
74 | DBHost.Text := Db.Host;
75 | DBPort.Text := IntToStr(Db.Port);
76 | DBLogin.Checked := db.LoginPrompt;
77 | end;
78 |
79 | procedure TPSQLConnForm.SetDatabaseProperty(Db: TPSQLDatabase);
80 | begin
81 | DB.DatabaseName := DBName.Text;
82 | db.UserName := DBUserId.Text;
83 | db.UserPassword := DBPasswd.Text;
84 | Db.Host := DBHost.Text;
85 | Db.Port := StrToIntDef(DBPort.Text, PSQLTypes.PSQL_PORT);
86 | db.LoginPrompt := DBLogin.Checked;
87 | end;
88 |
89 | end.
90 |
91 |
92 |
--------------------------------------------------------------------------------
/Source/PSQLFMXConnFrm.pas:
--------------------------------------------------------------------------------
1 | unit PSQLFMXConnFrm;
2 |
3 | interface
4 |
5 | uses
6 | System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
7 | FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
8 | FMX.Controls.Presentation, FMX.Edit, PSQLDbTables, PSQLTypes;
9 |
10 | type
11 | TPSQLFmxConnForm = class(TForm)
12 | Panel1: TPanel;
13 | Panel2: TPanel;
14 | Label1: TLabel;
15 | laDBName: TLabel;
16 | lbUser: TLabel;
17 | laPass: TLabel;
18 | laHost: TLabel;
19 | laPort: TLabel;
20 | DBName: TEdit;
21 | DBPasswd: TEdit;
22 | DBHost: TEdit;
23 | DBUserID: TEdit;
24 | DBPort: TEdit;
25 | DBLogin: TCheckBox;
26 | OKBtn: TButton;
27 | CancelBtn: TButton;
28 | public
29 | procedure GetDatabaseProperty(Db: TPSQLDatabase);
30 | procedure SetDatabaseProperty(Db: TPSQLDatabase);
31 | end;
32 |
33 | var
34 | PSQLFmxConnForm: TPSQLFmxConnForm;
35 |
36 | implementation
37 |
38 | {$R *.fmx}
39 |
40 | procedure TPSQLFmxConnForm.GetDatabaseProperty(Db: TPSQLDatabase);
41 | begin
42 | DBName.Text := DB.DatabaseName;
43 | DBUserId.Text := db.UserName;
44 | DBPasswd.Text := db.UserPassword;
45 | DBHost.Text := Db.Host;
46 | DBPort.Text := IntToStr(Db.Port);
47 | DBLogin.IsChecked := db.LoginPrompt;
48 | end;
49 |
50 | procedure TPSQLFmxConnForm.SetDatabaseProperty(Db: TPSQLDatabase);
51 | begin
52 | DB.DatabaseName := DBName.Text;
53 | db.UserName := DBUserId.Text;
54 | db.UserPassword := DBPasswd.Text;
55 | Db.Host := DBHost.Text;
56 | Db.Port := StrToIntDef(DBPort.Text, PSQLTypes.PSQL_PORT);
57 | db.LoginPrompt := DBLogin.IsChecked;
58 | end;
59 |
60 | end.
61 |
--------------------------------------------------------------------------------
/Source/PSQLStoredProcFrm.dfm:
--------------------------------------------------------------------------------
1 | object PSQLStoredProcProp: TPSQLStoredProcProp
2 | Left = 245
3 | Top = 145
4 | Width = 525
5 | Height = 295
6 | Caption = 'TPSQLStoredProc Editor...'
7 | Color = clBtnFace
8 | Font.Charset = DEFAULT_CHARSET
9 | Font.Color = clWindowText
10 | Font.Height = -11
11 | Font.Name = 'MS Sans Serif'
12 | Font.Style = []
13 | OldCreateOrder = False
14 | Position = poDesktopCenter
15 | DesignSize = (
16 | 517
17 | 261)
18 | PixelsPerInch = 96
19 | TextHeight = 13
20 | object Panel1: TPanel
21 | Left = 0
22 | Top = 0
23 | Width = 517
24 | Height = 25
25 | Align = alTop
26 | Alignment = taLeftJustify
27 | Caption = ' PostgreSQL Stored Procedure Options'
28 | Color = clGray
29 | Font.Charset = DEFAULT_CHARSET
30 | Font.Color = clWhite
31 | Font.Height = -11
32 | Font.Name = 'MS Sans Serif'
33 | Font.Style = [fsBold]
34 | ParentFont = False
35 | TabOrder = 0
36 | end
37 | object OkBtn: TButton
38 | Left = 328
39 | Top = 231
40 | Width = 75
41 | Height = 25
42 | Anchors = [akLeft, akBottom]
43 | Caption = 'OK'
44 | ModalResult = 1
45 | TabOrder = 1
46 | end
47 | object CancelBtn: TButton
48 | Left = 412
49 | Top = 231
50 | Width = 75
51 | Height = 25
52 | Anchors = [akLeft, akBottom]
53 | Caption = 'Cancel'
54 | ModalResult = 2
55 | TabOrder = 2
56 | end
57 | object ListView1: TListView
58 | Left = 0
59 | Top = 25
60 | Width = 517
61 | Height = 192
62 | Align = alTop
63 | Columns = <
64 | item
65 | AutoSize = True
66 | Caption = 'Full Name'
67 | end
68 | item
69 | Caption = 'Overload ID'
70 | Width = 60
71 | end
72 | item
73 | AutoSize = True
74 | Caption = 'Arguments'
75 | end>
76 | GridLines = True
77 | HotTrack = True
78 | HotTrackStyles = [htHandPoint, htUnderlineHot]
79 | RowSelect = True
80 | TabOrder = 3
81 | ViewStyle = vsReport
82 | OnColumnClick = ListView1ColumnClick
83 | OnCompare = ListView1Compare
84 | OnSelectItem = ListView1SelectItem
85 | end
86 | end
87 |
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/DEMO/SSHDemo.cfg:
--------------------------------------------------------------------------------
1 | -$A8
2 | -$B-
3 | -$C+
4 | -$D+
5 | -$E-
6 | -$F-
7 | -$G+
8 | -$H+
9 | -$I+
10 | -$J-
11 | -$K-
12 | -$L+
13 | -$M-
14 | -$N+
15 | -$O+
16 | -$P+
17 | -$Q-
18 | -$R-
19 | -$S-
20 | -$T-
21 | -$U-
22 | -$V+
23 | -$W-
24 | -$X+
25 | -$YD
26 | -$Z1
27 | -GD
28 | -cg
29 | -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
30 | -H+
31 | -W+
32 | -M
33 | -$M16384,1048576
34 | -K$00400000
35 | -LE"c:\program files\borland\delphi7\Projects\Bpl"
36 | -LN"c:\program files\borland\delphi7\Projects\Bpl"
37 | -DEUREKALOG;EUREKALOG_VER6
38 | -w-UNSAFE_TYPE
39 | -w-UNSAFE_CODE
40 | -w-UNSAFE_CAST
41 |
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/DEMO/SSHDemo.dpr:
--------------------------------------------------------------------------------
1 | program SSHDemo;
2 |
3 | uses
4 | ExceptionLog,
5 | Forms,
6 | fuMain in 'fuMain.pas' {fmMain},
7 | fuLogin in 'fuLogin.pas' {fmLogin};
8 |
9 | {$R *.res}
10 |
11 | begin
12 | Application.Initialize;
13 | Application.CreateForm(TfmMain, fmMain);
14 | Application.Run;
15 | end.
16 |
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/DEMO/SSHDemo.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Source/TPSQLSSHDatabase/DEMO/SSHDemo.res
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/DEMO/fuMain.pas:
--------------------------------------------------------------------------------
1 | unit fuMain;
2 |
3 | interface
4 |
5 | uses
6 | Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
7 | Dialogs, StdCtrls, ExtCtrls, DBCtrls, Grids, DBGrids, DB, PSQLDbTables,
8 | PgSSHDatabase;
9 |
10 | type
11 | TfmMain = class(TForm)
12 | lbTables: TListBox;
13 | Label1: TLabel;
14 | dbgData: TDBGrid;
15 | dbnData: TDBNavigator;
16 | Label2: TLabel;
17 | buConnect: TButton;
18 | buDisconnect: TButton;
19 | buClose: TButton;
20 | DataSource1: TDataSource;
21 | PgSSHDB: TPgSSHDatabase;
22 | PSQLT: TPSQLTable;
23 | procedure buCloseClick(Sender: TObject);
24 | procedure buConnectClick(Sender: TObject);
25 | procedure buDisconnectClick(Sender: TObject);
26 | procedure lbTablesClick(Sender: TObject);
27 | private
28 | { Private declarations }
29 | public
30 | { Public declarations }
31 | end;
32 |
33 | var
34 | fmMain: TfmMain;
35 |
36 | implementation
37 | uses fuLogin;
38 |
39 | {$R *.dfm}
40 |
41 | procedure TfmMain.buCloseClick(Sender: TObject);
42 | begin
43 | Close;
44 | end;
45 |
46 |
47 | procedure TfmMain.buConnectClick(Sender: TObject);
48 | begin
49 | if ShowConnectDlg(PgSSHDB) then
50 | begin
51 | try
52 | PgSSHDB.Connected := true;
53 | Screen.Cursor := crSQLWait;
54 | PgSSHDB.GetTableNames('',False,lbTables.Items);
55 | Screen.Cursor := crDefault;
56 | buConnect.Enabled := False;
57 | buDisconnect.Enabled := True;
58 | except
59 | on E:Exception do
60 | begin
61 | Application.MessageBox(PChar(E.Message), 'Connection fault',
62 | MB_OK or MB_ICONINFORMATION);
63 | end;
64 | end;
65 | end;
66 | end;
67 |
68 | procedure TfmMain.buDisconnectClick(Sender: TObject);
69 | begin
70 | PgSSHDB.Close;
71 | buConnect.Enabled := True;
72 | buDisConnect.Enabled := False;
73 | lbTables.Clear;
74 | end;
75 |
76 | procedure TfmMain.lbTablesClick(Sender: TObject);
77 | begin
78 | if lbTables.ItemIndex = -1 then Exit;
79 | PSQLT.Close;
80 | PSQLT.TableName := lbTables.Items[lbTables.ItemIndex];
81 | PSQLT.Open;
82 | end;
83 |
84 | end.
85 |
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/SRC/BDS2006/PgSSHDatabaseBDS2006.dpk:
--------------------------------------------------------------------------------
1 | package PgSSHDatabaseBDS2006;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS ON}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS ON}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO ON}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST OFF}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$IMPLICITBUILD OFF}
26 |
27 | requires
28 | vcl,
29 | rtl,
30 | dbrtl,
31 | bdertl,
32 | vcldb,
33 | PostgresDAC10,
34 | wodSSHTunnel;
35 |
36 | contains
37 | PgSSHDatabase in '..\PgSSHDatabase.pas';
38 |
39 | end.
40 |
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/SRC/BDS2006/PgSSHDatabaseBDS2006.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Source/TPSQLSSHDatabase/SRC/BDS2006/PgSSHDatabaseBDS2006.res
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/SRC/Delphi5/PgSSHDatabaseD5.dpk:
--------------------------------------------------------------------------------
1 | package PgSSHDatabaseD5;
2 |
3 | {$R *.RES}
4 | {$ALIGN ON}
5 | {$ASSERTIONS ON}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS ON}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO ON}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST ON}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$IMPLICITBUILD OFF}
26 |
27 | requires
28 | vcl50,
29 | Vcldb50,
30 | Vclbde50,
31 | PostgresDAC5,
32 | wodSSHTunnel;
33 |
34 | contains
35 | PgSSHDatabase in '..\PgSSHDatabase.pas';
36 |
37 | end.
38 |
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/SRC/Delphi5/PgSSHDatabaseD5.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Source/TPSQLSSHDatabase/SRC/Delphi5/PgSSHDatabaseD5.res
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/SRC/Delphi6/PgSSHDatabaseD6.dpk:
--------------------------------------------------------------------------------
1 | package PgSSHDatabaseD6;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS ON}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS ON}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO ON}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST OFF}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$IMPLICITBUILD OFF}
26 |
27 | requires
28 | rtl,
29 | vcl,
30 | dbrtl,
31 | vcldb,
32 | bdertl,
33 | PostgresDAC6,
34 | wodSSHTunnel;
35 |
36 | contains
37 | PgSSHDatabase in '..\PgSSHDatabase.pas';
38 |
39 | end.
40 |
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/SRC/Delphi6/PgSSHDatabaseD6.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Source/TPSQLSSHDatabase/SRC/Delphi6/PgSSHDatabaseD6.res
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/SRC/Delphi7/PgSSHDatabaseD7.dpk:
--------------------------------------------------------------------------------
1 | package PgSSHDatabaseD7;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS ON}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS ON}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO ON}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST OFF}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$IMPLICITBUILD OFF}
26 |
27 | requires
28 | vcl,
29 | rtl,
30 | dbrtl,
31 | bdertl,
32 | vcldb,
33 | PostgresDAC7,
34 | wodSSHTunnel;
35 |
36 | contains
37 | PgSSHDatabase in '..\PgSSHDatabase.pas';
38 |
39 | end.
40 |
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/SRC/Delphi7/PgSSHDatabaseD7.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Source/TPSQLSSHDatabase/SRC/Delphi7/PgSSHDatabaseD7.res
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/SRC/Delphi9/PgSSHDatabaseD9.dpk:
--------------------------------------------------------------------------------
1 | package PgSSHDatabaseD9;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS ON}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS ON}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO ON}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST OFF}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$IMPLICITBUILD OFF}
26 |
27 | requires
28 | rtl,
29 | vcl,
30 | dbrtl,
31 | vcldb,
32 | bdertl,
33 | PostgresDAC9,
34 | wodSSHTunnel;
35 |
36 | contains
37 | PgSSHDatabase in '..\PgSSHDatabase.pas';
38 |
39 | end.
40 |
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/SRC/Delphi9/PgSSHDatabaseD9.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Source/TPSQLSSHDatabase/SRC/Delphi9/PgSSHDatabaseD9.res
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/SRC/PgSSHDatabase26.dpk:
--------------------------------------------------------------------------------
1 | package PgSSHDatabase26;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO OFF}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS OFF}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION ON}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO OFF}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES OFF}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE RELEASE}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$IMPLICITBUILD ON}
29 |
30 | requires
31 | vcl,
32 | rtl,
33 | dbrtl,
34 | vcldb,
35 | PostgresDAC26;
36 |
37 | contains
38 | PgSSHDatabase in 'PgSSHDatabase.pas';
39 |
40 | end.
41 |
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/SRC/RADStudio2007/PgSSHDatabaseRADStudio2007.dpk:
--------------------------------------------------------------------------------
1 | package PgSSHDatabaseRADStudio2007;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS ON}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS ON}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO ON}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST OFF}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$IMPLICITBUILD OFF}
26 |
27 | requires
28 | vcl,
29 | rtl,
30 | dbrtl,
31 | bdertl,
32 | vcldb,
33 | PostgresDAC11,
34 | wodSSHTunnel;
35 |
36 | contains
37 | PgSSHDatabase in '..\PgSSHDatabase.pas';
38 |
39 | end.
40 |
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/SRC/RADStudio2007/PgSSHDatabaseRADStudio2007.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Source/TPSQLSSHDatabase/SRC/RADStudio2007/PgSSHDatabaseRADStudio2007.res
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/SRC/RADStudio2009/PgSSHDatabaseRADStudio2009.dpk:
--------------------------------------------------------------------------------
1 | package PgSSHDatabaseRADStudio2009;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS ON}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS ON}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO ON}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST OFF}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$IMPLICITBUILD OFF}
26 |
27 | requires
28 | vcl,
29 | rtl,
30 | dbrtl,
31 | bdertl,
32 | vcldb,
33 | wodSSHTunnel,
34 | PostgresDAC12;
35 |
36 | contains
37 | PgSSHDatabase in '..\PgSSHDatabase.pas';
38 |
39 | end.
40 |
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/SRC/RADStudio2009/PgSSHDatabaseRADStudio2009.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Source/TPSQLSSHDatabase/SRC/RADStudio2009/PgSSHDatabaseRADStudio2009.res
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/SRC/RADStudio2010/PgSSHDatabaseRADStudio2010.dpk:
--------------------------------------------------------------------------------
1 | package PgSSHDatabaseRADStudio2010;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS ON}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS ON}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO ON}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST OFF}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$IMPLICITBUILD OFF}
26 |
27 | requires
28 | vcl,
29 | rtl,
30 | dbrtl,
31 | bdertl,
32 | vcldb,
33 | wodSSHTunnel,
34 | PostgresDAC14;
35 |
36 | contains
37 | PgSSHDatabase in '..\PgSSHDatabase.pas';
38 |
39 | end.
40 |
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/SRC/RADStudio2010/PgSSHDatabaseRADStudio2010.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Source/TPSQLSSHDatabase/SRC/RADStudio2010/PgSSHDatabaseRADStudio2010.res
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/SRC/RADStudioDX/PgSSHDatabaseRADStudio10.dpk:
--------------------------------------------------------------------------------
1 | package PgSSHDatabaseRADStudio10;
2 |
3 | {$R *.res}
4 | {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
5 | {$ALIGN 8}
6 | {$ASSERTIONS ON}
7 | {$BOOLEVAL OFF}
8 | {$DEBUGINFO OFF}
9 | {$EXTENDEDSYNTAX ON}
10 | {$IMPORTEDDATA ON}
11 | {$IOCHECKS ON}
12 | {$LOCALSYMBOLS OFF}
13 | {$LONGSTRINGS ON}
14 | {$OPENSTRINGS ON}
15 | {$OPTIMIZATION ON}
16 | {$OVERFLOWCHECKS OFF}
17 | {$RANGECHECKS OFF}
18 | {$REFERENCEINFO OFF}
19 | {$SAFEDIVIDE OFF}
20 | {$STACKFRAMES OFF}
21 | {$TYPEDADDRESS OFF}
22 | {$VARSTRINGCHECKS ON}
23 | {$WRITEABLECONST OFF}
24 | {$MINENUMSIZE 1}
25 | {$IMAGEBASE $400000}
26 | {$DEFINE RELEASE}
27 | {$ENDIF IMPLICITBUILDING}
28 | {$IMPLICITBUILD ON}
29 |
30 | requires
31 | vcl,
32 | rtl,
33 | dbrtl,
34 | vcldb,
35 | wodSSHTunnel,
36 | PostgresDAC23;
37 |
38 | contains
39 | PgSSHDatabase in '..\PgSSHDatabase.pas';
40 |
41 | end.
42 |
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/SRC/RADStudioDX/PgSSHDatabaseRADStudio10.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Source/TPSQLSSHDatabase/SRC/RADStudioDX/PgSSHDatabaseRADStudio10.res
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/SRC/RADStudioXE/PgSSHDatabaseRADStudioXE.dpk:
--------------------------------------------------------------------------------
1 | package PgSSHDatabaseRADStudioXE;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS ON}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS ON}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO ON}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST OFF}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$IMPLICITBUILD OFF}
26 |
27 | requires
28 | vcl,
29 | rtl,
30 | dbrtl,
31 | bdertl,
32 | vcldb,
33 | wodSSHTunnel,
34 | PostgresDAC15;
35 |
36 | contains
37 | PgSSHDatabase in '..\PgSSHDatabase.pas';
38 |
39 | end.
40 |
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/SRC/RADStudioXE/PgSSHDatabaseRADStudioXE.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Source/TPSQLSSHDatabase/SRC/RADStudioXE/PgSSHDatabaseRADStudioXE.res
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/SRC/RADStudioXE2/PgSSHDatabaseRADStudioXE2.dpk:
--------------------------------------------------------------------------------
1 | package PgSSHDatabaseRADStudioXE2;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS ON}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS ON}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO ON}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST OFF}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$IMPLICITBUILD OFF}
26 |
27 | requires
28 | vcl,
29 | rtl,
30 | dbrtl,
31 | bdertl,
32 | vcldb,
33 | wodSSHTunnel,
34 | PostgresDAC16;
35 |
36 | contains
37 | PgSSHDatabase in '..\PgSSHDatabase.pas';
38 |
39 | end.
40 |
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/SRC/RADStudioXE3/PgSSHDatabaseRADStudioXE3.dpk:
--------------------------------------------------------------------------------
1 | package PgSSHDatabaseRADStudioXE3;
2 |
3 | {$R *.res}
4 | {$ALIGN 8}
5 | {$ASSERTIONS ON}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS ON}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO ON}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST OFF}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$IMPLICITBUILD OFF}
26 |
27 | requires
28 | vcl,
29 | rtl,
30 | dbrtl,
31 | bdertl,
32 | vcldb,
33 | wodSSHTunnel,
34 | PostgresDAC17;
35 |
36 | contains
37 | PgSSHDatabase in '..\PgSSHDatabase.pas';
38 |
39 | end.
40 |
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/SRC/SSHDB.dcr:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Source/TPSQLSSHDatabase/SRC/SSHDB.dcr
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/install_ssh.txt:
--------------------------------------------------------------------------------
1 | TPgSSHDatabase component installation.
2 |
3 | 1. TPgSSHDatabase uses the wodSSHTunnel ActiveX component
4 | from WeOnlyDo! Software (http://www.weonlydo.com).
5 | Before installing TPgSSHDatabase you should download the trial
6 | version of wodSSHTunnel or purchase a registered copy at
7 | http://www.weonlydo.com/index.asp?showform=SSHTunnel.
8 | 2. To install the wodSSHTunnel ActiveX component, run Delphi,
9 | then open Component | Import ActiveX Control, select
10 | 'WeOnlyDo! COM SSH Tunnel ActiveX Control' and click 'Create Unit'.
11 | See wodSSHTunnel documentation for details.
12 | 3. Open wodSSHTunnel.dpk and click Compile.
13 | 3. Open PgSSHDatabaseDX.dpk (X stands for your Delphi version)
14 | and click the 'Install' button.
15 | 4. The new PgSSHDatabase component will appear at the
16 | PostgresDAC palette after the installation.
17 |
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/wodSSHTunnel.cfg:
--------------------------------------------------------------------------------
1 | -$A+
2 | -$B-
3 | -$C+
4 | -$D+
5 | -$E-
6 | -$F-
7 | -$G+
8 | -$H+
9 | -$I+
10 | -$J-
11 | -$K-
12 | -$L+
13 | -$M-
14 | -$N+
15 | -$O+
16 | -$P+
17 | -$Q-
18 | -$R-
19 | -$S-
20 | -$T-
21 | -$U-
22 | -$V+
23 | -$W-
24 | -$X+
25 | -$YD
26 | -$Z1
27 | -cg
28 | -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
29 | -H+
30 | -W+
31 | -M
32 | -$M16384,1048576
33 | -K$00400000
34 | -LE"c:\program files\borland\delphi5\Projects\Bpl"
35 | -LN"c:\program files\borland\delphi5\Projects\Bpl"
36 | -Z
37 |
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/wodSSHTunnel.dpk:
--------------------------------------------------------------------------------
1 | package wodSSHTunnel;
2 |
3 | {$R *.RES}
4 | {$ALIGN ON}
5 | {$ASSERTIONS ON}
6 | {$BOOLEVAL OFF}
7 | {$DEBUGINFO ON}
8 | {$EXTENDEDSYNTAX ON}
9 | {$IMPORTEDDATA ON}
10 | {$IOCHECKS ON}
11 | {$LOCALSYMBOLS ON}
12 | {$LONGSTRINGS ON}
13 | {$OPENSTRINGS ON}
14 | {$OPTIMIZATION ON}
15 | {$OVERFLOWCHECKS OFF}
16 | {$RANGECHECKS OFF}
17 | {$REFERENCEINFO ON}
18 | {$SAFEDIVIDE OFF}
19 | {$STACKFRAMES OFF}
20 | {$TYPEDADDRESS OFF}
21 | {$VARSTRINGCHECKS ON}
22 | {$WRITEABLECONST OFF}
23 | {$MINENUMSIZE 1}
24 | {$IMAGEBASE $400000}
25 | {$IMPLICITBUILD OFF}
26 |
27 | requires
28 | rtl,
29 | vcl;
30 |
31 | contains
32 | wodSSHTunnelLib_TLB;
33 |
34 | end.
35 |
--------------------------------------------------------------------------------
/Source/TPSQLSSHDatabase/wodSSHTunnel.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/Source/TPSQLSSHDatabase/wodSSHTunnel.res
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_10/Makefile:
--------------------------------------------------------------------------------
1 | #-------------------------------------------------------------------------
2 | #
3 | # Makefile for src/bin/pg_dump
4 | #
5 | # Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
6 | # Portions Copyright (c) 1994, Regents of the University of California
7 | #
8 | # src/bin/pg_dump/Makefile
9 | #
10 | #-------------------------------------------------------------------------
11 |
12 | PGFILEDESC = "pg_dump/pg_restore/pg_dumpall - backup and restore PostgreSQL databases"
13 | PGAPPICON=win32
14 |
15 | subdir = src/bin/pg_dump
16 | top_builddir = ../../..
17 | include $(top_builddir)/src/Makefile.global
18 |
19 | override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS)
20 | LDFLAGS_INTERNAL += -L$(top_builddir)/src/fe_utils -lpgfeutils $(libpq_pgport)
21 |
22 | OBJS= pg_backup_archiver.o pg_backup_db.o pg_backup_custom.o \
23 | pg_backup_null.o pg_backup_tar.o pg_backup_directory.o \
24 | pg_backup_utils.o parallel.o compress_io.o dumputils.o mi_global_pwd.o $(WIN32RES)
25 |
26 | all: pg_dump pg_restore pg_dumpall
27 |
28 | pg_dump: pg_dump.o common.o pg_dump_sort.o $(OBJS) | submake-libpq submake-libpgport submake-libpgfeutils
29 | $(CC) -shared -static -static-libgcc $(CFLAGS) pg_dump.o common.o pg_dump_sort.o $(OBJS) $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o pg_dump.dll
30 |
31 | pg_restore: pg_restore.o $(OBJS) | submake-libpq submake-libpgport submake-libpgfeutils
32 | $(CC) -shared -static -static-libgcc $(CFLAGS) pg_restore.o $(OBJS) $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o pg_restore.dll
33 |
34 | pg_dumpall: pg_dumpall.o dumputils.o | submake-libpq submake-libpgport submake-libpgfeutils
35 | $(CC) $(CFLAGS) pg_dumpall.o dumputils.o $(WIN32RES) $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@$(X)
36 |
37 | install: all installdirs
38 | $(INSTALL_PROGRAM) pg_dump$(X) '$(DESTDIR)$(bindir)'/pg_dump$(X)
39 | $(INSTALL_PROGRAM) pg_restore$(X) '$(DESTDIR)$(bindir)'/pg_restore$(X)
40 | $(INSTALL_PROGRAM) pg_dumpall$(X) '$(DESTDIR)$(bindir)'/pg_dumpall$(X)
41 |
42 | installdirs:
43 | $(MKDIR_P) '$(DESTDIR)$(bindir)'
44 |
45 | check:
46 | $(prove_check)
47 |
48 | installcheck:
49 | $(prove_installcheck)
50 |
51 | uninstall:
52 | rm -f $(addprefix '$(DESTDIR)$(bindir)'/, pg_dump$(X) pg_restore$(X) pg_dumpall$(X))
53 |
54 | clean distclean maintainer-clean:
55 | rm -f pg_dump$(X) pg_restore$(X) pg_dumpall$(X) $(OBJS) pg_dump.o common.o pg_dump_sort.o pg_restore.o pg_dumpall.o pg_dump.dll pg_restore.dll
56 | rm -rf tmp_check
57 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_10/mi_global_pwd.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | #include
4 | #include
5 | #include "pg_config.h"
6 | #include "mi_global_pwd.h"
7 |
8 | //for stderr reassigning
9 | FILE * log_stream;
10 |
11 | ErrorCallBackProc_ptr ErrorCallBackProc = NULL;
12 | LogCallBackProc_ptr LogCallBackProc = NULL;
13 |
14 | //prototypes
15 | void mi_die_not_so_horribly(int code);
16 |
17 | //implementation
18 | void mi_die_not_so_horribly(int code)
19 | {
20 | if(log_stream)
21 | fclose(log_stream);
22 | if(ErrorCallBackProc)
23 | ErrorCallBackProc(code);
24 | };
25 |
26 | int pdmbvm_GetVersionAsInt(void)
27 | {
28 | return PG_VERSION_NUM;
29 | };
30 | void pdmbvm_SetErrorCallBackProc(void * ptr)
31 | {
32 | ErrorCallBackProc = (ErrorCallBackProc_ptr) ptr;
33 | };
34 |
35 | void pdmbvm_SetLogCallBackProc(void * ptr)
36 | {
37 | LogCallBackProc = (LogCallBackProc_ptr) ptr;
38 | };
39 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_10/mi_global_pwd.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef MI_GLOBAL_PWD_H
3 | #define MI_GLOBAL_PWD_H
4 |
5 | __declspec(dllexport) void pdmbvm_SetErrorCallBackProc(void * ptr);
6 | __declspec(dllexport) void pdmbvm_SetLogCallBackProc(void * ptr);
7 | __declspec(dllexport) int pdmbvm_GetVersionAsInt(void);
8 |
9 |
10 | extern FILE * log_stream;
11 |
12 | typedef void (__cdecl *ErrorCallBackProc_ptr)(int);
13 | typedef void (__cdecl *LogCallBackProc_ptr)(char *);
14 | extern LogCallBackProc_ptr LogCallBackProc;
15 |
16 | void mi_die_not_so_horribly(int code);
17 |
18 | #endif /* MI_GLOBAL_PWD_H */
19 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_10/nls.mk:
--------------------------------------------------------------------------------
1 | # src/bin/pg_dump/nls.mk
2 | CATALOG_NAME = pg_dump
3 | AVAIL_LANGUAGES = cs de es fr he it ja ko pl pt_BR ru sv tr zh_CN
4 | GETTEXT_FILES = pg_backup_archiver.c pg_backup_db.c pg_backup_custom.c \
5 | pg_backup_null.c pg_backup_tar.c \
6 | pg_backup_directory.c dumputils.c compress_io.c \
7 | pg_dump.c common.c pg_dump_sort.c \
8 | pg_restore.c pg_dumpall.c \
9 | parallel.c parallel.h pg_backup_utils.c pg_backup_utils.h \
10 | ../../common/exec.c ../../common/fe_memutils.c \
11 | ../../common/wait_error.c
12 | GETTEXT_TRIGGERS = write_msg:2 exit_horribly:2 simple_prompt \
13 | ExecuteSqlCommand:3 ahlog:3 warn_or_exit_horribly:3
14 | GETTEXT_FLAGS = \
15 | write_msg:2:c-format \
16 | exit_horribly:2:c-format \
17 | ahlog:3:c-format \
18 | warn_or_exit_horribly:3:c-format
19 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_10/parallel.h:
--------------------------------------------------------------------------------
1 | /*-------------------------------------------------------------------------
2 | *
3 | * parallel.h
4 | *
5 | * Parallel support for pg_dump and pg_restore
6 | *
7 | * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
8 | * Portions Copyright (c) 1994, Regents of the University of California
9 | *
10 | * IDENTIFICATION
11 | * src/bin/pg_dump/parallel.h
12 | *
13 | *-------------------------------------------------------------------------
14 | */
15 |
16 | #ifndef PG_DUMP_PARALLEL_H
17 | #define PG_DUMP_PARALLEL_H
18 |
19 | #include "pg_backup_archiver.h"
20 |
21 | /* Function to call in master process on completion of a worker task */
22 | typedef void (*ParallelCompletionPtr) (ArchiveHandle *AH,
23 | TocEntry *te,
24 | int status,
25 | void *callback_data);
26 |
27 | /* Wait options for WaitForWorkers */
28 | typedef enum
29 | {
30 | WFW_NO_WAIT,
31 | WFW_GOT_STATUS,
32 | WFW_ONE_IDLE,
33 | WFW_ALL_IDLE
34 | } WFW_WaitOption;
35 |
36 | /* ParallelSlot is an opaque struct known only within parallel.c */
37 | typedef struct ParallelSlot ParallelSlot;
38 |
39 | /* Overall state for parallel.c */
40 | typedef struct ParallelState
41 | {
42 | int numWorkers; /* allowed number of workers */
43 | /* these arrays have numWorkers entries, one per worker: */
44 | TocEntry **te; /* item being worked on, or NULL */
45 | ParallelSlot *parallelSlot; /* private info about each worker */
46 | } ParallelState;
47 |
48 | #ifdef WIN32
49 | extern bool parallel_init_done;
50 | extern DWORD mainThreadId;
51 | #endif
52 |
53 | extern void init_parallel_dump_utils(void);
54 |
55 | extern bool IsEveryWorkerIdle(ParallelState *pstate);
56 | extern void WaitForWorkers(ArchiveHandle *AH, ParallelState *pstate,
57 | WFW_WaitOption mode);
58 |
59 | extern ParallelState *ParallelBackupStart(ArchiveHandle *AH);
60 | extern void DispatchJobForTocEntry(ArchiveHandle *AH,
61 | ParallelState *pstate,
62 | TocEntry *te,
63 | T_Action act,
64 | ParallelCompletionPtr callback,
65 | void *callback_data);
66 | extern void ParallelBackupEnd(ArchiveHandle *AH, ParallelState *pstate);
67 |
68 | extern void set_archive_cancel_info(ArchiveHandle *AH, PGconn *conn);
69 |
70 | #endif /* PG_DUMP_PARALLEL_H */
71 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_10/pg_backup_db.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Definitions for pg_backup_db.c
3 | *
4 | * IDENTIFICATION
5 | * src/bin/pg_dump/pg_backup_db.h
6 | */
7 |
8 | #ifndef PG_BACKUP_DB_H
9 | #define PG_BACKUP_DB_H
10 |
11 | #include "pg_backup.h"
12 |
13 |
14 | extern int ExecuteSqlCommandBuf(Archive *AHX, const char *buf, size_t bufLen);
15 |
16 | extern void ExecuteSqlStatement(Archive *AHX, const char *query);
17 | extern PGresult *ExecuteSqlQuery(Archive *AHX, const char *query,
18 | ExecStatusType status);
19 | extern PGresult *ExecuteSqlQueryForSingleRow(Archive *fout, char *query);
20 |
21 | extern void EndDBCopyMode(Archive *AHX, const char *tocEntryTag);
22 |
23 | extern void StartTransaction(Archive *AHX);
24 | extern void CommitTransaction(Archive *AHX);
25 |
26 | #endif
27 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_10/pg_backup_tar.h:
--------------------------------------------------------------------------------
1 | /*
2 | * src/bin/pg_dump/pg_backup_tar.h
3 | *
4 | * TAR Header (see "ustar interchange format" in POSIX 1003.1)
5 | *
6 | * Offset Length Contents
7 | * 0 100 bytes File name ('\0' terminated, 99 maximum length)
8 | * 100 8 bytes File mode (in octal ascii)
9 | * 108 8 bytes User ID (in octal ascii)
10 | * 116 8 bytes Group ID (in octal ascii)
11 | * 124 12 bytes File size (in octal ascii)
12 | * 136 12 bytes Modify time (Unix timestamp in octal ascii)
13 | * 148 8 bytes Header checksum (in octal ascii)
14 | * 156 1 bytes Type flag (see below)
15 | * 157 100 bytes Linkname, if symlink ('\0' terminated, 99 maximum length)
16 | * 257 6 bytes Magic ("ustar\0")
17 | * 263 2 bytes Version ("00")
18 | * 265 32 bytes User name ('\0' terminated, 31 maximum length)
19 | * 297 32 bytes Group name ('\0' terminated, 31 maximum length)
20 | * 329 8 bytes Major device ID (in octal ascii)
21 | * 337 8 bytes Minor device ID (in octal ascii)
22 | * 345 155 bytes File name prefix (not used in our implementation)
23 | * 500 12 bytes Padding
24 | *
25 | * 512 (s+p)bytes File contents, padded out to 512-byte boundary
26 | */
27 |
28 | /* The type flag defines the type of file */
29 | #define LF_OLDNORMAL '\0' /* Normal disk file, Unix compatible */
30 | #define LF_NORMAL '0' /* Normal disk file */
31 | #define LF_LINK '1' /* Link to previously dumped file */
32 | #define LF_SYMLINK '2' /* Symbolic link */
33 | #define LF_CHR '3' /* Character special file */
34 | #define LF_BLK '4' /* Block special file */
35 | #define LF_DIR '5' /* Directory */
36 | #define LF_FIFO '6' /* FIFO special file */
37 | #define LF_CONTIG '7' /* Contiguous file */
38 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_10/pg_backup_utils.h:
--------------------------------------------------------------------------------
1 | /*-------------------------------------------------------------------------
2 | *
3 | * pg_backup_utils.h
4 | * Utility routines shared by pg_dump and pg_restore.
5 | *
6 | *
7 | * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
8 | * Portions Copyright (c) 1994, Regents of the University of California
9 | *
10 | * src/bin/pg_dump/pg_backup_utils.h
11 | *
12 | *-------------------------------------------------------------------------
13 | */
14 |
15 | #ifndef PG_BACKUP_UTILS_H
16 | #define PG_BACKUP_UTILS_H
17 |
18 | typedef enum /* bits returned by set_dump_section */
19 | {
20 | DUMP_PRE_DATA = 0x01,
21 | DUMP_DATA = 0x02,
22 | DUMP_POST_DATA = 0x04,
23 | DUMP_UNSECTIONED = 0xff
24 | } DumpSections;
25 |
26 | typedef void (*on_exit_nicely_callback) (int code, void *arg);
27 |
28 | extern const char *progname;
29 |
30 | extern void set_dump_section(const char *arg, int *dumpSections);
31 | extern void write_msg(const char *modulename, const char *fmt,...) pg_attribute_printf(2, 3);
32 | extern void vwrite_msg(const char *modulename, const char *fmt, va_list ap) pg_attribute_printf(2, 0);
33 | extern void on_exit_nicely(on_exit_nicely_callback function, void *arg);
34 | extern void exit_nicely(int code); //mi pg_attribute_noreturn();
35 |
36 | extern void exit_horribly(const char *modulename, const char *fmt,...) pg_attribute_printf(2, 3); //mi pg_attribute_noreturn();
37 |
38 | #endif /* PG_BACKUP_UTILS_H */
39 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_10/pg_dump_dll.h:
--------------------------------------------------------------------------------
1 | #include "mi_global_pwd.h"
2 |
3 | //app_exe - name of the host application
4 | //err_file - name of the file, to which stderr will be reassigned
5 |
6 |
7 | __declspec(dllexport) int v3_dump (char * app_exe, char * err_file, char * params);
8 |
9 | int v3_dump (char * app_exe, char * err_file, char * params)//this NULL ended array of pointers
10 | {
11 | char ** mas;
12 | int cnt = 0;
13 | int c = 1; //app_exe will be the first parameter
14 | char ** arr;
15 | char ** arr2;
16 | int r;
17 |
18 | //count params number
19 | arr = (char **) params;
20 | while (*arr)
21 | {
22 | c++;
23 | arr++;
24 | }
25 |
26 |
27 | //prepare argv array
28 | mas = (char ** ) malloc(c * sizeof(char *));
29 |
30 | arr = (char **) params;
31 | arr2 = mas;
32 |
33 | * arr2 = strdup(app_exe);
34 | arr2++;
35 | cnt++;
36 |
37 | while (*arr)
38 | {
39 | *arr2 = strdup(*arr);
40 | arr2++;
41 | cnt++;
42 |
43 | arr++;
44 | }
45 |
46 | log_stream = NULL;
47 |
48 | if (err_file)
49 | {
50 | log_stream = freopen(err_file, "w", stderr);
51 | if (!log_stream)
52 | {
53 | r = 3;
54 | goto _end;
55 | }
56 | }
57 |
58 | r = main(cnt, mas);
59 |
60 | _end:
61 | //clear grabbed memory
62 | arr2 = mas;
63 | while(cnt--)
64 | {
65 | free(*arr2);
66 | arr2 ++;
67 | }
68 | free(mas);
69 |
70 | //closing file
71 | if(log_stream)
72 | {
73 | fflush(stderr);
74 | fclose(stderr);
75 | freopen("CON", "w", stderr);
76 | }
77 |
78 | return r;
79 | };
80 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_10/pg_restore_dll.h:
--------------------------------------------------------------------------------
1 | #include "mi_global_pwd.h"
2 |
3 | //app_exe - name of the host application
4 | //err_file - name of the file, to which stderr will be reassigned
5 |
6 | __declspec(dllexport) int v3_restore (char * app_exe, char * err_file, char * params); //this NULL ended array of pointers
7 |
8 | int v3_restore (char * app_exe, char * err_file, char * params)
9 | {
10 | char ** mas;
11 | int cnt = 0;
12 | int c = 1; //app_exe will be the first parameter
13 | char ** arr;
14 | char ** arr2;
15 | int r;
16 |
17 | //count params number
18 | arr = (char **) params;
19 | while (*arr)
20 | {
21 | c++;
22 | arr++;
23 | }
24 |
25 | mas = (char ** ) malloc(c * sizeof(char *));
26 |
27 | arr = (char **) params;
28 | arr2 = mas;
29 |
30 | * arr2 = strdup(app_exe);
31 | arr2++;
32 | cnt++;
33 |
34 |
35 | while (*arr)
36 | {
37 | *arr2 = strdup(*arr);
38 | arr2++;
39 | cnt++;
40 | arr++;
41 | }
42 |
43 | log_stream = NULL;
44 |
45 | if (err_file)
46 | {
47 | log_stream = freopen(err_file, "w", stderr);
48 | if (!log_stream)
49 | {
50 | r = 3;
51 | goto _end;
52 | }
53 | }
54 |
55 |
56 | r = main(cnt, mas);
57 |
58 | _end:
59 | //clear grabbed memory
60 | arr2 = mas;
61 | while(cnt--)
62 | {
63 | free(*arr2);
64 | arr2 ++;
65 | }
66 | free(mas);
67 |
68 | //closing file
69 | if(log_stream)
70 | {
71 | fflush(stderr);
72 | fclose(stderr);
73 | freopen("CON", "w", stderr);
74 | }
75 |
76 | return r;
77 | };
78 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_10/win32ver.rc:
--------------------------------------------------------------------------------
1 | #include
2 | #include "pg_config.h"
3 |
4 | VS_VERSION_INFO VERSIONINFO
5 | FILEVERSION 10,0,5,18242
6 | PRODUCTVERSION 10,0,5,18242
7 | FILEFLAGSMASK 0x17L
8 | FILEFLAGS 0x0L
9 | FILEOS VOS_NT_WINDOWS32
10 | FILETYPE VFT_APP
11 | FILESUBTYPE 0x0L
12 | BEGIN
13 | BLOCK "StringFileInfo"
14 | BEGIN
15 | BLOCK "000004b0"
16 | BEGIN
17 | VALUE "CompanyName", "Pavlo Golub"
18 | VALUE "FileDescription", "pg_dump/pg_restore - libraries for backup and restore PostgreSQL databases"
19 | VALUE "FileVersion", PG_VERSION
20 | VALUE "LegalCopyright", "Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group. Portions Copyright (c) 1994, Regents of the University of California."
21 | VALUE "ProductName", "PostgresDAC"
22 | VALUE "ProductVersion", PG_VERSION
23 | END
24 | END
25 | BLOCK "VarFileInfo"
26 | BEGIN
27 | VALUE "Translation", 0x0, 1200
28 | END
29 | END
30 |
31 | IDI_ICON ICON "../../../src/port/win32.ico"
32 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_12/mi_global_pwd.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | #include
4 | #include
5 | #include "pg_config.h"
6 | #include "mi_global_pwd.h"
7 |
8 | //for stderr reassigning
9 | FILE * log_stream;
10 |
11 | ErrorCallBackProc_ptr ErrorCallBackProc = NULL;
12 | LogCallBackProc_ptr LogCallBackProc = NULL;
13 |
14 | //prototypes
15 | void mi_die_not_so_horribly(int code);
16 |
17 | //implementation
18 | void mi_die_not_so_horribly(int code)
19 | {
20 | if(log_stream)
21 | fclose(log_stream);
22 | if(ErrorCallBackProc)
23 | ErrorCallBackProc(code);
24 | };
25 |
26 | int pdmbvm_GetVersionAsInt(void)
27 | {
28 | return PG_VERSION_NUM;
29 | };
30 | void pdmbvm_SetErrorCallBackProc(void * ptr)
31 | {
32 | ErrorCallBackProc = (ErrorCallBackProc_ptr) ptr;
33 | };
34 |
35 | void pdmbvm_SetLogCallBackProc(void * ptr)
36 | {
37 | LogCallBackProc = (LogCallBackProc_ptr) ptr;
38 | };
39 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_12/mi_global_pwd.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef MI_GLOBAL_PWD_H
3 | #define MI_GLOBAL_PWD_H
4 |
5 | __declspec(dllexport) void pdmbvm_SetErrorCallBackProc(void * ptr);
6 | __declspec(dllexport) void pdmbvm_SetLogCallBackProc(void * ptr);
7 | __declspec(dllexport) int pdmbvm_GetVersionAsInt(void);
8 |
9 |
10 | extern FILE * log_stream;
11 |
12 | typedef void (__cdecl *ErrorCallBackProc_ptr)(int);
13 | typedef void (__cdecl *LogCallBackProc_ptr)(char *);
14 | extern LogCallBackProc_ptr LogCallBackProc;
15 |
16 | void mi_die_not_so_horribly(int code);
17 |
18 | #endif /* MI_GLOBAL_PWD_H */
19 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_12/nls.mk:
--------------------------------------------------------------------------------
1 | # src/bin/pg_dump/nls.mk
2 | CATALOG_NAME = pg_dump
3 | AVAIL_LANGUAGES = cs de es ja ru sv tr zh_CN
4 | GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) \
5 | pg_backup_archiver.c pg_backup_db.c pg_backup_custom.c \
6 | pg_backup_null.c pg_backup_tar.c \
7 | pg_backup_directory.c dumputils.c compress_io.c \
8 | pg_dump.c common.c pg_dump_sort.c \
9 | pg_restore.c pg_dumpall.c \
10 | parallel.c parallel.h pg_backup_utils.c pg_backup_utils.h \
11 | ../../common/exec.c ../../common/fe_memutils.c \
12 | ../../common/wait_error.c
13 | GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS) \
14 | fatal simple_prompt \
15 | ExecuteSqlCommand:3 warn_or_exit_horribly:2
16 | GETTEXT_FLAGS = $(FRONTEND_COMMON_GETTEXT_FLAGS) \
17 | fatal:1:c-format \
18 | warn_or_exit_horribly:2:c-format
19 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_12/parallel.h:
--------------------------------------------------------------------------------
1 | /*-------------------------------------------------------------------------
2 | *
3 | * parallel.h
4 | *
5 | * Parallel support for pg_dump and pg_restore
6 | *
7 | * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
8 | * Portions Copyright (c) 1994, Regents of the University of California
9 | *
10 | * IDENTIFICATION
11 | * src/bin/pg_dump/parallel.h
12 | *
13 | *-------------------------------------------------------------------------
14 | */
15 |
16 | #ifndef PG_DUMP_PARALLEL_H
17 | #define PG_DUMP_PARALLEL_H
18 |
19 | #include "pg_backup_archiver.h"
20 |
21 | /* Function to call in master process on completion of a worker task */
22 | typedef void (*ParallelCompletionPtr) (ArchiveHandle *AH,
23 | TocEntry *te,
24 | int status,
25 | void *callback_data);
26 |
27 | /* Wait options for WaitForWorkers */
28 | typedef enum
29 | {
30 | WFW_NO_WAIT,
31 | WFW_GOT_STATUS,
32 | WFW_ONE_IDLE,
33 | WFW_ALL_IDLE
34 | } WFW_WaitOption;
35 |
36 | /* ParallelSlot is an opaque struct known only within parallel.c */
37 | typedef struct ParallelSlot ParallelSlot;
38 |
39 | /* Overall state for parallel.c */
40 | typedef struct ParallelState
41 | {
42 | int numWorkers; /* allowed number of workers */
43 | /* these arrays have numWorkers entries, one per worker: */
44 | TocEntry **te; /* item being worked on, or NULL */
45 | ParallelSlot *parallelSlot; /* private info about each worker */
46 | } ParallelState;
47 |
48 | #ifdef WIN32
49 | extern bool parallel_init_done;
50 | extern DWORD mainThreadId;
51 | #endif
52 |
53 | extern void init_parallel_dump_utils(void);
54 |
55 | extern bool IsEveryWorkerIdle(ParallelState *pstate);
56 | extern void WaitForWorkers(ArchiveHandle *AH, ParallelState *pstate,
57 | WFW_WaitOption mode);
58 |
59 | extern ParallelState *ParallelBackupStart(ArchiveHandle *AH);
60 | extern void DispatchJobForTocEntry(ArchiveHandle *AH,
61 | ParallelState *pstate,
62 | TocEntry *te,
63 | T_Action act,
64 | ParallelCompletionPtr callback,
65 | void *callback_data);
66 | extern void ParallelBackupEnd(ArchiveHandle *AH, ParallelState *pstate);
67 |
68 | extern void set_archive_cancel_info(ArchiveHandle *AH, PGconn *conn);
69 |
70 | #endif /* PG_DUMP_PARALLEL_H */
71 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_12/pg_backup_db.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Definitions for pg_backup_db.c
3 | *
4 | * IDENTIFICATION
5 | * src/bin/pg_dump/pg_backup_db.h
6 | */
7 |
8 | #ifndef PG_BACKUP_DB_H
9 | #define PG_BACKUP_DB_H
10 |
11 | #include "pg_backup.h"
12 |
13 |
14 | extern int ExecuteSqlCommandBuf(Archive *AHX, const char *buf, size_t bufLen);
15 |
16 | extern void ExecuteSqlStatement(Archive *AHX, const char *query);
17 | extern PGresult *ExecuteSqlQuery(Archive *AHX, const char *query,
18 | ExecStatusType status);
19 | extern PGresult *ExecuteSqlQueryForSingleRow(Archive *fout, const char *query);
20 |
21 | extern void EndDBCopyMode(Archive *AHX, const char *tocEntryTag);
22 |
23 | extern void StartTransaction(Archive *AHX);
24 | extern void CommitTransaction(Archive *AHX);
25 |
26 | #endif
27 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_12/pg_backup_tar.h:
--------------------------------------------------------------------------------
1 | /*
2 | * src/bin/pg_dump/pg_backup_tar.h
3 | *
4 | * TAR Header (see "ustar interchange format" in POSIX 1003.1)
5 | *
6 | * Offset Length Contents
7 | * 0 100 bytes File name ('\0' terminated, 99 maximum length)
8 | * 100 8 bytes File mode (in octal ascii)
9 | * 108 8 bytes User ID (in octal ascii)
10 | * 116 8 bytes Group ID (in octal ascii)
11 | * 124 12 bytes File size (in octal ascii)
12 | * 136 12 bytes Modify time (Unix timestamp in octal ascii)
13 | * 148 8 bytes Header checksum (in octal ascii)
14 | * 156 1 bytes Type flag (see below)
15 | * 157 100 bytes Linkname, if symlink ('\0' terminated, 99 maximum length)
16 | * 257 6 bytes Magic ("ustar\0")
17 | * 263 2 bytes Version ("00")
18 | * 265 32 bytes User name ('\0' terminated, 31 maximum length)
19 | * 297 32 bytes Group name ('\0' terminated, 31 maximum length)
20 | * 329 8 bytes Major device ID (in octal ascii)
21 | * 337 8 bytes Minor device ID (in octal ascii)
22 | * 345 155 bytes File name prefix (not used in our implementation)
23 | * 500 12 bytes Padding
24 | *
25 | * 512 (s+p)bytes File contents, padded out to 512-byte boundary
26 | */
27 |
28 | /* The type flag defines the type of file */
29 | #define LF_OLDNORMAL '\0' /* Normal disk file, Unix compatible */
30 | #define LF_NORMAL '0' /* Normal disk file */
31 | #define LF_LINK '1' /* Link to previously dumped file */
32 | #define LF_SYMLINK '2' /* Symbolic link */
33 | #define LF_CHR '3' /* Character special file */
34 | #define LF_BLK '4' /* Block special file */
35 | #define LF_DIR '5' /* Directory */
36 | #define LF_FIFO '6' /* FIFO special file */
37 | #define LF_CONTIG '7' /* Contiguous file */
38 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_12/pg_backup_utils.h:
--------------------------------------------------------------------------------
1 | /*-------------------------------------------------------------------------
2 | *
3 | * pg_backup_utils.h
4 | * Utility routines shared by pg_dump and pg_restore.
5 | *
6 | *
7 | * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
8 | * Portions Copyright (c) 1994, Regents of the University of California
9 | *
10 | * src/bin/pg_dump/pg_backup_utils.h
11 | *
12 | *-------------------------------------------------------------------------
13 | */
14 |
15 | #ifndef PG_BACKUP_UTILS_H
16 | #define PG_BACKUP_UTILS_H
17 |
18 | #include "common/logging.h"
19 |
20 | typedef enum /* bits returned by set_dump_section */
21 | {
22 | DUMP_PRE_DATA = 0x01,
23 | DUMP_DATA = 0x02,
24 | DUMP_POST_DATA = 0x04,
25 | DUMP_UNSECTIONED = 0xff
26 | } DumpSections;
27 |
28 | typedef void (*on_exit_nicely_callback) (int code, void *arg);
29 |
30 | extern const char *progname;
31 |
32 | extern void set_dump_section(const char *arg, int *dumpSections);
33 | extern void on_exit_nicely(on_exit_nicely_callback function, void *arg);
34 | extern void exit_nicely(int code); //mi pg_attribute_noreturn();
35 |
36 | #define fatal(...) do { pg_log_error(__VA_ARGS__); exit_nicely(1); } while(0)
37 |
38 | #endif /* PG_BACKUP_UTILS_H */
39 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_12/pg_dump_dll.h:
--------------------------------------------------------------------------------
1 | #include "mi_global_pwd.h"
2 |
3 | //app_exe - name of the host application
4 | //err_file - name of the file, to which stderr will be reassigned
5 |
6 |
7 | __declspec(dllexport) int v3_dump (char * app_exe, char * err_file, char * params);
8 |
9 | int v3_dump (char * app_exe, char * err_file, char * params)//this NULL ended array of pointers
10 | {
11 | char ** mas;
12 | int cnt = 0;
13 | int c = 1; //app_exe will be the first parameter
14 | char ** arr;
15 | char ** arr2;
16 | int r;
17 |
18 | //count params number
19 | arr = (char **) params;
20 | while (*arr)
21 | {
22 | c++;
23 | arr++;
24 | }
25 |
26 |
27 | //prepare argv array
28 | mas = (char ** ) malloc(c * sizeof(char *));
29 |
30 | arr = (char **) params;
31 | arr2 = mas;
32 |
33 | * arr2 = strdup(app_exe);
34 | arr2++;
35 | cnt++;
36 |
37 | while (*arr)
38 | {
39 | *arr2 = strdup(*arr);
40 | arr2++;
41 | cnt++;
42 |
43 | arr++;
44 | }
45 |
46 | log_stream = NULL;
47 |
48 | if (err_file)
49 | {
50 | log_stream = freopen(err_file, "w", stderr);
51 | if (!log_stream)
52 | {
53 | r = 3;
54 | goto _end;
55 | }
56 | }
57 |
58 | r = main(cnt, mas);
59 |
60 | _end:
61 | //clear grabbed memory
62 | arr2 = mas;
63 | while(cnt--)
64 | {
65 | free(*arr2);
66 | arr2 ++;
67 | }
68 | free(mas);
69 |
70 | //closing file
71 | if(log_stream)
72 | {
73 | fflush(stderr);
74 | fclose(stderr);
75 | freopen("CON", "w", stderr);
76 | }
77 |
78 | return r;
79 | };
80 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_12/pg_restore_dll.h:
--------------------------------------------------------------------------------
1 | #include "mi_global_pwd.h"
2 |
3 | //app_exe - name of the host application
4 | //err_file - name of the file, to which stderr will be reassigned
5 |
6 | __declspec(dllexport) int v3_restore (char * app_exe, char * err_file, char * params); //this NULL ended array of pointers
7 |
8 | int v3_restore (char * app_exe, char * err_file, char * params)
9 | {
10 | char ** mas;
11 | int cnt = 0;
12 | int c = 1; //app_exe will be the first parameter
13 | char ** arr;
14 | char ** arr2;
15 | int r;
16 |
17 | //count params number
18 | arr = (char **) params;
19 | while (*arr)
20 | {
21 | c++;
22 | arr++;
23 | }
24 |
25 | mas = (char ** ) malloc(c * sizeof(char *));
26 |
27 | arr = (char **) params;
28 | arr2 = mas;
29 |
30 | * arr2 = strdup(app_exe);
31 | arr2++;
32 | cnt++;
33 |
34 |
35 | while (*arr)
36 | {
37 | *arr2 = strdup(*arr);
38 | arr2++;
39 | cnt++;
40 | arr++;
41 | }
42 |
43 | log_stream = NULL;
44 |
45 | if (err_file)
46 | {
47 | log_stream = freopen(err_file, "w", stderr);
48 | if (!log_stream)
49 | {
50 | r = 3;
51 | goto _end;
52 | }
53 | }
54 |
55 |
56 | r = main(cnt, mas);
57 |
58 | _end:
59 | //clear grabbed memory
60 | arr2 = mas;
61 | while(cnt--)
62 | {
63 | free(*arr2);
64 | arr2 ++;
65 | }
66 | free(mas);
67 |
68 | //closing file
69 | if(log_stream)
70 | {
71 | fflush(stderr);
72 | fclose(stderr);
73 | freopen("CON", "w", stderr);
74 | }
75 |
76 | return r;
77 | };
78 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_12/win32ver.rc:
--------------------------------------------------------------------------------
1 | #include
2 | #include "pg_config.h"
3 |
4 | VS_VERSION_INFO VERSIONINFO
5 | FILEVERSION 12,0,0,19293
6 | PRODUCTVERSION 12,0,0,19293
7 | FILEFLAGSMASK 0x17L
8 | FILEFLAGS 0x0L
9 | FILEOS VOS_NT_WINDOWS32
10 | FILETYPE VFT_APP
11 | FILESUBTYPE 0x0L
12 | BEGIN
13 | BLOCK "StringFileInfo"
14 | BEGIN
15 | BLOCK "000004b0"
16 | BEGIN
17 | VALUE "CompanyName", "PostgreSQL Global Development Group"
18 | VALUE "FileDescription", "pg_dump/pg_restore/pg_dumpall - backup and restore PostgreSQL databases"
19 | VALUE "FileVersion", PG_VERSION
20 | VALUE "LegalCopyright", "Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group. Portions Copyright (c) 1994, Regents of the University of California."
21 | VALUE "ProductName", "PostgreSQL"
22 | VALUE "ProductVersion", PG_VERSION
23 | END
24 | END
25 | BLOCK "VarFileInfo"
26 | BEGIN
27 | VALUE "Translation", 0x0, 1200
28 | END
29 | END
30 |
31 | IDI_ICON ICON "../../../src/port/win32.ico"
32 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_13/mi_global_pwd.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | #include
4 | #include
5 | #include "pg_config.h"
6 | #include "mi_global_pwd.h"
7 |
8 | //for stderr reassigning
9 | FILE * log_stream;
10 |
11 | ErrorCallBackProc_ptr ErrorCallBackProc = NULL;
12 | LogCallBackProc_ptr LogCallBackProc = NULL;
13 |
14 | //prototypes
15 | void mi_die_not_so_horribly(int code);
16 |
17 | //implementation
18 | void mi_die_not_so_horribly(int code)
19 | {
20 | if(log_stream)
21 | fclose(log_stream);
22 | if(ErrorCallBackProc)
23 | ErrorCallBackProc(code);
24 | };
25 |
26 | int pdmbvm_GetVersionAsInt(void)
27 | {
28 | return PG_VERSION_NUM;
29 | };
30 | void pdmbvm_SetErrorCallBackProc(void * ptr)
31 | {
32 | ErrorCallBackProc = (ErrorCallBackProc_ptr) ptr;
33 | };
34 |
35 | void pdmbvm_SetLogCallBackProc(void * ptr)
36 | {
37 | LogCallBackProc = (LogCallBackProc_ptr) ptr;
38 | };
39 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_13/mi_global_pwd.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef MI_GLOBAL_PWD_H
3 | #define MI_GLOBAL_PWD_H
4 |
5 | __declspec(dllexport) void pdmbvm_SetErrorCallBackProc(void * ptr);
6 | __declspec(dllexport) void pdmbvm_SetLogCallBackProc(void * ptr);
7 | __declspec(dllexport) int pdmbvm_GetVersionAsInt(void);
8 |
9 |
10 | extern FILE * log_stream;
11 |
12 | typedef void (__cdecl *ErrorCallBackProc_ptr)(int);
13 | typedef void (__cdecl *LogCallBackProc_ptr)(char *);
14 | extern LogCallBackProc_ptr LogCallBackProc;
15 |
16 | void mi_die_not_so_horribly(int code);
17 |
18 | #endif /* MI_GLOBAL_PWD_H */
19 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_13/nls.mk:
--------------------------------------------------------------------------------
1 | # src/bin/pg_dump/nls.mk
2 | CATALOG_NAME = pg_dump
3 | AVAIL_LANGUAGES = cs de es fr ja ko ru sv tr uk zh_CN
4 | GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) \
5 | pg_backup_archiver.c pg_backup_db.c pg_backup_custom.c \
6 | pg_backup_null.c pg_backup_tar.c \
7 | pg_backup_directory.c dumputils.c compress_io.c \
8 | pg_dump.c common.c pg_dump_sort.c \
9 | pg_restore.c pg_dumpall.c \
10 | parallel.c parallel.h pg_backup_utils.c pg_backup_utils.h \
11 | ../../common/exec.c ../../common/fe_memutils.c \
12 | ../../common/wait_error.c
13 | GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS) \
14 | fatal simple_prompt \
15 | ExecuteSqlCommand:3 warn_or_exit_horribly:2
16 | GETTEXT_FLAGS = $(FRONTEND_COMMON_GETTEXT_FLAGS) \
17 | fatal:1:c-format \
18 | warn_or_exit_horribly:2:c-format
19 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_13/parallel.h:
--------------------------------------------------------------------------------
1 | /*-------------------------------------------------------------------------
2 | *
3 | * parallel.h
4 | *
5 | * Parallel support for pg_dump and pg_restore
6 | *
7 | * Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
8 | * Portions Copyright (c) 1994, Regents of the University of California
9 | *
10 | * IDENTIFICATION
11 | * src/bin/pg_dump/parallel.h
12 | *
13 | *-------------------------------------------------------------------------
14 | */
15 |
16 | #ifndef PG_DUMP_PARALLEL_H
17 | #define PG_DUMP_PARALLEL_H
18 |
19 | #include "pg_backup_archiver.h"
20 |
21 | /* Function to call in master process on completion of a worker task */
22 | typedef void (*ParallelCompletionPtr) (ArchiveHandle *AH,
23 | TocEntry *te,
24 | int status,
25 | void *callback_data);
26 |
27 | /* Wait options for WaitForWorkers */
28 | typedef enum
29 | {
30 | WFW_NO_WAIT,
31 | WFW_GOT_STATUS,
32 | WFW_ONE_IDLE,
33 | WFW_ALL_IDLE
34 | } WFW_WaitOption;
35 |
36 | /* ParallelSlot is an opaque struct known only within parallel.c */
37 | typedef struct ParallelSlot ParallelSlot;
38 |
39 | /* Overall state for parallel.c */
40 | typedef struct ParallelState
41 | {
42 | int numWorkers; /* allowed number of workers */
43 | /* these arrays have numWorkers entries, one per worker: */
44 | TocEntry **te; /* item being worked on, or NULL */
45 | ParallelSlot *parallelSlot; /* private info about each worker */
46 | } ParallelState;
47 |
48 | #ifdef WIN32
49 | extern bool parallel_init_done;
50 | extern DWORD mainThreadId;
51 | #endif
52 |
53 | extern void init_parallel_dump_utils(void);
54 |
55 | extern bool IsEveryWorkerIdle(ParallelState *pstate);
56 | extern void WaitForWorkers(ArchiveHandle *AH, ParallelState *pstate,
57 | WFW_WaitOption mode);
58 |
59 | extern ParallelState *ParallelBackupStart(ArchiveHandle *AH);
60 | extern void DispatchJobForTocEntry(ArchiveHandle *AH,
61 | ParallelState *pstate,
62 | TocEntry *te,
63 | T_Action act,
64 | ParallelCompletionPtr callback,
65 | void *callback_data);
66 | extern void ParallelBackupEnd(ArchiveHandle *AH, ParallelState *pstate);
67 |
68 | extern void set_archive_cancel_info(ArchiveHandle *AH, PGconn *conn);
69 |
70 | #endif /* PG_DUMP_PARALLEL_H */
71 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_13/pg_backup_db.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Definitions for pg_backup_db.c
3 | *
4 | * IDENTIFICATION
5 | * src/bin/pg_dump/pg_backup_db.h
6 | */
7 |
8 | #ifndef PG_BACKUP_DB_H
9 | #define PG_BACKUP_DB_H
10 |
11 | #include "pg_backup.h"
12 |
13 |
14 | extern int ExecuteSqlCommandBuf(Archive *AHX, const char *buf, size_t bufLen);
15 |
16 | extern void ExecuteSqlStatement(Archive *AHX, const char *query);
17 | extern PGresult *ExecuteSqlQuery(Archive *AHX, const char *query,
18 | ExecStatusType status);
19 | extern PGresult *ExecuteSqlQueryForSingleRow(Archive *fout, const char *query);
20 |
21 | extern void EndDBCopyMode(Archive *AHX, const char *tocEntryTag);
22 |
23 | extern void StartTransaction(Archive *AHX);
24 | extern void CommitTransaction(Archive *AHX);
25 |
26 | #endif
27 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_13/pg_backup_tar.h:
--------------------------------------------------------------------------------
1 | /*
2 | * src/bin/pg_dump/pg_backup_tar.h
3 | *
4 | * TAR Header (see "ustar interchange format" in POSIX 1003.1)
5 | *
6 | * Offset Length Contents
7 | * 0 100 bytes File name ('\0' terminated, 99 maximum length)
8 | * 100 8 bytes File mode (in octal ascii)
9 | * 108 8 bytes User ID (in octal ascii)
10 | * 116 8 bytes Group ID (in octal ascii)
11 | * 124 12 bytes File size (in octal ascii)
12 | * 136 12 bytes Modify time (Unix timestamp in octal ascii)
13 | * 148 8 bytes Header checksum (in octal ascii)
14 | * 156 1 bytes Type flag (see below)
15 | * 157 100 bytes Linkname, if symlink ('\0' terminated, 99 maximum length)
16 | * 257 6 bytes Magic ("ustar\0")
17 | * 263 2 bytes Version ("00")
18 | * 265 32 bytes User name ('\0' terminated, 31 maximum length)
19 | * 297 32 bytes Group name ('\0' terminated, 31 maximum length)
20 | * 329 8 bytes Major device ID (in octal ascii)
21 | * 337 8 bytes Minor device ID (in octal ascii)
22 | * 345 155 bytes File name prefix (not used in our implementation)
23 | * 500 12 bytes Padding
24 | *
25 | * 512 (s+p)bytes File contents, padded out to 512-byte boundary
26 | */
27 |
28 | /* The type flag defines the type of file */
29 | #define LF_OLDNORMAL '\0' /* Normal disk file, Unix compatible */
30 | #define LF_NORMAL '0' /* Normal disk file */
31 | #define LF_LINK '1' /* Link to previously dumped file */
32 | #define LF_SYMLINK '2' /* Symbolic link */
33 | #define LF_CHR '3' /* Character special file */
34 | #define LF_BLK '4' /* Block special file */
35 | #define LF_DIR '5' /* Directory */
36 | #define LF_FIFO '6' /* FIFO special file */
37 | #define LF_CONTIG '7' /* Contiguous file */
38 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_13/pg_backup_utils.h:
--------------------------------------------------------------------------------
1 | /*-------------------------------------------------------------------------
2 | *
3 | * pg_backup_utils.h
4 | * Utility routines shared by pg_dump and pg_restore.
5 | *
6 | *
7 | * Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
8 | * Portions Copyright (c) 1994, Regents of the University of California
9 | *
10 | * src/bin/pg_dump/pg_backup_utils.h
11 | *
12 | *-------------------------------------------------------------------------
13 | */
14 |
15 | #ifndef PG_BACKUP_UTILS_H
16 | #define PG_BACKUP_UTILS_H
17 |
18 | #include "common/logging.h"
19 |
20 | typedef enum /* bits returned by set_dump_section */
21 | {
22 | DUMP_PRE_DATA = 0x01,
23 | DUMP_DATA = 0x02,
24 | DUMP_POST_DATA = 0x04,
25 | DUMP_UNSECTIONED = 0xff
26 | } DumpSections;
27 |
28 | typedef void (*on_exit_nicely_callback) (int code, void *arg);
29 |
30 | extern const char *progname;
31 |
32 | extern void set_dump_section(const char *arg, int *dumpSections);
33 | extern void on_exit_nicely(on_exit_nicely_callback function, void *arg);
34 | extern void exit_nicely(int code); //mi pg_attribute_noreturn();
35 |
36 | #define fatal(...) do { pg_log_error(__VA_ARGS__); exit_nicely(1); } while(0)
37 |
38 | #endif /* PG_BACKUP_UTILS_H */
39 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_13/pg_dump_dll.h:
--------------------------------------------------------------------------------
1 | #include "mi_global_pwd.h"
2 |
3 | //app_exe - name of the host application
4 | //err_file - name of the file, to which stderr will be reassigned
5 |
6 |
7 | __declspec(dllexport) int v3_dump (char * app_exe, char * err_file, char * params);
8 |
9 | int v3_dump (char * app_exe, char * err_file, char * params)//this NULL ended array of pointers
10 | {
11 | char ** mas;
12 | int cnt = 0;
13 | int c = 1; //app_exe will be the first parameter
14 | char ** arr;
15 | char ** arr2;
16 | int r;
17 |
18 | //count params number
19 | arr = (char **) params;
20 | while (*arr)
21 | {
22 | c++;
23 | arr++;
24 | }
25 |
26 |
27 | //prepare argv array
28 | mas = (char ** ) malloc(c * sizeof(char *));
29 |
30 | arr = (char **) params;
31 | arr2 = mas;
32 |
33 | * arr2 = strdup(app_exe);
34 | arr2++;
35 | cnt++;
36 |
37 | while (*arr)
38 | {
39 | *arr2 = strdup(*arr);
40 | arr2++;
41 | cnt++;
42 |
43 | arr++;
44 | }
45 |
46 | log_stream = NULL;
47 |
48 | if (err_file)
49 | {
50 | log_stream = freopen(err_file, "w", stderr);
51 | if (!log_stream)
52 | {
53 | r = 3;
54 | goto _end;
55 | }
56 | }
57 |
58 | r = main(cnt, mas);
59 |
60 | _end:
61 | //clear grabbed memory
62 | arr2 = mas;
63 | while(cnt--)
64 | {
65 | free(*arr2);
66 | arr2 ++;
67 | }
68 | free(mas);
69 |
70 | //closing file
71 | if(log_stream)
72 | {
73 | fflush(stderr);
74 | fclose(stderr);
75 | freopen("CON", "w", stderr);
76 | }
77 |
78 | return r;
79 | };
80 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_13/pg_restore_dll.h:
--------------------------------------------------------------------------------
1 | #include "mi_global_pwd.h"
2 |
3 | //app_exe - name of the host application
4 | //err_file - name of the file, to which stderr will be reassigned
5 |
6 | __declspec(dllexport) int v3_restore (char * app_exe, char * err_file, char * params); //this NULL ended array of pointers
7 |
8 | int v3_restore (char * app_exe, char * err_file, char * params)
9 | {
10 | char ** mas;
11 | int cnt = 0;
12 | int c = 1; //app_exe will be the first parameter
13 | char ** arr;
14 | char ** arr2;
15 | int r;
16 |
17 | //count params number
18 | arr = (char **) params;
19 | while (*arr)
20 | {
21 | c++;
22 | arr++;
23 | }
24 |
25 | mas = (char ** ) malloc(c * sizeof(char *));
26 |
27 | arr = (char **) params;
28 | arr2 = mas;
29 |
30 | * arr2 = strdup(app_exe);
31 | arr2++;
32 | cnt++;
33 |
34 |
35 | while (*arr)
36 | {
37 | *arr2 = strdup(*arr);
38 | arr2++;
39 | cnt++;
40 | arr++;
41 | }
42 |
43 | log_stream = NULL;
44 |
45 | if (err_file)
46 | {
47 | log_stream = freopen(err_file, "w", stderr);
48 | if (!log_stream)
49 | {
50 | r = 3;
51 | goto _end;
52 | }
53 | }
54 |
55 |
56 | r = main(cnt, mas);
57 |
58 | _end:
59 | //clear grabbed memory
60 | arr2 = mas;
61 | while(cnt--)
62 | {
63 | free(*arr2);
64 | arr2 ++;
65 | }
66 | free(mas);
67 |
68 | //closing file
69 | if(log_stream)
70 | {
71 | fflush(stderr);
72 | fclose(stderr);
73 | freopen("CON", "w", stderr);
74 | }
75 |
76 | return r;
77 | };
78 |
--------------------------------------------------------------------------------
/Source/pg_dump_dll/pg_dump_13/win32ver.rc:
--------------------------------------------------------------------------------
1 | #include
2 | #include "pg_config.h"
3 |
4 | // https://docs.microsoft.com/en-us/windows/win32/menurc/versioninfo-resource
5 |
6 | VS_VERSION_INFO VERSIONINFO
7 | FILEVERSION PG_MAJORVERSION_NUM,0,PG_MINORVERSION_NUM,21196
8 | PRODUCTVERSION PG_MAJORVERSION_NUM,0,PG_MINORVERSION_NUM,21196
9 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
10 | FILEFLAGS 0x0L
11 | FILEOS VOS_NT_WINDOWS32
12 | FILETYPE VFT_APP
13 | FILESUBTYPE 0x0L
14 | BEGIN
15 | BLOCK "StringFileInfo"
16 | BEGIN
17 | BLOCK "040904B0" // U.S. English, Unicode
18 | BEGIN
19 | VALUE "CompanyName", "Pavlo Golub"
20 | VALUE "FileDescription", "pg_dump/pg_restore - libraries for backup and restore PostgreSQL databases"
21 | VALUE "FileVersion", PG_VERSION
22 | VALUE "LegalCopyright", "Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group. Portions Copyright (c) 1994, Regents of the University of California."
23 | VALUE "ProductName", "PostgresDAC"
24 | VALUE "ProductVersion", PG_VERSION
25 | END
26 | END
27 | BLOCK "VarFileInfo"
28 | BEGIN
29 | VALUE "Translation", 0x0409, 1200 // U.S. English, Unicode
30 | END
31 | END
32 |
33 | IDI_ICON ICON "../../../src/port/win32.ico"
34 |
--------------------------------------------------------------------------------
/UnitTest/PDACTest.dpr:
--------------------------------------------------------------------------------
1 | program PDACTest;
2 | {$I PSQLDAC.inc}
3 |
4 | {$IFDEF CONSOLE_TESTRUNNER}
5 | {$APPTYPE CONSOLE}
6 | {$ENDIF}
7 |
8 | uses
9 | Forms,
10 | TestFramework,
11 | GUITestRunner,
12 | TextTestRunner,
13 | TestExtensions,
14 | PSQLDatabaseTest in 'PSQLDatabaseTest.pas',
15 | PSQLQueryTest in 'PSQLQueryTest.pas',
16 | TestHelper in 'TestHelper.pas',
17 | PSQLFieldsTest in 'PSQLFieldsTest.pas',
18 | PSQLToolsTest in 'PSQLToolsTest.pas',
19 | PSQLBlobsTest in 'PSQLBlobsTest.pas',
20 | PSQLDumpTest in 'PSQLDumpTest.pas',
21 | PSQLNotifyTest in 'PSQLNotifyTest.pas',
22 | PSQLTypesTest in 'PSQLTypesTest.pas',
23 | PSQLErrorsTest in 'PSQLErrorsTest.pas',
24 | PSQLCopyTest in 'PSQLCopyTest.pas';
25 |
26 | {$R *.RES}
27 |
28 | begin
29 | {$IFDEF DELPHI_12}
30 | ReportMemoryLeaksOnShutdown := True;
31 | {$ENDIF}
32 | Application.Initialize;
33 | if IsConsole then
34 | with TextTestRunner.RunRegisteredTests do
35 | Free
36 | else
37 | GUITestRunner.RunRegisteredTests;
38 | end.
39 |
40 |
--------------------------------------------------------------------------------
/UnitTest/PDACTest.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/UnitTest/PDACTest.res
--------------------------------------------------------------------------------
/UnitTest/PDACTest_DUnitX.dpr:
--------------------------------------------------------------------------------
1 | program PDACTest_DUnitX;
2 |
3 | {$R *.dres}
4 |
5 | uses
6 | System.StartUpCopy,
7 | FMX.Forms,
8 | PSQLDatabaseTest in 'PSQLDatabaseTest.pas',
9 | PSQLQueryTest in 'PSQLQueryTest.pas',
10 | PSQLBatchTest in 'PSQLBatchTest.pas',
11 | PSQLTableTest in 'PSQLTableTest.pas',
12 | PSQLFieldsTest in 'PSQLFieldsTest.pas',
13 | PSQLToolsTest in 'PSQLToolsTest.pas',
14 | PSQLBlobsTest in 'PSQLBlobsTest.pas',
15 | PSQLDumpTest in 'PSQLDumpTest.pas',
16 | PSQLNotifyTest in 'PSQLNotifyTest.pas',
17 | PSQLCopyTest in 'PSQLCopyTest.pas',
18 | PSQLErrorsTest in 'PSQLErrorsTest.pas',
19 | PSQLTypesTest in 'PSQLTypesTest.pas',
20 | TestXHelper in 'TestXHelper.pas',
21 | {$IFDEF MOBILE}
22 | DUNitX.Loggers.MobileGUI
23 | {$ELSE}
24 | DUNitX.Loggers.GUIX
25 | {$ENDIF};
26 |
27 | type
28 | TPSQLRunner = {$IFDEF MOBILE}TMobileGUITestRunner{$ELSE}TGUIXTestRunner{$ENDIF};
29 |
30 | {$R *.res}
31 |
32 | begin
33 | // ReportMemoryLeaksOnShutdown := True;
34 | Application.Initialize;
35 | TestDBSetup := TTestDBSetup.Create;
36 | TestDBSetup.SetUp();
37 | with TPSQLRunner.Create(Application) do
38 | begin
39 | Position := TFormPosition.ScreenCenter;
40 | Show;
41 | end;
42 | Application.Run;
43 | end.
44 |
--------------------------------------------------------------------------------
/UnitTest/PSQLDumpTest.pas:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/UnitTest/PSQLDumpTest.pas
--------------------------------------------------------------------------------
/UnitTest/TestData/correct_ips.txt:
--------------------------------------------------------------------------------
1 | 127.0.0.1
2 | 192.168.1.101
3 | 254.0.1.12
4 | 2001:0db8:85a3:0000:0000:8a2e:0370:7334
5 | 2001:db8:85a3:0:0:8a2e:370:7334
6 | 2001:db8:85a3::8a2e:370:7334
7 | ::8a2e:370:7334
8 | 2001:db8:85a3::
9 | ::1
10 | ::
11 | ::ffff:c000:280
12 | ::ffff:192.0.2.128
--------------------------------------------------------------------------------
/UnitTest/TestData/incorrect_ips.txt:
--------------------------------------------------------------------------------
1 | 255.255.255.0
2 | localhost
3 |
--------------------------------------------------------------------------------
/UnitTest/TestData/test.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pashagolub/postgresdac/30f7191ba56bc910e83fb5802f7b0cc4760f8de6/UnitTest/TestData/test.bmp
--------------------------------------------------------------------------------
/UnitTest/__DelAllTemp.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 |
3 | del /Q /S TestOutput\*.* > nul
4 | del /Q /S *.~* > nul
5 | del /Q /S *.dcu > nul
6 | del /Q /S *.cfg > nul
7 | del /Q /S *.html > nul
8 | del /Q /S *.stat > nul
9 | del /Q /S *.dof > nul
10 | del /Q /S *.hpp > nul
11 | del /Q /S *.tds > nul
12 | del /Q *.obj > nul
13 | del /Q /S *.exe > nul
14 | del /Q /S *.map > nul
15 | del /Q /S *.mps > nul
16 | del /Q /S *.mpt > nul
17 | del /Q /S *.dsk > nul
18 | del /Q /S *.drc > nul
19 | del /Q /S *.elf > nul
20 | del /Q /S *.ddp > nul
21 | del /Q /S *.bak > nul
22 | del /Q /S *.bpl > nul
23 | del /Q /S *.lib > nul
24 | del /Q /S *.dcp > nul
25 | del /Q /S *.bpi > nul
26 | del /Q /S *.ilc > nul
27 | del /Q /S *.ild > nul
28 | del /Q /S *.ilf > nul
29 | del /Q /S *.ils > nul
30 | del /Q /S *.identcache > nul
31 | del /Q /S *.local > nul
32 | del /Q /S *.otares > nul
33 | del /Q /S *.rsm > nul
34 | del /Q /S __history > nul
35 | rmdir __history > nul
--------------------------------------------------------------------------------