Cheat Sheet for PostgreSQL
When I created my list of cheat sheets for web development last week, I left out PostgreSQL. Frank Reiser, asked why it was left out - and the reason was simply that I couldn't find one.
Being a PostgreSQL fan, I decided to create a cheat sheet for postgresql myself. It prints out in a little over 1.5 pages.
If you have any suggestions please comment below. digg it?
Related Entries
- Cheat Sheet Roundup - Over 30 Cheatsheets for developers - September 1, 2005
- CFSCRIPT Cheatsheet - May 5, 2008
- Cheat Sheet for SQL Server - April 20, 2009
- Top 10 Reserved SQL Keywords - October 28, 2008
- INFORMATION_SCHEMA Support in MySQL, PostgreSQL - February 18, 2008
Trackbacks
Trackback Address: 460/C60519DBA623F581B6448F39C45053D1
Comments
On 09/07/2005 at 8:39:52 PM EDT Brandon Harper wrote:
1
Looks good Pete. You might want to add the creation of an integer sequence and then a create table statement which using a column which references that sequence for auto-numbering?
On 09/08/2005 at 11:24:44 AM EDT Pete Freitag wrote:
2
Hey Brandon,
I'm using the serial datatype in my CREATE TABLE example which is a shortcut datatype for doing auto numbering in postgresql: http://www.postgresql.org/docs/current/static/datatype.html#DATATYPE-SERIAL
On 09/08/2005 at 11:42:08 AM EDT Brandon Harper wrote:
3
Oh cool, good to know. I've just recently been finally playing with PostgreSQL and all of the examples I've seen use sequences, so I just assumed that was THE way it was done.
On 09/08/2005 at 11:50:10 AM EDT Pete Freitag wrote:
4
Yeah, that's what serial does behind the scenes it creates the sequences for you.
People probably use the more descriptive syntax because that's what pg_dump will show you.
On 09/09/2005 at 4:21:21 AM EDT Guillaume Lelarge wrote:
5
This sheet is great. Would you allow me to translate it in french and publish it on the postgresqlfr.org website ?
Thanks, Guillaume.
On 09/09/2005 at 8:49:46 AM EDT Pete Freitag wrote:
6
Guillaume, Yes please translate it into french. I just ask that you also link to my english version from that page.
Thanks
On 09/09/2005 at 10:43:59 AM EDT Guillaume Lelarge wrote:
7
Thank you, it's done. You can find it on http://www.postgresqlfr.org/?q=node/368
There's a link at the beginning to your english version. Of course, I also kept the copyright notice.
On 09/09/2005 at 11:19:38 AM EDT Pete Freitag wrote:
8
Thanks Guillaume!
Post a Comment
Recent Entries
- Cache Template in Request Setting Explained
- What Version of Java is ColdFusion Using?
- ColdFusion 9 Performance Brief from Adobe
- Request Filtering in IIS 7 Howto
- J2EE Session Cookies on ColdFusion / JRun
- Hands on ColdFusion Security Training
- ColdFusion 9 Solr Vulnerability - Are you at Risk?
- FCKEditor Year 2010 Bug for Firefox 3.6 with ColdFusion
I'm using the serial datatype in my CREATE TABLE example which is a shortcut datatype for doing auto numbering in postgresql: http://www.postgresql.org/docs/current/static/datatype.html#DATATYPE-SERIAL
People probably use the more descriptive syntax because that's what pg_dump will show you.
Thanks, Guillaume.
Thanks
There's a link at the beginning to your english version. Of course, I also kept the copyright notice.



add to del.icio.us



