<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Postgres OnLine Journal - sqlite</title>
    <link>http://www.postgresonline.com/journal/</link>
    <description>an In depth look at the PostgreSQL open source database</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.4.1 - http://www.s9y.org/</generator>
    <pubDate>Tue, 06 Dec 2011 01:54:07 GMT</pubDate>

    <image>
        <url>http://www.postgresonline.com/journal/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Postgres OnLine Journal - sqlite - an In depth look at the PostgreSQL open source database</title>
        <link>http://www.postgresonline.com/journal/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>The Pure Relational Database is dead</title>
    <link>http://www.postgresonline.com/journal/archives/234-The-Pure-Relational-Database-is-dead.html</link>
            <category>editor note</category>
            <category>firebird</category>
            <category>mysql</category>
            <category>oracle</category>
            <category>sql server</category>
            <category>sqlite</category>
    
    <comments>http://www.postgresonline.com/journal/archives/234-The-Pure-Relational-Database-is-dead.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=234</wfw:comment>

    <slash:comments>12</slash:comments>
    <wfw:commentRss>http://www.postgresonline.com/journal/rss.php?version=2.0&amp;type=comments&amp;cid=234</wfw:commentRss>
    

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    		&lt;p&gt;A lot of redditers took offense at our article &lt;a href=&quot;http://www.postgresonline.com/journal/archives/232-XPathing-XML-data-with-PostgreSQL.html&quot; target=&quot;_blank&quot;&gt;XPathing XML data with PostgreSQL&lt;/a&gt; 
		with the general consensus,  if you are going to be stuffing XML in a relational database where will you stop? That is not what relational databases are designed for. 
		We had comitted a sacrilegious sin and worsed yet encouraging bad habits by forcing people to think more about different options they have for storing data in a &lt;em&gt;relational database&lt;/em&gt; and god forbid demonstrating querying such columns with xml specific functions.  What were we thinking? How dare we try to query XML data with SQL?  Perhaps we were thinking like &lt;a href=&#039;http://www.spatialdbadvisor.com/oracle_spatial_tips_tricks/119/loading-and-processing-gpx-11-files-using-oracle-xmldb&#039; target=&quot;_blank&quot;&gt;this guy&lt;/a&gt; or &lt;a href=&quot;http://alastaira.wordpress.com/2011/02/09/loading-open-street-map-pois-with-sql-server-bing-maps/&quot; target=&quot;_blank&quot;&gt;this guy&lt;/a&gt;,
		both equally misguided spatial relational database folk. 
		Of course we stepped one foot further by actually defining a column as xml and dare storing data in it for later consumption rather than just an intermediary step.&lt;/p&gt;
		&lt;p&gt;If I want to store documents, that are navigateable I should be using a document database like MongoDb, CouchDB etc designed for that kind of stuff. If I&#039;ve got graphs I should be using a graph database.  This got me thinking
		that the &amp;quot;Pure Relational Database&amp;quot; is dead, and I&#039;m surprised most people don&#039;t seem to realize it.  &lt;/p&gt;
		&lt;p&gt;So while &amp;quot;Relational databases&amp;quot; have changed over the last 25 years, most people&#039;s notions of them have not kept up with the pace of its change. &lt;/p&gt;
		&lt;p&gt;First let me define what I mean by Pure.  A &lt;em&gt;pure relational database&lt;/em&gt; is one with standard &lt;em&gt;meat and potato&lt;/em&gt; types like text, dates, numbers well suited for counting money and computing how close the world is to total bankruptcy which you store as fields in a row of a table and that you then define foreign keys / constraints / primary keys on to relate them to other tables.  
		You reconstitute your real world objects by stitching these tables together with joins etc and return sets using where conditions, summarize by using group bys or other mathy like constructs. Don&#039;t get me wrong;  these are very beautiful things because they allow for easy slicing of dimensions and not having to think about all the dimensions that make up an object all at once.  In fact it was so beautiful that some people thought, &amp;quot;wow that&#039;s cool, but it would be even cooler if I could
		store more complex objects in those columns with their own specific needs for querying.&amp;quot; and so was born the &lt;em&gt;object relational database&lt;/em&gt; as some people refer to them that thought relational but also understood that different types had their own unique needs for querying, storage, indexing etc.&lt;/p&gt;
		&lt;p&gt;Nowadays most, if not all, relational like databases have standardized on some variant of SQL.  
		In essence though, the pure relational database doesn&#039;t allow you to define new types or have exotic types such as arrays, xml, graphs, geometries, rasters, sparse matrices etc. 
		Much less thinking involved and less likely you will shoot yourself in the foot by dumping a bunch of xml in a field and trying to do something with it.
		When it is used to store more complex things such as spreadsheets and other user documents, these are stored as blobs and just retrieved.  Even such use is frowned upon.&lt;/p&gt;
		
		&lt;p&gt;Well most &lt;em&gt;relational databases&lt;/em&gt; I can think of nowadays have richer types: e.g. PostgreSQL, Oracle and Firebird all support arrays as a column type. Some even allow you to define custom types and functions to support your custom types e.g. PostgreSQL (I could go on forever), Oracle has rich user defined type support too, and  SQL Server 2005+ with each version getting better and better for user defined custom types and introducing more exotic types and support infrastructure. Even MySQL/Drizzle (mostly in the form of different storage engines). Even my favorite light-weight &lt;em&gt;SQLite&lt;/em&gt; under the hood has some tricks that aren&#039;t what I would call relational.  E.g. &lt;a href=&quot;http://www.gaia-gis.it/spatialite/&quot; target=&quot;_blank&quot;&gt;Spatialite/RasterLite&lt;/a&gt; has a whole geometry type library built on SQLite with functions you can call from SQL and I&#039;m sure there are lots of middleware tools you don&#039;t know about
		using the SQLite and Firebird engine for more than &lt;em&gt;relational&lt;/em&gt; tasks (e.g. HTML5 anyone/ CAD anyone).&lt;/p&gt; 
    </content:encoded>

    <pubDate>Sat, 03 Dec 2011 11:30:00 -0500</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/234-guid.html</guid>
    <category>object relational</category>
