<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 16:49:36 +0000</lastBuildDate>
    <item>
      <title>(SQL) Convert OID to Bytea - arunpjohny</title>
      <link>https://snipplr.com/view/62576/convert-oid-to-bytea</link>
      <description>&lt;p&gt;Convert an oid value into a bytea value.&lt;/p&gt;</description>
      <pubDate>Mon, 16 Jan 2012 17:45:54 UTC</pubDate>
      <guid>https://snipplr.com/view/62576/convert-oid-to-bytea</guid>
    </item>
    <item>
      <title>(SQL) Postgres: Schema resotre - arunpjohny</title>
      <link>https://snipplr.com/view/58202/postgres-schema-resotre</link>
      <description>&lt;p&gt;Restore a postgres schema backup file.&lt;/p&gt;</description>
      <pubDate>Fri, 26 Aug 2011 14:54:25 UTC</pubDate>
      <guid>https://snipplr.com/view/58202/postgres-schema-resotre</guid>
    </item>
    <item>
      <title>(SQL) Postgres Schema Backup - arunpjohny</title>
      <link>https://snipplr.com/view/58201/postgres-schema-backup</link>
      <description>&lt;p&gt;Take backup of a schema with large objects&lt;/p&gt;</description>
      <pubDate>Fri, 26 Aug 2011 14:53:04 UTC</pubDate>
      <guid>https://snipplr.com/view/58201/postgres-schema-backup</guid>
    </item>
    <item>
      <title>(SQL) Postgres: alter default - arunpjohny</title>
      <link>https://snipplr.com/view/56168/postgres-alter-default</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 06 Jul 2011 17:13:27 UTC</pubDate>
      <guid>https://snipplr.com/view/56168/postgres-alter-default</guid>
    </item>
    <item>
      <title>(SQL) Postgres: alter not null constraint - arunpjohny</title>
      <link>https://snipplr.com/view/56167/postgres-alter-not-null-constraint</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 06 Jul 2011 17:11:42 UTC</pubDate>
      <guid>https://snipplr.com/view/56167/postgres-alter-not-null-constraint</guid>
    </item>
    <item>
      <title>(SQL) add plpgsql support in postgresql(Linux) - arunpjohny</title>
      <link>https://snipplr.com/view/4258/add-plpgsql-support-in-postgresqllinux</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 04 Dec 2007 04:03:12 UTC</pubDate>
      <guid>https://snipplr.com/view/4258/add-plpgsql-support-in-postgresqllinux</guid>
    </item>
    <item>
      <title>(SQL) Restore postgres backup file(dumpall) - arunpjohny</title>
      <link>https://snipplr.com/view/4162/restore-postgres-backup-filedumpall</link>
      <description>&lt;p&gt;Restore a postgres backup file created using pg_dumpall command.&#13;
&#13;
Login as postgres user&lt;/p&gt;</description>
      <pubDate>Mon, 19 Nov 2007 22:48:10 UTC</pubDate>
      <guid>https://snipplr.com/view/4162/restore-postgres-backup-filedumpall</guid>
    </item>
    <item>
      <title>(SQL) Posgres backups in linux - arunpjohny</title>
      <link>https://snipplr.com/view/4161/posgres-backups-in-linux</link>
      <description>&lt;p&gt;Login as postgres user and try this command.&#13;
