From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: =?UTF-8?Q?Bj=c3=b6rn_Lundin?= Newsgroups: comp.lang.ada Subject: Re: GNATCOLL JSON Parsing Date: Fri, 8 Jun 2018 17:26:28 +0200 Organization: A noiseless patient Spider Message-ID: References: <9524b3ee-476f-4af6-ab83-b15a6c2a417c@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 8 Jun 2018 15:26:27 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="c4c62f633dccda13764ab13818452bdf"; logging-data="11206"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19cJboF3pErHrojrEoBA1cS" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cancel-Lock: sha1:W0jPxjcH8qSvw5nKLOrhSK6ZhmA= In-Reply-To: Xref: reader02.eternal-september.org comp.lang.ada:52993 Date: 2018-06-08T17:26:28+02:00 List-Id: On 2018-06-08 17:19, eduardsapotski@gmail.com wrote: > I've been figuring out how to work with PostgreSQL for a week. You should ask earlier. John Marino did a good job at http://jrmarino.github.io/AdaBase/ there is also an interface at https://www.dropbox.com/s/h5gdakfr5uf0n82/pg_ifc.tar.gz?dl=0 which I wrote on top of Samuel Tardieu's Pgada sql_test.adb shows how to use it, just put all files in a src directory and link with libpq > Unfortunately in addition to this document, virtually no information: https://docs.adacore.com/gnatcoll-docs/sql.html Hmm, I was never fond of the sql-interface of gnatcoll. I know that the authors argue with safety, but I prefer embedded SQL. -- -- Björn