<category>sql</category>
<category>xml</category>

</item>
<item>
    <title>Database Administration, Reporting, and Light application development</title>
    <link>http://www.postgresonline.com/journal/archives/133-Database-Administration,-Reporting,-and-Light-application-development.html</link>
            <category>beginner</category>
            <category>db2</category>
            <category>Dbase</category>
            <category>firebird</category>
            <category>informix</category>
            <category>ms access</category>
            <category>mysql</category>
            <category>oobase</category>
            <category>oracle</category>
            <category>other dbms</category>
            <category>pgadmin</category>
            <category>product showcase</category>
            <category>sql server</category>
            <category>sqlite</category>
    
    <comments>http://www.postgresonline.com/journal/archives/133-Database-Administration,-Reporting,-and-Light-application-development.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=133</wfw:comment>

    <slash:comments>21</slash:comments>
    <wfw:commentRss>http://www.postgresonline.com/journal/rss.php?version=2.0&amp;type=comments&amp;cid=133</wfw:commentRss>
    

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;One of the most common questions people ask is &lt;b&gt;Which tools work with PostgreSQL&lt;/b&gt;. In a sense the measure of a database&#039;s
maturity/popularity are the number of vendors willing to produce management and development tools for it.  Luckily there are a lot of vendors producing tools for PostgreSQL and the list is growing.
One set of tools people are interested in are Database administration, ER diagramming, Query tools, and quickie application generators (RAD).&lt;/p&gt;
&lt;p&gt;
For this issue of our product showcase,  we will not talk about one product, but several that fit in the aforementioned category.
All the listed products work with PostgreSQL and can be used for database administration and/or architecting or provide some sort of
light reporting/rapid application building suite.  By light reporting/application building, we mean
a tool with a simple wizard that a novice can use to build somewhat functional applications in minutes or days.  This rules out all-purpose development
things like raw PHP, .NET, Visual Studio, database drivers etc.  Things we consider in this realm are things like  OpenOffice Base and
MS Access.  Most of these tools are either free or have 30-day try before you buy options. &lt;/p&gt;
&lt;p&gt;You can&#039;t really say one tool is absolutely better than another since each has its own strengths and caters to slightly different audiences and also
you may like the way one tool does one important thing really well, though it may be mediocre in other respects.  We also left out a lot of products we are not familiar with and may have gotten
some things wrong.
&lt;/p&gt;

&lt;p&gt;If we left out your favorite product and you feel it meets these criteria, or you feel we made any errors, please let us know, and we&#039;ll add or correct it.
We will be including Free open source as well as proprietary products in this mix.  If we left out what you consider an
important criteria, please let us know and we&#039;ll try to squeeze it in somewhere.&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://www.postgresonline.com/journal/archives/133-Database-Administration,-Reporting,-and-Light-application-development.html#extended&quot;&gt;Continue reading &quot;Database Administration, Reporting, and Light application development&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 07 Sep 2009 01:54:00 -0400</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/133-guid.html</guid>
    <category>msaccess</category>
<category>oobase</category>
<category>pgadmin</category>

