<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Hammad Ahmed ~</title>
    <description>The latest articles on DEV Community by Hammad Ahmed ~ (@hammadahmedpk).</description>
    <link>https://dev.to/hammadahmedpk</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1117119%2F252d816e-6c2b-4a90-a533-f034ba7b51ec.jpeg</url>
      <title>DEV Community: Hammad Ahmed ~</title>
      <link>https://dev.to/hammadahmedpk</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hammadahmedpk"/>
    <language>en</language>
    <item>
      <title>Unleashing the Power of PostgreSQL 14: A Step-by-Step Guide to Installing from GitHub</title>
      <dc:creator>Hammad Ahmed ~</dc:creator>
      <pubDate>Wed, 02 Aug 2023 09:04:32 +0000</pubDate>
      <link>https://dev.to/hammadahmedpk/unleashing-the-power-of-postgresql-14-a-step-by-step-guide-to-installing-from-github-98j</link>
      <guid>https://dev.to/hammadahmedpk/unleashing-the-power-of-postgresql-14-a-step-by-step-guide-to-installing-from-github-98j</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Hey there tech fellas! I welcome you all to this thrilling adventure into unleashing the true power and potential of PostgreSQL 14. No matter the background of your technical skill-set, this blog will definitely help you.&lt;/p&gt;

&lt;p&gt;I have made this guide easy enough that any kind of person - be it a database manager, administrator, a programmer, a data scientist, or even an AI specialist can use this blog to set up &lt;strong&gt;PostgreSQL 14&lt;/strong&gt; on their machine.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 01: Understanding PostgreSQL &amp;amp; its Features
&lt;/h2&gt;

&lt;p&gt;It's important to understand the fundamentals of Postgres 14 and why it's a game-changer in the database industry before we start the installation procedure. We'll examine the most recent changes, enhanced performance, and noteworthy innovations that Postgres 14 offers. But for that, you do not have to go anywhere else as your boy got you covered!&lt;/p&gt;

&lt;p&gt;Check out my detailed blog on the revolutionary features of PostgreSQL 14 - &lt;a href="https://dev.to/hammadahmedpk/powering-your-data-an-extensive-guide-of-the-basic-concepts-and-revolutionary-features-of-postgresql-14-3ekl"&gt;Powering Your Data: An Extensive Guide of the Basic Concepts and Revolutionary Features of PostgreSQL 14&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 02: Uninstall PostgreSQL from your machine!
&lt;/h2&gt;

&lt;p&gt;Lol, you indeed read that heading the right way! In order to make it real easy for you to install and configure your new PostgreSQL 14 installation - its necessary for you to uninstall any unstable or other builds of PostgreSQL (&lt;em&gt;Unless you know what you are doing --  then ofcourse you can even have tens of versions of PostgreSQL on your machine if you know how to manage all of them -- Yes, it is possible!)&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 03: Environment Preparation
&lt;/h2&gt;

&lt;p&gt;We need to get our hands filthy and get ready for the installation in order to ensure a seamless process. Hence, make sure your system is in the form to install a new technology!&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 04: Cloning the Repository of PostgreSQL 14
&lt;/h2&gt;

&lt;p&gt;It can be intimidating to comprehend the GitHub repository landscape, but do not worry! We'll clone the repository together!&lt;/p&gt;

&lt;p&gt;In order to clone the repository follow the following steps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Make a new directory named &lt;strong&gt;&lt;em&gt;PostgreSQL14&lt;/em&gt;&lt;/strong&gt; anywhere you want.&lt;/li&gt;
&lt;li&gt;Change directory to the one you made by: &lt;code&gt;cd PostgreSQL14&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Clone the branch: &lt;code&gt;git clone -b REL_14_STABLE https://github.com/postgres/postgres&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Make sure to change directory to the cloned one: &lt;code&gt;cd postgres&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 05: Configuring the Build
&lt;/h2&gt;

&lt;p&gt;It's now time to configure the build after the repository has been cloned. We'll examine more closely at the many build options, compile flags, and customization options to fit Postgres 14 to your unique requirements.&lt;/p&gt;

