Playgrounds
Snippets
Developers
Compiler
All
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
Coffee
CoffeeScript
ColdFusion
Command
CSS
Delphi
Django
ES6
GLSL
Grunt
Gulp
HAML
Haskell
HTML
iOS
Jade
Java
JavaScript
jQuery
JSX
Less
LUA
MDX
MySQL
Objective
Other
Pascal
Perl
PHP
Plain text
PowerShell
Processing
Progress
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
SCSS
SmallBASIC
Smarty
SQL
Stylus
SVG
Swift
TypeScript
VHDL
X++
XHTML
XML
Xojo
XSLT
New snippet
New playground
Sign up
Login
Upload
Playgrounds
Snippets
Developers
Sign up
Login
Codepad is a place for developers to share code snippets (PHP, Java, Bash, C, C++, Python and more). Create your HTML, CSS and JS Demos.
Sign up
Learn more
Postgresql
14
snippets by
Marco Piñero
PostgreSQL: Getting service uptime
SQL
0
1
2314
PostgreSQL: Database replication
Bash
0
0
1700
PostgreSQL: Extract function DDL
SQL
0
0
2371
PostgreSQL: Backup/Restore database from/to postgres docker.
SQL
0
0
1327
Postgresql: Trigger template
SQL
0
0
1315
Postgres: Count all records in spite of using offset/limit
Bash
0
0
817
Postgres: Filter using ilike and string with spaces
SQL
0
0
2055
Postgres: Get string all matches between {}
SQL
0
0
861
Postgresql: Must know
SQL
0
0
929
PostgreSQL: Extremely fast text search using tsvector
SQL
0
0
1620
PostgreSQL: Create a copy of DB in same host
SQL
0
0
775
PHP/Postgresql: Event Listener
PHP
0
0
1145
PostgreSQL: Set search path (schemas) for user
SQL
0
0
768
Postgresql: Age calculation to Ymd
PHP
0
0
529