&#13;
It will create a backup of entire data directory&lt;/p&gt;</description>
      <pubDate>Mon, 19 Nov 2007 22:38:32 UTC</pubDate>
      <guid>https://snipplr.com/view/4161/posgres-backups-in-linux</guid>
    </item>
    <item>
      <title>(SQL) Get the last date a given month - arunpjohny</title>
      <link>https://snipplr.com/view/3936/get-the-last-date-a-given-month</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 19 Oct 2007 04:27:09 UTC</pubDate>
      <guid>https://snipplr.com/view/3936/get-the-last-date-a-given-month</guid>
    </item>
    <item>
      <title>(SQL) Add a interval to a given date in postgresql - arunpjohny</title>
      <link>https://snipplr.com/view/3935/add-a-interval-to-a-given-date-in-postgresql</link>
      <description>&lt;p&gt;Add a given interval to a date. The intervals can be year, month or day&lt;/p&gt;</description>
      <pubDate>Fri, 19 Oct 2007 04:26:27 UTC</pubDate>
      <guid>https://snipplr.com/view/3935/add-a-interval-to-a-given-date-in-postgresql</guid>
    </item>
    <item>
      <title>(SQL) Get name of the weekday of a date in Postgresql - arunpjohny</title>
      <link>https://snipplr.com/view/3918/get-name-of-the-weekday-of-a-date-in-postgresql</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 16 Oct 2007 22:45:41 UTC</pubDate>
      <guid>https://snipplr.com/view/3918/get-name-of-the-weekday-of-a-date-in-postgresql</guid>
    </item>
    <item>
      <title>(SQL) Function to get year from a date in Postgresql - arunpjohny</title>
      <link>https://snipplr.com/view/3917/function-to-get-year-from-a-date-in-postgresql</link>
      <description>&lt;p&gt;This kind of functions will be use full if we are migrating a database from one provider to another like from MS SQL Server to Postgresql.&lt;/p&gt;</description>
      <pubDate>Tue, 16 Oct 2007 22:44:10 UTC</pubDate>
      <guid>https://snipplr.com/view/3917/function-to-get-year-from-a-date-in-postgresql</guid>
    </item>
    <item>
      <title>(SQL) Difference between two dates in Postgresql - arunpjohny</title>
      <link>https://snipplr.com/view/3916/difference-between-two-dates-in-postgresql</link>
      <description>&lt;p&gt;Getting the difference between two dates in Postgresql. The difference can be in days, months or years.&#13;
&#13;
For difference in days, months or years pass day, month or year as the first argument&lt;/p&gt;</description>
      <pubDate>Tue, 16 Oct 2007 22:40:34 UTC</pubDate>
      <guid>https://snipplr.com/view/3916/difference-between-two-dates-in-postgresql</guid>
    </item>
    <item>
      <title>(SQL) Postgresql : Alter the datatype of a column - arunpjohny</title>
      <link>https://snipplr.com/view/3793/postgresql--alter-the-datatype-of-a-column</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 26 Sep 2007 22:42:51 UTC</pubDate>
      <guid>https://snipplr.com/view/3793/postgresql--alter-the-datatype-of-a-column</guid>
    </item>
    <item>
      <title>(SQL) datediff function in postgresql - arunpjohny</title>
      <link>https://snipplr.com/view/3650/datediff-function-in-postgresql</link>
      <description>&lt;p&gt;A function which will give the difference between two dates in days, month or years.&lt;/p&gt;</description>
      <pubDate>Fri, 07 Sep 2007 19:53:21 UTC</pubDate>
      <guid>https://snipplr.com/view/3650/datediff-function-in-postgresql</guid>
    </item>
    <item>
      <title>(SQL) Install plpgsql in a database - arunpjohny</title>
      <link>https://snipplr.com/view/3642/install-plpgsql-in-a-database</link>
      <description>&lt;p&gt;Installing plpgsql language in a postgresql database&lt;/p&gt;</description>
      <pubDate>Thu, 06 Sep 2007 00:04:59 UTC</pubDate>
      <guid>https://snipplr.com/view/3642/install-plpgsql-in-a-database</guid>
    </item>
    <item>
      <title>(SQL) Date Add/Substract - arunpjohny</title>
      <link>https://snipplr.com/view/3640/date-addsubstract</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 05 Sep 2007 19:31:06 UTC</pubDate>
      <guid>https://snipplr.com/view/3640/date-addsubstract</guid>
    </item>
    <item>
      <title>(SQL) Checking for null in Postgresql - arunpjohny</title>
      <link>https://snipplr.com/view/3634/checking-for-null-in-postgresql</link>
      <description>&lt;p&gt;Checking for null value and assigns a default value if the field is null&lt;/p&gt;</description>
      <pubDate>Wed, 05 Sep 2007 04:11:13 UTC</pubDate>
      <guid>https://snipplr.com/view/3634/checking-for-null-in-postgresql</guid>
    </item>
  </channel>
</rss>
