← Back to PostgreSQL Course | Chapter 1: Introduction | Lesson 1 of 7

PostgreSQL क्या है

PostgreSQL एक powerful, free relational database है जो data को tables में store करता है और SQL में लिखे questions का answer देता है।

PostgreSQL क्या है

PostgreSQL (अक्सर Postgres कहा जाता है) एक open-source object-relational database है जो reliability, standards compliance, और JSONB, arrays, window functions, full-text search, और PostGIS जैसे extensions जैसे rich features के लिए जाना जाता है।

यह concurrency के लिए MVCC इस्तेमाल करता है और ACID transactions support करता है। ध्यान दें: इस site का editor SQLite पर SQL चलाता है, जिसकी syntax ज़्यादातर compatible है, इसलिए कुछ PostgreSQL-only features psql sessions की तरह दिखाए गए हैं।

Note: PostgreSQL UC Berkeley में बना था और 30 सालों से ज़्यादा समय से develop हो रहा है।

उदाहरण: What is PostgreSQL

bash
postgres=# SELECT version();
                                          version
--------------------------------------------------------------------------------------------
 PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc 12.2.0
(1 row)

postgres=# SELECT 'Hello, PostgreSQL!' AS greeting;
      greeting
--------------------
 Hello, PostgreSQL!
(1 row)

⚠️ Run this in your own terminal or Node.js environment.

Related Topics
{# common_mistakes/chapter_summary/browser_support: on Hindi pages the view already swaps in the hi_ translation fields (or blanks these out if untranslated), so this renders correctly for both languages without a lang_code check here. #}
आम गलतियां
  1. PostgreSQL को MySQL syntax से confuse करना
  2. यह मान लेना कि यह सिर्फ बड़ी companies के लिए है
  3. यह ignore करना कि इसे एक server process चाहिए
चैप्टर सारांश
  • PostgreSQL एक open-source relational database है
  • यह ACID transactions support करता है
  • इसमें JSONB और arrays जैसे rich types हैं
  • यह extensions के साथ extensible है
🔒

Chapter Quiz — Complete all 7 topics to unlock

0/7 topics done

Complete these topics first:

Login to run this code

C/C++/Java/PHP execution requires a free account. Your code is saved — you'll land right back in the editor after logging in.