</item>
<item>
    <title>SQL Math Idiosyncracies</title>
    <link>http://www.postgresonline.com/journal/archives/21-SQL-Math-Idiosyncracies.html</link>
            <category>beginner</category>
            <category>firebird</category>
            <category>ms access</category>
            <category>mysql</category>
            <category>q&amp;a</category>
            <category>sql server</category>
            <category>sqlite</category>
    
    <comments>http://www.postgresonline.com/journal/archives/21-SQL-Math-Idiosyncracies.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=21</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://www.postgresonline.com/journal/rss.php?version=2.0&amp;type=comments&amp;cid=21</wfw:commentRss>
    

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;P&gt;&lt;b&gt;Question:&lt;/b&gt; What is the answer to SELECT 3/2?&lt;/P&gt;
&lt;P&gt;&lt;b&gt;Answer:&lt;/b&gt; In integer math, it is 1. A lot of people especially those coming from MySQL or MS Access backgrounds are surprised to find out that in PostgreSQL
&lt;CODE&gt;3/2 = 1&lt;/CODE&gt;.  They view this as some sort of bug.  
&lt;/P&gt;

&lt;P&gt;In actuality, the fact that 3/2 = 1 and 1/3 = 0 is part of the ANSI/ISO-SQL standard 
that states mathematical operations between two values must be of the same data type of one of the values (not necessarily the same scale and precision though). This is not some idiosyncracy specific to PostgreSQL.
If you try the same operation in SQL Server, SQLite,FireBird, and some other ANSI/ISO SQL compliant databases, you will get the same results.  So it seems MySQL and MS Access are the odd-balls in this arena, but arguably more practical.&lt;/P&gt;
 &lt;br /&gt;&lt;a href=&quot;http://www.postgresonline.com/journal/archives/21-SQL-Math-Idiosyncracies.html#extended&quot;&gt;Continue reading &quot;SQL Math Idiosyncracies&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Wed, 09 Jan 2008 22:22:21 -0500</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/21-guid.html</guid>
    
</item>
<item>
    <title>Serendipity Blogging Software</title>
    <link>http://www.postgresonline.com/journal/archives/12-Serendipity-Blogging-Software.html</link>
            <category>adodb</category>
            <category>mysql</category>
            <category>product showcase</category>
            <category>serendipity</category>
            <category>smarty</category>
            <category>sqlite</category>
    
    <comments>http://www.postgresonline.com/journal/archives/12-Serendipity-Blogging-Software.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=12</wfw:comment>

    <slash:comments>6</slash:comments>
    <wfw:commentRss>http://www.postgresonline.com/journal/rss.php?version=2.0&amp;type=comments&amp;cid=12</wfw:commentRss>
    

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;h4&gt;Choosing Blogging Software&lt;/h4&gt;
&lt;P&gt;When we started blogging, we had several criteria for the blogging software we would use.
&lt;UL&gt;
&lt;LI&gt;Easy to install&lt;/LI&gt;
&lt;LI&gt;Easy to use&lt;/LI&gt;
&lt;LI&gt;Couldn&#039;t be a service and the database structure needed to be fairly easy to understand because we needed to mesh it seamlessly with the rest of our site.&lt;/LI&gt;
&lt;LI&gt;Had to support PostgreSQL&lt;/LI&gt;
&lt;LI&gt;Preferably open source and based on technology we understood - that meant either ASP.NET or PHP&lt;/LI&gt;
&lt;LI&gt;As far as code goes we are pretty finicky about those things and for PHP we prefer the &lt;a href=&quot;http://smarty.php.net/&quot; target=_blank&gt;Smarty Templating system&lt;/a&gt; and &lt;a href=&quot;http://adodb.sourceforge.net/&quot; target=_blank&gt;PHP ADODB&lt;/a&gt; over other PHP paradigms.  Part of that, not to insult others, was that it was the first approach we found that worked really well for us, so we stuck with it.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/P&gt;
&lt;P&gt;We immediately dismissed wordpress because it was MySQL centric, Blogger etc services were out the door as well.  There were not that many blogging applications in .NET and most were very SQL Server centric. 
&lt;/P&gt;
&lt;P&gt;We noticed other PostgreSQL bloggers use predominantly &lt;a href=&quot;http://www.s9y.org&quot; target=_blank&gt;Serendipity&lt;/a&gt;, so we thought we&#039;d give it a try.&lt;/P&gt;
&lt;P&gt;Serendipity met all our requirements except for the PHP ADODB part.  It has a database abstraction layer, but it appears to be a custom one.  This we could live with.  Below are the features we really liked about it.
&lt;/P&gt;
&lt;UL&gt;&lt;LI&gt;Works on both Linux and Windows  - IIS and Apache&lt;/LI&gt;
&lt;LI&gt;Easy installation.  Install process was literally 10 minutes or less&lt;/LI&gt;
&lt;LI&gt;Supports PostgreSQL, MySQL, and SQLite&lt;/LI&gt;
&lt;LI&gt;Underlying database structure was sane&lt;/LI&gt;
&lt;LI&gt;Its underlying templating system is PHP Smarty-Based&lt;/LI&gt;
&lt;LI&gt;At least it had a database abstraction layer.  For .NET development we&#039;ve built our own because all the ones out there went too far in their abstraction to the point of being counter-intuitive and .NET doesn&#039;t really have a pre-packaged database abstraction layer to speak of.  So this particular choice of decisions was one we could accept.&lt;/LI&gt;
&lt;LI&gt;Fairly intuitive.&lt;/LI&gt;
&lt;LI&gt;Plug-ins galore - in fact most of our time was spent figuring out which plug-ins we wanted to use.&lt;/LI&gt;
&lt;LI&gt;Ability to assign multiple categories to a blog post and threaded categories&lt;/LI&gt;
&lt;LI&gt;Fairly straight-forward theming system&lt;/LI&gt;
&lt;/UL&gt;
&lt;h4&gt;Choosing Plugins&lt;/h4&gt;
&lt;P&gt;There are some plugins enabled by default, but can&#039;t remember which ones.  For the most part they are the common ones people would choose if they chose them.  These get you pretty far at least to use the software before you realize hey there is other stuff you can turn on or off.  Below are some of the ones we found as must haves or things that should think about changing.&lt;/P&gt;

