Blog

set_user: Understanding Logfile Output

As we discussed in our initial blog post on set_user, the Sarbanes–Oxley Act, passed in 2002, requires publicly owned companies to audit a user's (esp. superuser's) access and interactions with data. Companies storing financial or human subject data are particularly susceptible to hacking. What you need is x-ray vision Your audit trail should always include [...]

set_user: Understanding the set_user_u Function

In our last blog post, set_user: Installation and Set-Up, we introduced you to the set_user component, installed the extension in a database, created a new user, and granted it set_user function execution privileges. If you recall, the set_user documentation states the main goal is to: grant the EXECUTE privilege to the set_user() and/or set_user_u() function [...]

By | September 18th, 2017|Categories: Holly PostgreSQL|Tags: , , , , , , , , , |0 Comments

set_user: Installation and Set-Up

If you haven't installed the BigSQL Postgres Distribution, you can start here to use an installer or here if you want to create a sandbox via command line. Next, via command line, navigate to the BigSQL or PostgreSQL directory where pgc is located run the update command (to get the latest releases), install PostgreSQL and [...]

By | September 15th, 2017|Categories: Holly PostgreSQL|Tags: , , , , , , |2 Comments

BigSQL Now Includes the set_user Extension

We are excited to announce our newest addition to the available components with BigSQL PostgreSQL Windows, Linux, and OSX distributions: set_user 1.4.0! And... to kick it off, we will be writing multiple posts about this essential security extension. But first (for the uninitiated) some context... Since the Sarbanes–Oxley Act passed in 2002 as a response [...]

By | September 15th, 2017|Categories: Holly PostgreSQL|Tags: , , , , , , |0 Comments

Connecting SQLServer with Postgres using tds_fdw in easy steps

I have been posting about different types of FDWs available with Postgres distribution by BigSQL. Recently one of our customer had a reqirement of bridging their SQLServer database with Postgres. Postgres by BigSQL is already equiped with it. Here is how we can set it up in simple, easy steps. Step 1. Install FreeTDS in [...]

BigSQL Announces Support of pg_hint_plan in Linux

You say Optimizer, I say Planner... But, oh, if we call the whole thing off Then we must part And, oh, if we ever part, then that might break my heart... Are you an Oracle DBA making the transition to PostgreSQL? Are you longing for the good old days when you could override decisions made [...]

By | August 29th, 2017|Categories: Holly PostgreSQL|Tags: , , , , , |5 Comments

Hadoop FDW in easy steps

There is good demand for Hadoop integration with Postgres using FDW. Due to same reasonPostgres by BigSQL ships Hadoop FDW package along with other binaries. let me give a quick step by step instruction (with an example) on how to set it up. For preparing these steps, I used Hortonworks VM with Docker. My Hive [...]

By | August 23rd, 2017|Categories: BigSQL, Hadoop, Jobin PostgreSQL|0 Comments

Mapping Oracle to PostgreSQL data types

A common first question during a database migration is "How do Oracle datatypes compare to PostgreSQL?" The simple answer is that they are very compatible, and map easily. The table below shows an Oracle to PostgreSQL data type comparison and mapping for the most common Oracle types. These basic data types just scratch the surface [...]

By | August 10th, 2017|Categories: Dave PostgreSQL|Tags: , , , |0 Comments

BigSQL + PostGIS: Reprojecting Your Spatial Data with ST_Transform

With our latest release of PostGIS (release 2.3.3), projection datum shift files have been included across all the platforms. You will find them located in: bigsql/pg96/share/postgresql/contrib/postgis-2.3/proj Why do you care? Well, this means you can easily reproject your PostGIS data using the ST_Transform command. > ST_Transform — Return a new geometry with its coordinates transformed [...]

By | July 31st, 2017|Categories: Holly PostGIS, Holly PostgreSQL|Tags: , , , , , , |0 Comments