summaryrefslogtreecommitdiff
path: root/contrib/spi/moddatetime.c
diff options
context:
space:
mode:
authorTom Lane2003-03-10 22:28:22 +0000
committerTom Lane2003-03-10 22:28:22 +0000
commite4704001ea4c3d63b53e8783859ff598ef2f69e5 (patch)
tree56d282d342ead04fc43af4efc5a2eccffa3e27ed /contrib/spi/moddatetime.c
parent081fa240a119b67e28227439a3bf700340442787 (diff)
This patch fixes a bunch of spelling mistakes in comments throughout the
PostgreSQL source code. Neil Conway
Diffstat (limited to 'contrib/spi/moddatetime.c')
-rw-r--r--contrib/spi/moddatetime.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/spi/moddatetime.c b/contrib/spi/moddatetime.c
index 4bc06d51be9..21e71e166cd 100644
--- a/contrib/spi/moddatetime.c
+++ b/contrib/spi/moddatetime.c
@@ -2,7 +2,7 @@
moddatetime.c
What is this?
-It is a function to be called from a trigger for the perpose of updating
+It is a function to be called from a trigger for the purpose of updating
a modification datetime stamp in a record when that record is UPDATEd.
Credits
@@ -70,14 +70,14 @@ moddatetime(PG_FUNCTION_ARGS)
Int32GetDatum(-1));
/*
- * This gets the position in the turple of the field we want. args[0]
+ * This gets the position in the tuple of the field we want. args[0]
* being the name of the field to update, as passed in from the
* trigger.
*/
attnum = SPI_fnumber(tupdesc, args[0]);
/*
- * This is were we check to see if the feild we are suppost to update
+ * This is were we check to see if the field we are supposed to update
* even exits. The above function must return -1 if name not found?
*/
if (attnum < 0)