News for hackers. Stuff that matters.
Re:Appropriate Uses for SQLite by RangerScience on Monday September 26, 2016 @12:21AM (#12579205)
Note: http://postgresapp.com/ is trivial to install, although it only works on macs, is still more involved than a file, etc etc...
Re:Appropriate Uses for SQLite by danso on Monday September 26, 2016 @12:35AM (#12579265)
The one thing missing from SQLite is stronger type casting...however, SQLite does have a solid, cross-platform GUI in DB Browser [0]. It's not as nice as Sequel Pro and some of the commercial clients for MySQL. Postgres, unfortunately, doesn't have near the variety of reliable clients that MySQL and SQLite do.

However, SQLite follows most of the standard syntax that Postgres does, so having students move right into CartoDB, which lets you run raw Postgres, has never been a problem.its just the self hosting that's a pain :).

One more thing that I wish I could have from Postgres as a teacher: how it returns an error when you include non-aggregated columns in the SELECT clause. In MySQL and SQLite, selecting extra columns won't throw an error, and the results look close enough to correct to be fairly dangerous for novices. Better to just throw an error as Postgres does.

[0] http://sqlitebrowser.org/

Re:Appropriate Uses for SQLite by placebo on Monday September 26, 2016 @01:29AM (#12579444)
Another good cross-platform GUI for SQLite that I've been using for years is TkSQLite (http://reddog.s35.xrea.com/wiki/TkSQLite.html)
Re:Appropriate Uses for SQLite by justinclift on Monday September 26, 2016 @09:42PM (#12586977)
Cool timing. :)

We (DB Browser for SQLite team) put this one-pager up yesterday about our upcoming "SQLite in the Cloud" project. :)

https://dbhub.io

Re:Appropriate Uses for SQLite by mjmsmith on Monday September 26, 2016 @08:42AM (#12581290)
Postico (https://eggerapps.at/postico/) is a really nice PostgreSQL client for OS X.
Re:Appropriate Uses for SQLite by googie on Monday September 26, 2016 @07:37AM (#12580969)
Yet another free, open source and multiplatform GUI is SQLiteStudio ( http://sqlitestudio.pl/ ).
Re:Appropriate Uses for SQLite by elchief on Monday September 26, 2016 @01:52AM (#12579518)
Sqlite was a postgres fork, off of 8.something, IIRC
Re:Appropriate Uses for SQLite by pmontra on Monday September 26, 2016 @02:22AM (#12579649)
It owes something to PostgreSQL but it's the syntax, not the source code. I quote from https://en.wikipedia.org/wiki/SQLite#History

    Hipp based the syntax and semantics on those of PostgreSQL 6.5. In August 2000, version 1.0 of SQLite was released, with storage based on gdbm (GNU Database Manager).
Re:Appropriate Uses for SQLite by elchief on Monday September 26, 2016 @01:09PM (#12583587)
According to these slides from Sqlite founder, Sqlite was a "spin-off" of Postgres: http://www.pgcon.org/2014/schedule/attachments/319_PGCon2014...

According to this, "SQLite was originally written from PostgreSQL 6.5 documentation" https://www.pgcon.org/2014/schedule/events/736.en.html

So, "fork" wasn't the right word. Apologies.

Re:Appropriate Uses for SQLite by yoo1I on Monday September 26, 2016 @02:05AM (#12579563)
No. This is incorrect.
Re:Appropriate Uses for SQLite by izacus on Monday September 26, 2016 @03:28AM (#12579950)
While that may be true for Apple owners, it's very untrivial to install and properly configure (permissions, etc.) on Windows and Linux.

SqLite usually "just works", can easily be reset if you do something wrong (just delete file!) and has better GUI browsers and tools.

Re:Appropriate Uses for SQLite by oliwarner on Monday September 26, 2016 @04:16AM (#12580119)
Linux? We're okay thanks. Apt and YUM (and the rest) make installing both MySQL and Postgres very easy.
Re:Appropriate Uses for SQLite by ufmace on Monday September 26, 2016 @11:40AM (#12582727)
I was rather surprised to find that installing PostgreSQL on Windows was loads faster and easier than installing MS SQL Server.