&lt;P&gt;Serendipity has plugins broken up into event plugins and side bar plugins.  Side bar plugins can be drag and dropped between the left right middle areas, which is a nice convenience.  Event plugins are triggered based on Serendipity system events such as blog posts or comment posts and some aren&#039;t really events so to speak but aren&#039;t side bar plugins either so they show under events.&lt;/P&gt;

&lt;h5&gt;Event Plug-ins&lt;/h5&gt;
&lt;OL&gt;
&lt;LI&gt;To WYSIWYG or Not?  Serendipity&#039;s WYSIWYG setting is set at the user level which is nice since some people like it and some don&#039;t and if you have a group blog this is very useful.  Personally we don&#039;t care for WYSIWYG especially for a site that shows coding snippets.  This is not to say that WYSIWYG in Serendipity is not adequate for a lot of people. Just not for us.  We never use the WYSIWYG in Visual Studio either. I blame being brought up  writing papers in LATEX for this frustration with WYSIWYG. &lt;/LI&gt;
&lt;LI&gt;Markup: NL2BR - If you are going to be writing your own HTML turn this off for blog body.  It screws up your nice formatting since it will literally turn each newline into a break when presented.  Should probably always have this turned on for comments otherwise people writing out carefully thought out comments will be frustrated when their paragraphs are squashed.&lt;/LI&gt;
&lt;LI&gt;[S]erendipity [P]lugin [A]ccess [R]epository [T]ool [A]nd [C]ustomization/[U]nification [S]ystem (SPARTACUS) - this is a plug-in that allows you to connect to the Serendipity plug-in and update your plug-in repository - kind of like a &lt;b&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Yellow_dog_Updater%2C_Modified&quot; target=_blank&gt;YUM&lt;/a&gt;&lt;/b&gt; for Serendipity.&lt;/LI&gt;
&lt;LI&gt;Announce Entries - this is a plug-in that does an XML-RPC ping post to places like technorati, google, ping-o-matic.  You can enable and disable which ones you want posted to by default when your entry is published.  Within the entry screen, you can selectively uncheck and check them as well for that particular entry&lt;/LI&gt;
&lt;/OL&gt;

&lt;H5&gt;Sidebar Plugins&lt;/H5&gt;
&lt;P&gt;We haven&#039;t played with these too much.  The standard default calendar, category, and search were pretty much what we needed starting off.  We liked the Wiki Finder and the links to publish to social bookmarking sites as a nice convenience.&lt;/P&gt;

&lt;H5&gt;Gripes&lt;/H5&gt;
&lt;P&gt;We also tried this on a virgin install of PostgreSQL 8.3 Beta 3 and it didn&#039;t work.  Seems to be some logic in the DB layer of serendipity that uses LIKE instead of = against ids and the fact that PostgreSQL 8.3 has taken out a lot of the default CASTS.  I think the serendipity code should be changed in this case since from a cursory glance, doesn&#039;t quite look right or efficient, but I&#039;m sure there is a good reason they chose to do things that way.
&lt;/P&gt;  
    </content:encoded>

    <pubDate>Mon, 10 Dec 2007 04:58:00 -0500</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/12-guid.html</guid>
    
</item>

</channel>
</rss>