&lt;p&gt;In order to configure a successful build, follow these steps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;Make sure that you are inside the **postgres&lt;/em&gt;* repository*&lt;/li&gt;
&lt;li&gt;&lt;code&gt;./configure --prefix=$(pwd) --enable-cassert --enable-debug&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Optional&lt;/strong&gt;:  If you get any errors like readline is not present in your system then install readline or any other dependencies using sudo-apt&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;To know that your config was successful, double verify it by matching the last two lines of your config with these ones: &lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;config.status: linking src/include/port/linux.h to src/include/pg_config_os.h&lt;br&gt;
config.status: linking src/makefiles/Makefile.linux to src/Makefile.port&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;After a successful config, you need to use Make; &lt;code&gt;make install&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Optional&lt;/strong&gt;: If you get any errors like Bison or Flex is not present in your system then install them using sudo-apt &lt;code&gt;sudo apt-get install flex bison&lt;/code&gt;&lt;br&gt;
&lt;strong&gt;Note:&lt;/strong&gt; After installing Bison or Flex etc, you need to run the ./configure command again followed by &lt;em&gt;make install&lt;/em&gt; command so that &lt;em&gt;Makefiles&lt;/em&gt; are aware of the newly installed libraries. &lt;code&gt;./configure --prefix=$(pwd) --enable-cassert --enable-debug&lt;/code&gt; and &lt;code&gt;make install&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Step 06: Setting Up Data Folder
&lt;/h2&gt;

&lt;p&gt;Now, as you are done with with the Setup and Configuration - You need to setup a &lt;em&gt;Data Folder&lt;/em&gt; in which your data will reside.&lt;/p&gt;

&lt;p&gt;In order to do that, follow these steps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create a new folder named &lt;code&gt;data&lt;/code&gt; while being inside &lt;code&gt;postgres&lt;/code&gt; directory. So your path will be: &lt;code&gt;PostgreSQL14/postgres/data&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt; While being inside &lt;code&gt;postgres&lt;/code&gt; folder, run the command in order to make &lt;code&gt;data&lt;/code&gt; folder a &lt;em&gt;DB Cluster&lt;/em&gt; so that it stores databases: &lt;code&gt;bin/initdb -D data&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Start the DB server using this command: &lt;code&gt;bin/pg_ctl -D data -l logfile start&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 07: Creating Test Database
&lt;/h2&gt;

&lt;p&gt;Now, you can make a &lt;code&gt;test&lt;/code&gt; database and run your PostgreSQL queries right away!&lt;/p&gt;

&lt;p&gt;In order to make &lt;code&gt;test&lt;/code&gt; database and use it using &lt;strong&gt;PSQL&lt;/strong&gt; - Do the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Go inside the &lt;code&gt;postgres&lt;/code&gt; directory&lt;/li&gt;
&lt;li&gt;Run this command: &lt;code&gt;bin/createdb test&lt;/code&gt; - This will create a database named &lt;code&gt;test&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Now, make sure your server is running, if not then run this command while being inside the &lt;code&gt;postgres&lt;/code&gt; directory: &lt;code&gt;bin/pg_ctl -D data -l logfile start&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Run PSQL now: &lt;code&gt;bin/psql test&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And voila! Now just run your queries on PostgreSQL!&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 08: Tadaa, Your Setup is Done!
&lt;/h2&gt;

&lt;p&gt;Now, you can start and stop your DB server using the following commands. These will be the only commands that you would have to use now.&lt;br&gt;
&lt;strong&gt;Start&lt;/strong&gt;: &lt;code&gt;bin/pg_ctl -D data -l logfile start&lt;/code&gt;&lt;br&gt;
&lt;strong&gt;Stop&lt;/strong&gt;: &lt;code&gt;bin/pg_ctl -D data -l logfile stop&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Now that our epic voyage has come to an end, you are prepared to successfully install PostgreSQL 14 from GitHub. Accept the might of this outstanding database system and let it take your data projects to new heights. I wish you secure, lightning-fast, and infinitely scalable databases!&lt;/p&gt;

&lt;p&gt;Follow me for more blogs and content related to PostgreSQL and Technology. &lt;strong&gt;Hammad Ahmed&lt;/strong&gt; signing off! 😄&lt;/p&gt;

</description>
      <category>postgres</category>
      <category>github</category>
      <category>tutorial</category>
      <category>database</category>
    </item>
    <item>
      <title>Powering Your Data: An Extensive Guide of the Basic Concepts and Revolutionary Features of PostgreSQL 14</title>
      <dc:creator>Hammad Ahmed ~</dc:creator>
      <pubDate>Sun, 23 Jul 2023 15:31:38 +0000</pubDate>
      <link>https://dev.to/hammadahmedpk/powering-your-data-an-extensive-guide-of-the-basic-concepts-and-revolutionary-features-of-postgresql-14-3ekl</link>
      <guid>https://dev.to/hammadahmedpk/powering-your-data-an-extensive-guide-of-the-basic-concepts-and-revolutionary-features-of-postgresql-14-3ekl</guid>
      <description>&lt;h1&gt;
  
  
  Introduction
&lt;/h1&gt;

&lt;p&gt;The fascinating world of PostgreSQL 14 awaits you on this enthralling voyage. We will begin on a thrilling journey in this blog as we delve deeply into the principles and mind-blowing capabilities that truly transform the database business with PostgreSQL 14. I will reveal all the secrets [the ones I know so far! 👀] that make PostgreSQL 14 an essential tool for contemporary data management, from its open-source prowess to enhanced indexing and full-text search.&lt;/p&gt;

&lt;h2&gt;
  
  
  1) Powerhouse of Open Source
&lt;/h2&gt;

&lt;p&gt;The open-source philosophy that underpins PostgreSQL is what motivates the global community of users and developers to collaborate. This active community supports its ongoing development and provides users with a feature-rich, strong, and dependable database management system.&lt;/p&gt;

&lt;h2&gt;
  
  
  2) Adopting the ACID Compliance
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Meh, ACID is not really &lt;strong&gt;THAT&lt;/strong&gt; ACID&lt;/em&gt;. ☣️ ~ It means Atomicity, Consistency, Isolation and Durability! :D &lt;/p&gt;

&lt;p&gt;The adherence to ACID standards by PostgreSQL serves as the cornerstone of its data integrity and dependability. The significance of Atomicity, Consistency, Isolation, and Durability is really really important to consider, along with how these pillars provide the highest level of reliability for crucial business applications.&lt;/p&gt;

&lt;h2&gt;
  
  
  3) Extensibility and Customizability
&lt;/h2&gt;

&lt;p&gt;One size does not fit all, and PostgreSQL is adept at recognizing this. This advantage highlights the unmatched extensibility of PostgreSQL, which enables programmers to construct new data types, functions, and procedural languages to produce custom solutions for particular use cases.&lt;/p&gt;

&lt;h2&gt;
  
  
  4) Embracing Robust Data Types
&lt;/h2&gt;

&lt;p&gt;PostgreSQL's support for a wide range of data formats demonstrates its adaptability. PostgreSQL effectively handles a variety of data, making it a Swiss Army knife, including JSON and arrays, hstore, and geometrical kinds.&lt;/p&gt;

&lt;h2&gt;
  
  
  5) Full Text Search
&lt;/h2&gt;

&lt;p&gt;Put an end to boring text searches! PostgreSQL 14 provides robust full-text search capabilities. PostgreSQL makes it possible to do accurate and timely text-based searches on enormous volumes of data, making it ideal for contemporary applications with a lot of textual content.&lt;/p&gt;

&lt;h2&gt;
  
  
  6) Scaling of Data
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;PostgreSQL 14 is there to cover you whenever your data gets OUT OF YOUR HAND!!&lt;/em&gt; &lt;/p&gt;

&lt;p&gt;Table partitioning, parallel querying, and connection pooling is there to sort you out whenever your data needs to be scaled.&lt;/p&gt;

&lt;h2&gt;
  
  
  7) Continuous Excellence
&lt;/h2&gt;

&lt;p&gt;Yes, I mean, the story does not end here of course - There are just way too much advantages and features of PostgreSQL 14 that makes it a Revolutionary and Game Changer Database in this advanced era, that I cannot possibly cover in just one post, otherwise y'all will get bored! &lt;/p&gt;

&lt;h1&gt;
  
  
  Conclusion
&lt;/h1&gt;

&lt;p&gt;Congratulations - now you know the real deal that you will sealing when you gets your hands dirty with the PostgreSQL 14 for your data. This blog provides a brief introduction to some of the amazing features that PostgreSQL 14 has to offer.&lt;/p&gt;

&lt;p&gt;Follow me for more blogs and content related to PostgreSQL and Technology. &lt;strong&gt;Hammad Ahmed&lt;/strong&gt; signing off! 😄&lt;/p&gt;

</description>
      <category>github</category>
      <category>postgres</category>
      <category>postgressql</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
